AmdxShaderEnqueueExtensionDeviceCommands

Trait AmdxShaderEnqueueExtensionDeviceCommands 

Source
pub trait AmdxShaderEnqueueExtensionDeviceCommands: DeviceV1_0 {
    // Provided methods
    unsafe fn cmd_dispatch_graph_amdx(
        &self,
        command_buffer: CommandBuffer,
        scratch: DeviceAddress,
        scratch_size: DeviceSize,
        count_info: &DispatchGraphCountInfoAMDX,
    ) { ... }
    unsafe fn cmd_dispatch_graph_indirect_amdx(
        &self,
        command_buffer: CommandBuffer,
        scratch: DeviceAddress,
        scratch_size: DeviceSize,
        count_info: &DispatchGraphCountInfoAMDX,
    ) { ... }
    unsafe fn cmd_dispatch_graph_indirect_count_amdx(
        &self,
        command_buffer: CommandBuffer,
        scratch: DeviceAddress,
        scratch_size: DeviceSize,
        count_info: DeviceAddress,
    ) { ... }
    unsafe fn cmd_initialize_graph_scratch_memory_amdx(
        &self,
        command_buffer: CommandBuffer,
        execution_graph: Pipeline,
        scratch: DeviceAddress,
        scratch_size: DeviceSize,
    ) { ... }
    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

The device-level commands added by AMDX_SHADER_ENQUEUE_EXTENSION.

Provided Methods§

Source

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

Source

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

Source

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

Source

unsafe fn cmd_initialize_graph_scratch_memory_amdx( &self, command_buffer: CommandBuffer, execution_graph: Pipeline, scratch: DeviceAddress, scratch_size: DeviceSize, )

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<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<C: DeviceV1_0 + ?Sized> AmdxShaderEnqueueExtensionDeviceCommands for C

Available on crate feature provisional only.