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

Method translateDiscardStatement

src/GLSLCompiler.cpp:1633–1636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1631 }
1632
1633 void GLSLCompiler::translateDiscardStatement() {
1634 m_gen.Function.Call("$$discard", 0);
1635 m_gen.Function.Return();
1636 }
1637
1638 void GLSLCompiler::translateStatement(glsl::astStatement *statement) {
1639 switch (statement->type) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected