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

Method translateCaseLabelStatement

src/GLSLCompiler.cpp:1485–1495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1483 }
1484
1485 void GLSLCompiler::translateCaseLabelStatement(glsl::astCaseLabelStatement *statement) {
1486 m_exportLine(statement);
1487
1488 m_caseIfDefault = statement->isDefault;
1489 if (statement->isDefault) { }
1490 else {
1491 translateExpression(statement->condition);
1492 m_gen.Function.Equal();
1493 m_caseIfAddr = m_gen.Function.If();
1494 }
1495 }
1496
1497 void GLSLCompiler::translateWhileStatement(glsl::astWhileStatement *statement) {
1498 m_exportLine(statement);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected