1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-04 07:24:15 +01:00

[dxvk] Add command list functions for conditional rendering

This commit is contained in:
Philip Rebohle 2019-03-24 01:36:03 +01:00
parent 70520e30aa
commit 03f00453ef
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -213,6 +213,19 @@ namespace dxvk {
}
void cmdBeginConditionalRendering(
const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin) {
m_vkd->vkCmdBeginConditionalRenderingEXT(
m_execBuffer, pConditionalRenderingBegin);
}
void cmdEndConditionalRendering() {
m_vkd->vkCmdEndConditionalRenderingEXT(m_execBuffer);
}
void cmdBeginQuery(
VkQueryPool queryPool,
uint32_t query,
@ -399,6 +412,20 @@ namespace dxvk {
}
void cmdCopyQueryPoolResults(
VkQueryPool queryPool,
uint32_t firstQuery,
uint32_t queryCount,
VkBuffer dstBuffer,
VkDeviceSize dstOffset,
VkDeviceSize stride,
VkQueryResultFlags flags) {
m_vkd->vkCmdCopyQueryPoolResults(m_execBuffer,
queryPool, firstQuery, queryCount,
dstBuffer, dstOffset, stride, flags);
}
void cmdDispatch(
uint32_t x,
uint32_t y,