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

Method translateDoubleConstant

src/GLSLCompiler.cpp:163–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 void GLSLCompiler::translateDoubleConstant(glsl::astDoubleConstant *expression) {
164 m_gen.Function.PushStack((float)expression->value); // TODO: double?
165 }
166
167 void GLSLCompiler::translateBoolConstant(glsl::astBoolConstant *expression) {
168 m_gen.Function.PushStack((char)expression->value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected