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

Method GLSLCompiler

src/GLSLCompiler.cpp:20–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace 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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected