diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-27 05:51:35 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-27 05:51:35 +0200 |
commit | 84928e6d67a9dd2bf611f12a3f9fe8aa62af397e (patch) | |
tree | 80318dad630538345dbd7d1d11a8372b2283fd28 /src/video_core/renderer_opengl/gl_shader_gen.cpp | |
parent | Merge pull request #2516 from lioncash/label (diff) | |
download | yuzu-84928e6d67a9dd2bf611f12a3f9fe8aa62af397e.tar yuzu-84928e6d67a9dd2bf611f12a3f9fe8aa62af397e.tar.gz yuzu-84928e6d67a9dd2bf611f12a3f9fe8aa62af397e.tar.bz2 yuzu-84928e6d67a9dd2bf611f12a3f9fe8aa62af397e.tar.lz yuzu-84928e6d67a9dd2bf611f12a3f9fe8aa62af397e.tar.xz yuzu-84928e6d67a9dd2bf611f12a3f9fe8aa62af397e.tar.zst yuzu-84928e6d67a9dd2bf611f12a3f9fe8aa62af397e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_gen.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp index 7ab0b4553..d2bb705a9 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.cpp +++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp @@ -19,8 +19,7 @@ static constexpr u32 PROGRAM_OFFSET{10}; ProgramResult GenerateVertexShader(const Device& device, const ShaderSetup& setup) { const std::string id = fmt::format("{:016x}", setup.program.unique_identifier); - std::string out = "#extension GL_ARB_separate_shader_objects : enable\n\n"; - out += "// Shader Unique Id: VS" + id + "\n\n"; + std::string out = "// Shader Unique Id: VS" + id + "\n\n"; out += GetCommonDeclarations(); out += R"( @@ -82,8 +81,7 @@ void main() { ProgramResult GenerateGeometryShader(const Device& device, const ShaderSetup& setup) { const std::string id = fmt::format("{:016x}", setup.program.unique_identifier); - std::string out = "#extension GL_ARB_separate_shader_objects : enable\n\n"; - out += "// Shader Unique Id: GS" + id + "\n\n"; + std::string out = "// Shader Unique Id: GS" + id + "\n\n"; out += GetCommonDeclarations(); out += R"( @@ -113,8 +111,7 @@ void main() { ProgramResult GenerateFragmentShader(const Device& device, const ShaderSetup& setup) { const std::string id = fmt::format("{:016x}", setup.program.unique_identifier); - std::string out = "#extension GL_ARB_separate_shader_objects : enable\n\n"; - out += "// Shader Unique Id: FS" + id + "\n\n"; + std::string out = "// Shader Unique Id: FS" + id + "\n\n"; out += GetCommonDeclarations(); out += R"( |