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