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

Method translatePostDecrement

src/GLSLCompiler.cpp:547–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545 }
546
547 void GLSLCompiler::translatePostDecrement(glsl::astPostDecrementExpression *expression) {
548 m_exportLine(expression);
549 translateExpression(expression->operand);
550
551 m_usePointer = true;
552 translateExpression(expression->operand);
553 m_gen.Function.Decrement();
554 m_gen.Function.PopStack();
555 m_usePointer = false;
556 }
557
558 void GLSLCompiler::translateUnaryMinus(glsl::astUnaryMinusExpression *expression) {
559 translateExpression(expression->operand);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected