dcl_immediateConstantBuffer (sm4 - asm)
Declares a shader immediate-constant buffer.
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|
This instruction is included to aid in debugging a shader in assembly; you cannot author a shader in assembly language using Shader Model 4.
This function is supported in the following shader models.
|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|