Export (0) Print
Expand All
Expand Minimize

dcl_uav_raw (sm5 - asm)

Declare an unordered access view (UAV) for use by a shader.

dcl_uav_raw[_glc] dstUAV

 

ItemDescription

dstUAV

[in] The UAV.

 

Remarks

dstUAV is a u# register declared as a reference to an UnorderedAccessView of a Buffer, where the buffer appears as a simple 1D array of 32-bit untyped entries.

Operations performed on the memory may implicitly interpret the data as having a type.

The _glc flag means "globally coherent". The absence of _glc means the UAV is being declared only as "group coherent" in the compute shader, or "locally coherent" in a single pixel shader invocation.

This instruction applies to the following shader stages:

VertexHullDomainGeometryPixelCompute
XX

 

Because UAVs are available at all shader stages for Direct3D 11.1, this instruction applies to all shader stages for the Direct3D 11.1 runtime, which is available starting with Windows 8.

VertexHullDomainGeometryPixelCompute
XX XXXX

 

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

 

Note  This instruction is supported in cs_4_0 and cs_4_1.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft