MCPcopy Create free account
hub / github.com/MBU-Team/OpenMBU / sortVars

Method sortVars

engine/source/shaderGen/shaderComp.cpp:100–155  ·  view source on GitHub ↗

---------------------------------------------------------------------------- Sort connector variables - They must be sorted on hardware that is running ps 1.4 and below. The reason is that texture coordinate registers MUST map exactly to their respective texture stage. Ie. if you have fog coordinates being passed into a pixel shader in texture coordinate register number 4, the fog texture MUST

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

processVertFeaturesMethod · 0.80
processPixFeaturesMethod · 0.80

Calls 6

setConnectNameMethod · 0.80
dStrstrFunction · 0.50
dSprintfFunction · 0.50
getPixelShaderVersionMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected