Sets compute shader limits including active shader units, wave and thread group properties, and the SIMD-walking algorithm to be used.
public:
void SetComputeShaderLimitsX(
const D3D12XBOX_COMPUTE_SHADER_LIMITS_DESC *pShaderLimits
)
pShaderLimits
Type: D3D12XBOX_COMPUTE_SHADER_LIMITS_DESC *
[in, optional] A pointer to a D3D12XBOX_COMPUTE_SHADER_LIMITS_DESC structure that describes the limits of the compute shader.
SetComputeShaderLimitsX is used to override the shader limits established by the currently set PSO. The overridden limits will persist until the PSO is reset or a new PSO is set, including any PSO referenced by ExecuteIndirect.
SetComputeShaderLimitsX can’t be recorded into a command bundle.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.