Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Declares a shader immediate-constant buffer.
| dcl_immediateConstantBuffer value(s) |
|---|
-
value(s)
-
[in] The buffer must contain at least one value, but not more than 4096 values.
Remarks
A shader is allowed one immediate-constant buffer. An immediate-constant buffer is accessed just like a constant buffer with dynamic indexing.
This instruction applies to the following shader stages:
| Vertex Shader | Geometry Shader | Pixel Shader |
|---|---|---|
| x | x | x |
This instruction is included to aid in debugging a shader in assembly; you cannot author a shader in assembly language using Shader Model 4.
Minimum Shader Model
This function is supported in the following shader models.
| Shader Model | Supported |
|---|---|
| Shader Model 5 | yes |
| Shader Model 4.1 | yes |
| Shader Model 4 | yes |
| Shader Model 3 (DirectX HLSL) | no |
| Shader Model 2 (DirectX HLSL) | no |
| Shader Model 1 (DirectX HLSL) | no |
Related topics