mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-27 00:34:20 +01:00
Allow for creating signalled fence cycles
This commit is contained in:
parent
542651232b
commit
a197dd2b28
@ -37,7 +37,8 @@ namespace skyline::gpu {
|
||||
}
|
||||
|
||||
public:
|
||||
FenceCycle(const vk::raii::Device &device, vk::Fence fence) : signalled{false}, device{device}, fence{fence} {
|
||||
FenceCycle(const vk::raii::Device &device, vk::Fence fence, bool signalled = false) : signalled{signalled}, device{device}, fence{fence} {
|
||||
if (!signalled)
|
||||
device.resetFences(fence);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user