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

Method translatePostIncrement

src/GLSLCompiler.cpp:536–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534 }
535
536 void GLSLCompiler::translatePostIncrement(glsl::astPostIncrementExpression *expression) {
537 m_exportLine(expression);
538 translateExpression(expression->operand);
539
540 m_usePointer = true;
541 translateExpression(expression->operand);
542 m_gen.Function.Increment();
543 m_gen.Function.PopStack();
544 m_usePointer = false;
545 }
546
547 void GLSLCompiler::translatePostDecrement(glsl::astPostDecrementExpression *expression) {
548 m_exportLine(expression);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected