Caio Oliveira
14 hours ago
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with
4 additions and
4 deletions
-
src/video_core/fence_manager.h
|
|
@ -91,10 +91,10 @@ public: |
|
|
uncommitted_operations.clear(); |
|
|
uncommitted_operations.clear(); |
|
|
} |
|
|
} |
|
|
QueueFence(new_fence); |
|
|
QueueFence(new_fence); |
|
|
if (!new_fence->IsStubbed()) { |
|
|
|
|
|
std::scoped_lock lock{texture_cache.mutex}; |
|
|
|
|
|
texture_cache.CommitPendingGpuAccesses(new_fence->WaitTick()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//if (!new_fence->IsStubbed()) { |
|
|
|
|
|
// std::scoped_lock lock{texture_cache.mutex}; |
|
|
|
|
|
// texture_cache.CommitPendingGpuAccesses(new_fence->WaitTick()); |
|
|
|
|
|
//} |
|
|
fences.push(std::move(new_fence)); |
|
|
fences.push(std::move(new_fence)); |
|
|
if (should_flush) { |
|
|
if (should_flush) { |
|
|
rasterizer.FlushCommands(); |
|
|
rasterizer.FlushCommands(); |
|
|
|