pub trait AmdxShaderEnqueueExtension: DeviceV1_0 {
    const METADATA: Extension = AMDX_SHADER_ENQUEUE_EXTENSION;

    // Provided methods
    unsafe fn cmd_dispatch_graph_amdx(
        &self,
        command_buffer: CommandBuffer,
        scratch: DeviceAddress,
        count_info: &DispatchGraphCountInfoAMDX
    ) { ... }
    unsafe fn cmd_dispatch_graph_indirect_amdx(
        &self,
        command_buffer: CommandBuffer,
        scratch: DeviceAddress,
        count_info: &DispatchGraphCountInfoAMDX
    ) { ... }
    unsafe fn cmd_dispatch_graph_indirect_count_amdx(
        &self,
        command_buffer: CommandBuffer,
        scratch: DeviceAddress,
        count_info: DeviceAddress
    ) { ... }
    unsafe fn cmd_initialize_graph_scratch_memory_amdx(
        &self,
        command_buffer: CommandBuffer,
        scratch: DeviceAddress
    ) { ... }
    unsafe fn create_execution_graph_pipelines_amdx(
        &self,
        pipeline_cache: PipelineCache,
        create_infos: &[impl Cast<Target = ExecutionGraphPipelineCreateInfoAMDX>],
        allocator: Option<&AllocationCallbacks>
    ) -> VkSuccessResult<Vec<Pipeline>> { ... }
    unsafe fn get_execution_graph_pipeline_node_index_amdx(
        &self,
        execution_graph: Pipeline,
        node_info: &PipelineShaderStageNodeCreateInfoAMDX
    ) -> VkResult<u32> { ... }
    unsafe fn get_execution_graph_pipeline_scratch_size_amdx(
        &self,
        execution_graph: Pipeline,
        size_info: &mut ExecutionGraphPipelineScratchSizeAMDX
    ) -> VkResult<()> { ... }
}
Expand description

https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_AMDX_shader_enqueue.html

§WARNING

This is a provisional extension. Provisional extensions are not guaranteed to be backwards compatible and are not intended to be used in production applications.

Provided Associated Constants§

source

const METADATA: Extension = AMDX_SHADER_ENQUEUE_EXTENSION

The metadata for this extension.

Provided Methods§

source

unsafe fn cmd_dispatch_graph_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, count_info: &DispatchGraphCountInfoAMDX )

source

unsafe fn cmd_dispatch_graph_indirect_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, count_info: &DispatchGraphCountInfoAMDX )

source

unsafe fn cmd_dispatch_graph_indirect_count_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, count_info: DeviceAddress )

source

unsafe fn cmd_initialize_graph_scratch_memory_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress )

source

unsafe fn create_execution_graph_pipelines_amdx( &self, pipeline_cache: PipelineCache, create_infos: &[impl Cast<Target = ExecutionGraphPipelineCreateInfoAMDX>], allocator: Option<&AllocationCallbacks> ) -> VkSuccessResult<Vec<Pipeline>>

source

unsafe fn get_execution_graph_pipeline_node_index_amdx( &self, execution_graph: Pipeline, node_info: &PipelineShaderStageNodeCreateInfoAMDX ) -> VkResult<u32>

source

unsafe fn get_execution_graph_pipeline_scratch_size_amdx( &self, execution_graph: Pipeline, size_info: &mut ExecutionGraphPipelineScratchSizeAMDX ) -> VkResult<()>

Object Safety§

This trait is not object safe.

Implementors§