ID3D12GraphicsCommandList::SetComputeShaderLimitsX Method

Sets compute shader limits including active shader units, wave and thread group properties, and the SIMD-walking algorithm to be used.

Syntax

public:
void SetComputeShaderLimitsX(
         const D3D12XBOX_COMPUTE_SHADER_LIMITS_DESC *pShaderLimits
)  

Parameters

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.

Return value

None.

Remarks

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.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12GraphicsCommandList Interface

ID3D12GraphicsCommandList Members