mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 13:24:20 +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(),
|
||||
descriptorSet, descriptorTemplate, data);
|
||||
}
|
||||
|
||||
|
||||
void cmdBeginConditionalRendering(
|
||||
const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin) {
|
||||
m_vkd->vkCmdBeginConditionalRenderingEXT(
|
||||
m_execBuffer, pConditionalRenderingBegin);
|
||||
}
|
||||
|
||||
|
||||
void cmdEndConditionalRendering() {
|
||||
m_vkd->vkCmdEndConditionalRenderingEXT(m_execBuffer);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void cmdBeginQuery(
|
||||
@ -397,6 +410,20 @@ namespace dxvk {
|
||||
srcImage, srcImageLayout, dstBuffer,
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user