Describes limits for a compute shader.
typedef struct D3D12XBOX_COMPUTE_SHADER_LIMITS_DESC {
D3D12XBOX_SHADER_UNIT_DISABLE_FLAGS DisableFlags;
UINT MaxWaves;
UINT MaxThreadgroupsPerCu;
UINT MaxWavesForCuLocking;
UINT NumThreadgroupsWalkedPerCu;
D3D12XBOX_SHADER_CS_SIMD_WALK_ALGORITHM SimdWalkAlgorithm;
} D3D12XBOX_COMPUTE_SHADER_LIMITS_DESC;
DisableFlags
A bit-field that specifies the compute units to disable.
MaxWaves
The maximum number of waves.
MaxThreadgroupsPerCu
The maximum number of thread groups per compute unit.
MaxWavesForCuLocking
The maximum number of waves for compute unit locking.
NumThreadgroupsWalkedPerCu
The number of thread groups walked per compute unit.
SimdWalkAlgorithm
The algorithm that the Single Instruction Multiple Data (SIMD) processes are to use for each Compute Unit (CU).
Use the inline helper function D3D12XboxInitializeDefaultComputeShaderLimits to initialize a D3D12XBOX_COMPUTE_SHADER_LIMITS_DESC structure with defaults.
Header: Declared in d3d12_x.h.