dcl_thread_group (sm5 - asm)
Declare thread group size.
| dcl_thread_group x, y, z |
|---|
| Item | Description |
|---|---|
|
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:
| Vertex | Hull | Domain | Geometry | Pixel | Compute |
|---|---|---|---|---|---|
| X |
Minimum Shader Model
This instruction is supported in the following shader models:
| Shader Model | Supported |
|---|---|
| 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 |
Send comments about this topic to Microsoft
Build date: 3/5/2013