mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-27 02:07:10 +02:00
Revert "another change"
This commit is contained in:
parent
18225180a2
commit
b5dc68ec39
1 changed files with 9 additions and 11 deletions
|
|
@ -155,17 +155,15 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
ReserveHostQuery();
|
ReserveHostQuery();
|
||||||
|
|
||||||
{
|
scheduler.RequestOutsideRenderPassOperationContext();
|
||||||
const VkQueryPool qp = current_query_pool;
|
scheduler.Record([query_pool = current_query_pool,
|
||||||
const u32 qi = static_cast<u32>(current_bank_slot);
|
query_index = current_bank_slot](vk::CommandBuffer cmdbuf) {
|
||||||
device.GetLogical().ResetQueryPool(qp, qi, 1);
|
const bool use_precise = Settings::IsGPULevelHigh();
|
||||||
scheduler.Record([query_pool = qp, query_index = qi](vk::CommandBuffer cmdbuf) {
|
cmdbuf.ResetQueryPool(query_pool, static_cast<u32>(query_index), 1);
|
||||||
const bool use_precise = Settings::IsGPULevelHigh();
|
cmdbuf.BeginQuery(query_pool, static_cast<u32>(query_index),
|
||||||
cmdbuf.BeginQuery(query_pool, static_cast<u32>(query_index),
|
use_precise ? VK_QUERY_CONTROL_PRECISE_BIT : 0);
|
||||||
use_precise ? VK_QUERY_CONTROL_PRECISE_BIT : 0);
|
});
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
has_started = true;
|
has_started = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue