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

Function IsUniformInputArgument

shadercompiler/ParserUtils.cpp:603–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603bool IsUniformInputArgument( ASTNode* argument )
604{
605 if( argument->GetChildOrNull( 0 ) )
606 {
607 // is it correct?
608 return false;
609 }
610 else
611 {
612 return argument->GetType().storageClass == OP_UNIFORM;
613 }
614}
615
616namespace
617{

Callers 5

PatchShaderFunction · 0.85
GatherInputsFunction · 0.85
GatherSystemInputsFunction · 0.85
GatherOutputsFunction · 0.85
PatchShaderFunction · 0.85

Calls 2

GetChildOrNullMethod · 0.80
GetTypeMethod · 0.45

Tested by

no test coverage detected