| 18 | namespace sd |
| 19 | { |
| 20 | GLSLCompiler::GLSLCompiler() |
| 21 | { |
| 22 | m_language = Compiler::Language::GLSL; |
| 23 | |
| 24 | m_lastLineSaved = -1; |
| 25 | m_currentFunction = m_entryFunction = ""; |
| 26 | m_curFuncData = nullptr; |
| 27 | |
| 28 | m_isSet = m_usePointer = false; |
| 29 | m_caseIfDefault = false; |
| 30 | m_caseIfAddr = 0; |
| 31 | m_writeIndexDepth = false; |
| 32 | m_indexDepth = 0; |
| 33 | } |
| 34 | bool GLSLCompiler::Parse(ShaderType type, const std::string& source, std::string entry) |
| 35 | { |
| 36 | if (!m_isImmediate) |
nothing calls this directly
no outgoing calls
no test coverage detected