vk · Structs · P24
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceShaderCorePropertiesAMD
pub struct PhysicalDeviceShaderCorePropertiesAMD<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_engine_count: u32,
pub shader_arrays_per_engine_count: u32,
pub compute_units_per_shader_array: u32,
pub simd_per_compute_unit: u32,
pub wavefronts_per_simd: u32,
pub wavefront_size: u32,
pub sgprs_per_simd: u32,
pub min_sgpr_allocation: u32,
pub max_sgpr_allocation: u32,
pub sgpr_allocation_granularity: u32,
pub vgprs_per_simd: u32,
pub min_vgpr_allocation: u32,
pub max_vgpr_allocation: u32,
pub vgpr_allocation_granularity: u32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceShaderCorePropertiesAMD.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_engine_count
shader_engine_count: u32Native field shaderEngineCount.
shader_arrays_per_engine_count
shader_arrays_per_engine_count: u32Native field shaderArraysPerEngineCount.
compute_units_per_shader_array
compute_units_per_shader_array: u32Native field computeUnitsPerShaderArray.
simd_per_compute_unit
simd_per_compute_unit: u32Native field simdPerComputeUnit.
wavefronts_per_simd
wavefronts_per_simd: u32Native field wavefrontsPerSimd.
wavefront_size
wavefront_size: u32Native field wavefrontSize.
sgprs_per_simd
sgprs_per_simd: u32Native field sgprsPerSimd.
min_sgpr_allocation
min_sgpr_allocation: u32Native field minSgprAllocation.
max_sgpr_allocation
max_sgpr_allocation: u32Native field maxSgprAllocation.
sgpr_allocation_granularity
sgpr_allocation_granularity: u32Native field sgprAllocationGranularity.
vgprs_per_simd
vgprs_per_simd: u32Native field vgprsPerSimd.
min_vgpr_allocation
min_vgpr_allocation: u32Native field minVgprAllocation.
max_vgpr_allocation
max_vgpr_allocation: u32Native field maxVgprAllocation.
vgpr_allocation_granularity
vgpr_allocation_granularity: u32Native field vgprAllocationGranularity.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_engine_count
Set native field shaderEngineCount without native effects.
set_shader_arrays_per_engine_count
Set native field shaderArraysPerEngineCount without native effects.
set_compute_units_per_shader_array
Set native field computeUnitsPerShaderArray without native effects.
set_simd_per_compute_unit
Set native field simdPerComputeUnit without native effects.
set_wavefronts_per_simd
Set native field wavefrontsPerSimd without native effects.
set_wavefront_size
Set native field wavefrontSize without native effects.
set_sgprs_per_simd
Set native field sgprsPerSimd without native effects.
set_min_sgpr_allocation
Set native field minSgprAllocation without native effects.
set_max_sgpr_allocation
Set native field maxSgprAllocation without native effects.
set_sgpr_allocation_granularity
Set native field sgprAllocationGranularity without native effects.
set_vgprs_per_simd
Set native field vgprsPerSimd without native effects.
set_min_vgpr_allocation
Set native field minVgprAllocation without native effects.
set_max_vgpr_allocation
Set native field maxVgprAllocation without native effects.
set_vgpr_allocation_granularity
Set native field vgprAllocationGranularity without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderCorePropertiesARM
Contract
Native structure VkPhysicalDeviceShaderCorePropertiesARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
pixel_rate
pixel_rate: u32Native field pixelRate.
texel_rate
texel_rate: u32Native field texelRate.
fma_rate
fma_rate: u32Native field fmaRate.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pixel_rate
Set native field pixelRate without native effects.
set_texel_rate
Set native field texelRate without native effects.
set_fma_rate
Set native field fmaRate without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderDemoteToHelperInvocationFeatures
Contract
Native structure VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures.
Khronos reference: VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_demote_to_helper_invocation
shader_demote_to_helper_invocation: Bool32Native field shaderDemoteToHelperInvocation.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_demote_to_helper_invocation
Set native field shaderDemoteToHelperInvocation without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderDrawParametersFeatures
Contract
Native structure VkPhysicalDeviceShaderDrawParametersFeatures.
Khronos reference: VkPhysicalDeviceShaderDrawParametersFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_draw_parameters
shader_draw_parameters: Bool32Native field shaderDrawParameters.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_draw_parameters
Set native field shaderDrawParameters without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD
Contract
Native structure VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD.
Khronos reference: VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_early_and_late_fragment_tests
shader_early_and_late_fragment_tests: Bool32Native field shaderEarlyAndLateFragmentTests.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_early_and_late_fragment_tests
Set native field shaderEarlyAndLateFragmentTests without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderEnqueueFeaturesAMDX
Contract
Native structure VkPhysicalDeviceShaderEnqueueFeaturesAMDX.
Khronos reference: VkPhysicalDeviceShaderEnqueueFeaturesAMDX
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_enqueue
shader_enqueue: Bool32Native field shaderEnqueue.
shader_mesh_enqueue
shader_mesh_enqueue: Bool32Native field shaderMeshEnqueue.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_enqueue
Set native field shaderEnqueue without native effects.
set_shader_mesh_enqueue
Set native field shaderMeshEnqueue without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderEnqueuePropertiesAMDX
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 */
}Contract
Native structure VkPhysicalDeviceShaderEnqueuePropertiesAMDX.
Khronos reference: VkPhysicalDeviceShaderEnqueuePropertiesAMDX
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_execution_graph_depth
max_execution_graph_depth: u32Native field maxExecutionGraphDepth.
max_execution_graph_shader_output_nodes
max_execution_graph_shader_output_nodes: u32Native field maxExecutionGraphShaderOutputNodes.
max_execution_graph_shader_payload_size
max_execution_graph_shader_payload_size: u32Native field maxExecutionGraphShaderPayloadSize.
max_execution_graph_shader_payload_count
max_execution_graph_shader_payload_count: u32Native field maxExecutionGraphShaderPayloadCount.
execution_graph_dispatch_address_alignment
execution_graph_dispatch_address_alignment: u32Native field executionGraphDispatchAddressAlignment.
max_execution_graph_workgroup_count
max_execution_graph_workgroup_count: [u32; 3]Native field maxExecutionGraphWorkgroupCount.
max_execution_graph_workgroups
max_execution_graph_workgroups: u32Native field maxExecutionGraphWorkgroups.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_execution_graph_depth
Set native field maxExecutionGraphDepth without native effects.
set_max_execution_graph_shader_output_nodes
Set native field maxExecutionGraphShaderOutputNodes without native effects.
set_max_execution_graph_shader_payload_size
Set native field maxExecutionGraphShaderPayloadSize without native effects.
set_max_execution_graph_shader_payload_count
Set native field maxExecutionGraphShaderPayloadCount without native effects.
set_execution_graph_dispatch_address_alignment
Set native field executionGraphDispatchAddressAlignment without native effects.
set_max_execution_graph_workgroup_count
Set native field maxExecutionGraphWorkgroupCount without native effects.
set_max_execution_graph_workgroups
Set native field maxExecutionGraphWorkgroups without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderExpectAssumeFeatures
Contract
Native structure VkPhysicalDeviceShaderExpectAssumeFeatures.
Khronos reference: VkPhysicalDeviceShaderExpectAssumeFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_expect_assume
shader_expect_assume: Bool32Native field shaderExpectAssume.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_expect_assume
Set native field shaderExpectAssume without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderFloat16Int8Features
Contract
Native structure VkPhysicalDeviceShaderFloat16Int8Features.
Khronos reference: VkPhysicalDeviceShaderFloat16Int8Features
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_float16
shader_float16: Bool32Native field shaderFloat16.
shader_int8
shader_int8: Bool32Native field shaderInt8.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_float16
Set native field shaderFloat16 without native effects.
set_shader_int8
Set native field shaderInt8 without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderFloat8FeaturesEXT
Contract
Native structure VkPhysicalDeviceShaderFloat8FeaturesEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_float8
shader_float8: Bool32Native field shaderFloat8.
shader_float8_cooperative_matrix
shader_float8_cooperative_matrix: Bool32Native field shaderFloat8CooperativeMatrix.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_float8
Set native field shaderFloat8 without native effects.
set_shader_float8_cooperative_matrix
Set native field shaderFloat8CooperativeMatrix without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderFloatControls2Features
Contract
Native structure VkPhysicalDeviceShaderFloatControls2Features.
Khronos reference: VkPhysicalDeviceShaderFloatControls2Features
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_float_controls2
shader_float_controls2: Bool32Native field shaderFloatControls2.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_float_controls2
Set native field shaderFloatControls2 without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderFmaFeaturesKHR
Contract
Native structure VkPhysicalDeviceShaderFmaFeaturesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_fma_float16
shader_fma_float16: Bool32Native field shaderFmaFloat16.
shader_fma_float32
shader_fma_float32: Bool32Native field shaderFmaFloat32.
shader_fma_float64
shader_fma_float64: Bool32Native field shaderFmaFloat64.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_fma_float16
Set native field shaderFmaFloat16 without native effects.
set_shader_fma_float32
Set native field shaderFmaFloat32 without native effects.
set_shader_fma_float64
Set native field shaderFmaFloat64 without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderImageAtomicInt64FeaturesEXT
Contract
Native structure VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.
Khronos reference: VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_image_int64_atomics
shader_image_int64_atomics: Bool32Native field shaderImageInt64Atomics.
sparse_image_int64_atomics
sparse_image_int64_atomics: Bool32Native field sparseImageInt64Atomics.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_image_int64_atomics
Set native field shaderImageInt64Atomics without native effects.
set_sparse_image_int64_atomics
Set native field sparseImageInt64Atomics without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderImageFootprintFeaturesNV
Contract
Native structure VkPhysicalDeviceShaderImageFootprintFeaturesNV.
Khronos reference: VkPhysicalDeviceShaderImageFootprintFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
image_footprint
image_footprint: Bool32Native field imageFootprint.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image_footprint
Set native field imageFootprint without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderInstrumentationFeaturesARM
Contract
Native structure VkPhysicalDeviceShaderInstrumentationFeaturesARM.
Khronos reference: VkPhysicalDeviceShaderInstrumentationFeaturesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_instrumentation
shader_instrumentation: Bool32Native field shaderInstrumentation.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_instrumentation
Set native field shaderInstrumentation without native effects.
push_next
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.
default
Stvk::PhysicalDeviceShaderInstrumentationPropertiesARM
Contract
Native structure VkPhysicalDeviceShaderInstrumentationPropertiesARM.
Khronos reference: VkPhysicalDeviceShaderInstrumentationPropertiesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
num_metrics
num_metrics: u32Native field numMetrics.
per_basic_block_granularity
per_basic_block_granularity: Bool32Native field perBasicBlockGranularity.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_num_metrics
Set native field numMetrics without native effects.
set_per_basic_block_granularity
Set native field perBasicBlockGranularity without native effects.
push_next
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.