Export (0) Print
Expand All
Expand Minimize

dcl_thread_group (sm5 - asm)

Declare thread group size.

dcl_thread_group x, y, z

 

ItemDescription

x

[in] An usigned 32-bit integer. 1 <= x <= 1024

y

[in] An usigned 32-bit integer. 1 <= y <= 1024

z

[in] An usigned 32-bit integer. 1 <= z <= 64

 

Remarks

x*y*z <= 1024

This thread group declaration must appear once in a compute shader.

This instruction applies to the following shader stages:

VertexHullDomainGeometryPixelCompute
X

 

Minimum Shader Model

This instruction is supported in the following shader models:

Shader ModelSupported
Shader Model 5 yes
Shader Model 4.1 no
Shader Model 4 no
Shader Model 3 (DirectX HLSL) no
Shader Model 2 (DirectX HLSL) no
Shader Model 1 (DirectX HLSL) no

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft