39 :
public VKNodeInfo<VKNodeType::DISPATCH_INDIRECT,
40 VKDispatchIndirectCreateInfo,
41 VKDispatchIndirectData,
42 VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT | VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
43 VKResourceType::IMAGE | VKResourceType::BUFFER> {
52 template<
typename Node,
typename Storage>
68 links.
buffers.append({buffer_resource, VK_ACCESS_INDIRECT_COMMAND_READ_BIT});
81 storage_push_constants,
83 VK_PIPELINE_BIND_POINT_COMPUTE,
84 VK_SHADER_STAGE_COMPUTE_BIT);
NonCopyable(const NonCopyable &other)=delete
virtual void dispatch_indirect(VkBuffer buffer, VkDeviceSize offset)=0
void build_links(VKResourceStateTracker &resources, VKRenderGraphLinks &links, const CreateInfo &create_info) override
void build_commands(VKCommandBufferInterface &command_buffer, Data &data, Span< uint8_t > storage_push_constants, VKBoundPipelines &r_bound_pipelines) override
static void set_node_data(Node &node, Storage &, const CreateInfo &create_info)
VKDispatchIndirectCreateInfo CreateInfo
VKDispatchIndirectData Data
ResourceWithStamp get_buffer(ResourceHandle buffer_handle) const
void vk_pipeline_data_build_commands(VKCommandBufferInterface &command_buffer, const VKPipelineData &pipeline_data, Span< uint8_t > storage_push_constants, VKBoundPipeline &r_bound_pipeline, VkPipelineBindPoint vk_pipeline_bind_point, VkShaderStageFlags vk_shader_stage_flags)
BMesh const char void * data
VKDispatchIndirectCreateInfo(const VKResourceAccessInfo &resources)
VKDispatchIndirectData dispatch_indirect_node
const VKResourceAccessInfo & resources
VKPipelineData pipeline_data
VKResourceWithHandle< VkBuffer > buffer
Vector< VKRenderGraphBuffer > buffers
void build_links(VKResourceStateTracker &resources, VKRenderGraphLinks &links) const