Rewriting hw vertex fetch

This commit is contained in:
wheremyfoodat 2024-09-04 03:18:39 +03:00
parent 15b6a9e2d9
commit 4a39b06262
5 changed files with 107 additions and 95 deletions

View file

@ -149,7 +149,7 @@ namespace {
const u32 end = std::min<u32>(GetSyncIndexForOffset(offset) + 1, NUM_SYNC_POINTS);
for (; m_available_block_index < end; m_available_block_index++) {
if (!m_sync_objects[m_used_block_index]) [[unlikely]] {
Helpers::warn("GL stream buffer: Fence slot we're trying to wait on in not in use");
Helpers::warn("GL stream buffer: Fence slot we're trying to wait on is not in use");
}
WaitForSync(m_sync_objects[m_available_block_index]);