GS/DX11: Don't spin on CPU when GPU results aren't available

Backport of 547587af11
This commit is contained in:
Stenzek 2024-05-26 12:35:23 +10:00 committed by Connor McLaughlin
parent 9187e7eb34
commit 5dc1167fa8
1 changed files with 4 additions and 0 deletions

View File

@ -1051,6 +1051,10 @@ void GSDevice11::PopTimestampQuery()
m_read_timestamp_query = (m_read_timestamp_query + 1) % NUM_TIMESTAMP_QUERIES;
m_waiting_timestamp_queries--;
}
else
{
break;
}
}
}