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

Method translateCompoundStatement

src/GLSLCompiler.cpp:1418–1428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1416 }
1417
1418 void GLSLCompiler::translateCompoundStatement(glsl::astCompoundStatement *statement) {
1419 // m_gen.Function.ScopeStart(); // TODO: it doesn't work with these?
1420 m_exportLine(statement);
1421
1422 //printf("[DEBUG] Entering compoung statement!\n");
1423
1424 for (size_t i = 0; i < statement->statements.size(); i++)
1425 translateStatement(statement->statements[i]);
1426
1427 // m_gen.Function.ScopeEnd();
1428 }
1429
1430 void GLSLCompiler::translateDeclarationStatement(glsl::astDeclarationStatement *statement) {
1431 for (size_t i = 0; i < statement->variables.size(); i++)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected