mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Vulkan: Simplify command buffer fence tracking
This commit is contained in:
parent
f3fadd7302
commit
427dd45151
11 changed files with 138 additions and 208 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue