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:
parent
70520e30aa
commit
03f00453ef
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user