Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD :: VkStructureType
- pattern VK_AMD_SHADER_CORE_PROPERTIES_SPEC_VERSION :: Integral a => a
- pattern VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME :: (Eq a, IsString a) => a
- data VkPhysicalDeviceShaderCorePropertiesAMD = VkPhysicalDeviceShaderCorePropertiesAMD {
- vkSType :: VkStructureType
- vkPNext :: Ptr ()
- vkShaderEngineCount :: Word32
- vkShaderArraysPerEngineCount :: Word32
- vkComputeUnitsPerShaderArray :: Word32
- vkSimdPerComputeUnit :: Word32
- vkWavefrontsPerSimd :: Word32
- vkWavefrontSize :: Word32
- vkSgprsPerSimd :: Word32
- vkMinSgprAllocation :: Word32
- vkMaxSgprAllocation :: Word32
- vkSgprAllocationGranularity :: Word32
- vkVgprsPerSimd :: Word32
- vkMinVgprAllocation :: Word32
- vkMaxVgprAllocation :: Word32
- vkVgprAllocationGranularity :: Word32
Documentation
pattern VK_AMD_SHADER_CORE_PROPERTIES_SPEC_VERSION :: Integral a => a Source #
pattern VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
data VkPhysicalDeviceShaderCorePropertiesAMD Source #
VkPhysicalDeviceShaderCorePropertiesAMD - Structure describing shader core properties that can be supported by an implementation
Members
The members of the VkPhysicalDeviceShaderCorePropertiesAMD
structure
describe the following implementation-dependent limits:
Description
shaderEngineCount
is an unsigned integer value indicating the number of shader engines found inside the shader core of the physical device.
shaderArraysPerEngineCount
is an unsigned integer value indicating the number of shader arrays inside a shader engine. Each shader array has its own scan converter, set of compute units, and a render back end (color and depth buffers). Shader arrays within a shader engine share shader processor input (wave launcher) and shader export (export buffer) units. Currently, a shader engine can have one or two shader arrays.computeUnitsPerShaderArray
is an unsigned integer value indicating the number of compute units within a shader array. A compute unit houses a set of SIMDs along with a sequencer module and a local data store.simdPerComputeUnit
is an unsigned integer value indicating the number of SIMDs inside a compute unit. Each SIMD processes a single instruction at a time.wavefrontSize
is an unsigned integer value indicating the number of channels (or threads) in a wavefront.sgprsPerSimd
is an unsigned integer value indicating the number of physical Scalar General Purpose Registers (SGPRs) per SIMD.minSgprAllocation
is an unsigned integer value indicating the minimum number of SGPRs allocated for a wave.maxSgprAllocation
is an unsigned integer value indicating the maximum number of SGPRs allocated for a wave.sgprAllocationGranularity
is an unsigned integer value indicating the granularity of SGPR allocation for a wave.vgprsPerSimd
is an unsigned integer value indicating the number of physical Vector General Purpose Registers (VGPRs) per SIMD.minVgprAllocation
is an unsigned integer value indicating the minimum number of VGPRs allocated for a wave.maxVgprAllocation
is an unsigned integer value indicating the maximum number of VGPRs allocated for a wave.vgprAllocationGranularity
is an unsigned integer value indicating the granularity of VGPR allocation for a wave.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD
If the VkPhysicalDeviceShaderCorePropertiesAMD
structure is included
in the pNext
chain of
VkPhysicalDeviceProperties2
,
it is filled with the implementation-dependent limits.