Struct ash::extensions_generated::amdx::shader_enqueue::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_AMDX_shader_enqueue device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn create_execution_graph_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[ExecutionGraphPipelineCreateInfoAMDX<'_>],
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
pub unsafe fn create_execution_graph_pipelines( &self, pipeline_cache: PipelineCache, create_infos: &[ExecutionGraphPipelineCreateInfoAMDX<'_>], allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
Pipelines are created and returned as described for Multiple Pipeline Creation.
sourcepub unsafe fn get_execution_graph_pipeline_scratch_size(
&self,
execution_graph: Pipeline,
size_info: &mut ExecutionGraphPipelineScratchSizeAMDX<'_>,
) -> VkResult<()>
pub unsafe fn get_execution_graph_pipeline_scratch_size( &self, execution_graph: Pipeline, size_info: &mut ExecutionGraphPipelineScratchSizeAMDX<'_>, ) -> VkResult<()>
sourcepub unsafe fn get_execution_graph_pipeline_node_index(
&self,
execution_graph: Pipeline,
node_info: &PipelineShaderStageNodeCreateInfoAMDX<'_>,
) -> VkResult<u32>
pub unsafe fn get_execution_graph_pipeline_node_index( &self, execution_graph: Pipeline, node_info: &PipelineShaderStageNodeCreateInfoAMDX<'_>, ) -> VkResult<u32>
sourcepub unsafe fn cmd_initialize_graph_scratch_memory(
&self,
command_buffer: CommandBuffer,
scratch: DeviceAddress,
)
pub unsafe fn cmd_initialize_graph_scratch_memory( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, )
sourcepub unsafe fn cmd_dispatch_graph(
&self,
command_buffer: CommandBuffer,
scratch: DeviceAddress,
count_info: &DispatchGraphCountInfoAMDX,
)
pub unsafe fn cmd_dispatch_graph( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, count_info: &DispatchGraphCountInfoAMDX, )
sourcepub unsafe fn cmd_dispatch_graph_indirect(
&self,
command_buffer: CommandBuffer,
scratch: DeviceAddress,
count_info: &DispatchGraphCountInfoAMDX,
)
pub unsafe fn cmd_dispatch_graph_indirect( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, count_info: &DispatchGraphCountInfoAMDX, )
sourcepub unsafe fn cmd_dispatch_graph_indirect_count(
&self,
command_buffer: CommandBuffer,
scratch: DeviceAddress,
count_info: DeviceAddress,
)
pub unsafe fn cmd_dispatch_graph_indirect_count( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, count_info: DeviceAddress, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more