mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Vulkan: Simplify command buffer fence tracking
This commit is contained in:
@ -36,8 +36,8 @@ public:
|
||||
private:
|
||||
struct ActiveQuery
|
||||
{
|
||||
u64 fence_counter;
|
||||
PerfQueryType query_type;
|
||||
VkFence pending_fence;
|
||||
bool available;
|
||||
bool active;
|
||||
};
|
||||
@ -45,11 +45,9 @@ private:
|
||||
bool CreateQueryPool();
|
||||
bool CreateReadbackBuffer();
|
||||
void QueueCopyQueryResults(u32 start_index, u32 query_count);
|
||||
void ProcessPendingResults();
|
||||
void ProcessResults(u32 start_index, u32 query_count);
|
||||
|
||||
void OnCommandBufferQueued(VkCommandBuffer command_buffer, VkFence fence);
|
||||
void OnFenceSignaled(VkFence fence);
|
||||
|
||||
void NonBlockingPartialFlush();
|
||||
void BlockingPartialFlush();
|
||||
|
||||
|
Reference in New Issue
Block a user