내보내기(0) 인쇄
모두 확장
EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.
이 항목은 아직 평가되지 않았습니다.- 이 항목 평가

dcl_uav_typed (sm5 - asm)

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

dcl_uav_typed[_glc] dstUAV, dimension, type

 

ItemDescription

dstUAV

[in] The UAV.

dimension

[in] Specifies how many dimensions the instructions accessing the UAV are providing.

type

[in] The type of the UAV.

 

Remarks

dstUAV is a u# register being declared as a reference to an UnorderedAccessView that must be bound to UAV slot # at the API.

The dimension must be buffer, Texture1D, Texture1DArray, Texture2D, Texture2DArray, or Texture3D. This indicates how many dimensions any instructions accessing the UAV are providing: 1 (Texture1D, Buffer), 2 (Texture1DArray, Texture2D) or 3 (Texture2DArray, Texture3D).

Type is {UNORM,SNORM,UINT,SINT,FLOAT}. Operations done with the declared u# must be compatible with the type declared here, and the UAV bound to slot # must also have the same type.

The _glc flag stands for "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

 

Note  This instruction is not supported in compute shader 4.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

 

 

 

이 정보가 도움이 되었습니까?
(1500자 남음)
의견을 주셔서 감사합니다.

커뮤니티 추가 항목

추가
표시:
© 2014 Microsoft. All rights reserved.