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

Backport of https://github.com/stenzek/duckstation/commit/547587af111506376f3ab2ea0d4805d481bd0880
This commit is contained in:
Stenzek
2024-05-27 21:10:59 +10:00
committed by Connor McLaughlin
parent 9187e7eb34
commit 5dc1167fa8
+4
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;
}
}
}