1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 19:24:11 +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

@ -211,6 +211,19 @@ namespace dxvk {
m_vkd->vkUpdateDescriptorSetWithTemplateKHR(m_vkd->device(), m_vkd->vkUpdateDescriptorSetWithTemplateKHR(m_vkd->device(),
descriptorSet, descriptorTemplate, data); descriptorSet, descriptorTemplate, data);
} }
void cmdBeginConditionalRendering(
const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin) {
m_vkd->vkCmdBeginConditionalRenderingEXT(
m_execBuffer, pConditionalRenderingBegin);
}
void cmdEndConditionalRendering() {
m_vkd->vkCmdEndConditionalRenderingEXT(m_execBuffer);
}
void cmdBeginQuery( void cmdBeginQuery(
@ -397,6 +410,20 @@ namespace dxvk {
srcImage, srcImageLayout, dstBuffer, srcImage, srcImageLayout, dstBuffer,
regionCount, pRegions); regionCount, pRegions);
} }
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( void cmdDispatch(