gpu_thread: Move to bounded queue

This commit is contained in:
Levi Behunin committed 2022-06-02 19:37:46 -06:00
1 parent c4d0f9d4df
commit 9d5dc3c9b9
3 files changed
+185 -4

No files matched your search

+2 -1
View File
@@ -31,7 +31,8 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
VideoCore::RasterizerInterface* const rasterizer = renderer.ReadRasterizer();
while (!stop_token.stop_requested()) {
CommandDataContainer next = state.queue.PopWait(stop_token);
CommandDataContainer next;
state.queue.Pop(next, stop_token);
if (stop_token.stop_requested()) {
break;
}