MCPcopy Create free account
hub / github.com/carbonengine/trinity / PrintValuePath

Function PrintValuePath

shadercompiler/EffectCompilerDX11.cpp:148–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void PrintValuePath( std::ostream& os, const std::vector<Symbol*>& path, const char* functionSymbol )
149{
150 bool first = true;
151 for( auto it = path.begin(); it != path.end(); ++it )
152 {
153 if( first )
154 {
155 first = false;
156 }
157 else
158 {
159 os << ".";
160 }
161 if( *it )
162 {
163 os << ( *it )->name;
164 }
165 else
166 {
167 os << functionSymbol;
168 }
169 }
170}
171
172static void PatchSemantics( InputStageType shaderStage, ASTNode* callNode )
173{

Callers 1

PatchShaderFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected