| 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++) |