Added GL 3.1 core profile shader patching.

This commit is contained in:
bkaradzic
2013-12-20 19:51:17 -08:00
parent 0f3d6037a6
commit 7e656fa4ef
68 changed files with 34 additions and 6 deletions

View File

@@ -530,7 +530,7 @@ bool compileGLSLShader(bx::CommandLine& _cmdLine, const std::string& _code, bx::
}
else
{
writef(_writer, "#version %s\n\n", profile);
// writef(_writer, "#version %s\n\n", profile);
}
bx::write(_writer, optimizedShader, (int32_t)strlen(optimizedShader) );
@@ -1833,7 +1833,7 @@ int main(int _argc, const char* _argv[])
}
else
{
writef(&writer, "#version %s\n\n", profile);
// writef(&writer, "#version %s\n\n", profile);
}
}
writer.write(preprocessor.m_preprocessed.c_str(), (int32_t)preprocessor.m_preprocessed.size() );