Preprocess with Indirect Command Buffer.
Instance a VkGeneratedCommandsInfoNV.
Call vkCmdPreprocessGeneratedCommandsNV.
Instance a VkGeneratedCommandsInfoNV.
Call vkCmdPreprocessGeneratedCommandsNV.
129 {
131
133
137 VkGeneratedCommandsInfoNV info{};
138 info.sType = VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV;
140 info.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS;
147
152 }
#define SPICES_PROFILE_ZONE
uint32_t m_PreprocessSize
PreprocessBuffer bytes.
std::vector< VkIndirectCommandsStreamNV > m_InputStreams
VkIndirectCommandsStreamNV.
std::shared_ptr< VulkanPipeline > m_Pipeline
DGC pipeline.
std::shared_ptr< VulkanBuffer > m_PreprocessBuffer
PreprocessBuffer.
std::shared_ptr< VulkanIndirectCommandsLayoutNV > m_IndirectCmdsLayout
VkIndirectCommandsLayoutNV.
uint32_t m_NSequence
Draw count.
VulkanState & m_VulkanState
The global VulkanState Referenced from VulkanRenderBackend.