MCPcopy Create free account
hub / github.com/Unity-Technologies/HLSLcc / ResolveUAVProperties

Method ResolveUAVProperties

src/Shader.cpp:72–211  ·  view source on GitHub ↗

Image (RWTexture in HLSL) declaration op does not provide enough info about the format and accessing. Go through all image declarations and instructions accessing it to see if it is readonly/writeonly. While doing that we also get the number of components expected in the image format. Also resolve access flags for other UAVs as well. No component count resolving for them.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TranslateMethod · 0.80
TranslateMethod · 0.80

Calls 2

GetNumSwizzleElementsMethod · 0.80

Tested by

no test coverage detected