mirror of
https://github.com/simple64/simple64.git
synced 2026-11-13 12:18:42 +01:00
update parallel rdp
This commit is contained in:
1 parent
06a962d607
commit
08a78f6073
46 files changed
+1896
-631
No files matched your search
@@ -36,7 +36,7 @@ FenceHolder::~FenceHolder()
|
||||
}
|
||||
}
|
||||
|
||||
VkFence FenceHolder::get_fence() const
|
||||
const VkFence &FenceHolder::get_fence() const
|
||||
{
|
||||
return fence;
|
||||
}
|
||||
@@ -45,11 +45,10 @@ void FenceHolder::wait()
|
||||
{
|
||||
auto &table = device->get_device_table();
|
||||
|
||||
#ifdef GRANITE_VULKAN_MT
|
||||
// Waiting for the same VkFence in parallel is not allowed, and there seems to be some shenanigans on Intel
|
||||
// when waiting for a timeline semaphore in parallel with same value as well.
|
||||
std::lock_guard<std::mutex> holder{lock};
|
||||
#endif
|
||||
|
||||
if (observed_wait)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user