pub struct PhysicalDeviceShaderEnqueuePropertiesAMDX<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_execution_graph_depth: u32,
pub max_execution_graph_shader_output_nodes: u32,
pub max_execution_graph_shader_payload_size: u32,
pub max_execution_graph_shader_payload_count: u32,
pub execution_graph_dispatch_address_alignment: u32,
pub max_execution_graph_workgroup_count: [u32; 3],
pub max_execution_graph_workgroups: u32,
/* private fields */
}Expand description
Native structure VkPhysicalDeviceShaderEnqueuePropertiesAMDX.
Khronos reference: VkPhysicalDeviceShaderEnqueuePropertiesAMDX
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
max_execution_graph_depth: u32Native field maxExecutionGraphDepth.
max_execution_graph_shader_output_nodes: u32Native field maxExecutionGraphShaderOutputNodes.
max_execution_graph_shader_payload_size: u32Native field maxExecutionGraphShaderPayloadSize.
max_execution_graph_shader_payload_count: u32Native field maxExecutionGraphShaderPayloadCount.
execution_graph_dispatch_address_alignment: u32Native field executionGraphDispatchAddressAlignment.
max_execution_graph_workgroup_count: [u32; 3]Native field maxExecutionGraphWorkgroupCount.
max_execution_graph_workgroups: u32Native field maxExecutionGraphWorkgroups.
Implementations§
Source§impl<'a> PhysicalDeviceShaderEnqueuePropertiesAMDX<'a>
impl<'a> PhysicalDeviceShaderEnqueuePropertiesAMDX<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_max_execution_graph_depth(self, value: u32) -> Self
pub fn set_max_execution_graph_depth(self, value: u32) -> Self
Set native field maxExecutionGraphDepth without native effects.
Sourcepub fn set_max_execution_graph_shader_output_nodes(self, value: u32) -> Self
pub fn set_max_execution_graph_shader_output_nodes(self, value: u32) -> Self
Set native field maxExecutionGraphShaderOutputNodes without native effects.
Sourcepub fn set_max_execution_graph_shader_payload_size(self, value: u32) -> Self
pub fn set_max_execution_graph_shader_payload_size(self, value: u32) -> Self
Set native field maxExecutionGraphShaderPayloadSize without native effects.
Sourcepub fn set_max_execution_graph_shader_payload_count(self, value: u32) -> Self
pub fn set_max_execution_graph_shader_payload_count(self, value: u32) -> Self
Set native field maxExecutionGraphShaderPayloadCount without native effects.
Sourcepub fn set_execution_graph_dispatch_address_alignment(self, value: u32) -> Self
pub fn set_execution_graph_dispatch_address_alignment(self, value: u32) -> Self
Set native field executionGraphDispatchAddressAlignment without native effects.
Sourcepub fn set_max_execution_graph_workgroup_count(self, value: [u32; 3]) -> Self
pub fn set_max_execution_graph_workgroup_count(self, value: [u32; 3]) -> Self
Set native field maxExecutionGraphWorkgroupCount without native effects.
Sourcepub fn set_max_execution_graph_workgroups(self, value: u32) -> Self
pub fn set_max_execution_graph_workgroups(self, value: u32) -> Self
Set native field maxExecutionGraphWorkgroups without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
§Errors
Returns a construction error for a changed structure tag or already-linked node.
Trait Implementations§
Source§impl<'a> Default for PhysicalDeviceShaderEnqueuePropertiesAMDX<'a>
Available on crate feature provisional only.
impl<'a> Default for PhysicalDeviceShaderEnqueuePropertiesAMDX<'a>
provisional only.impl<'a, 'root> Extends<PhysicalDeviceProperties2<'root>> for PhysicalDeviceShaderEnqueuePropertiesAMDX<'a>
provisional only.