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

Method translateBreakStatement

src/GLSLCompiler.cpp:1613–1616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1611 }
1612
1613 void GLSLCompiler::translateBreakStatement() {
1614 if (m_breaks.size() > 0)
1615 m_breaks.top().push_back(m_gen.Function.Goto());
1616 }
1617
1618 void GLSLCompiler::translateReturnStatement(glsl::astReturnStatement *statement) {
1619 m_exportLine(statement);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected