MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / AddImmediateGlobalDefinition

Method AddImmediateGlobalDefinition

src/HLSLCompiler.cpp:443–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441
442 }
443 void HLSLCompiler::AddImmediateGlobalDefinition(Variable var)
444 {
445 M4::HLSLType baseType(M4::HLSLParser::GetTypeFromString(var.Type));
446 m_immGlobals.push_back(std::make_pair(var.Name, std::make_pair(baseType, var.Type)));
447 }
448
449 void HLSLCompiler::m_generateConvert(HLSLCompiler::ExpressionType etype, int args)
450 {

Callers 1

ImmediateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected