mirror of https://github.com/RPCS3/rpcs3.git
Random optimization
This commit is contained in:
parent
8cd7a44a25
commit
7e8c93bea2
|
@ -389,7 +389,7 @@ namespace rsx
|
||||||
// Quick reverse scan to push commands ahead of time
|
// Quick reverse scan to push commands ahead of time
|
||||||
for (auto It = m_pending_writes.rbegin(); It != m_pending_writes.rend(); ++It)
|
for (auto It = m_pending_writes.rbegin(); It != m_pending_writes.rend(); ++It)
|
||||||
{
|
{
|
||||||
if (It->query && It->query->num_draws)
|
if (It->sink && It->query && It->query->num_draws)
|
||||||
{
|
{
|
||||||
if (It->query->sync_tag > m_sync_tag)
|
if (It->query->sync_tag > m_sync_tag)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue