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

Method SetIOPrefixes

src/toGLSL.cpp:28–91  ·  view source on GitHub ↗

In GLSL, the input and output names cannot clash. Also, the output name of previous stage must match the input name of the next stage. So, do gymnastics depending on which shader we're running on and which other shaders exist in this program.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected