diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-28 16:38:40 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-28 16:38:40 +0100 |
commit | e5ca097e32d9ec03b1ba4b5e44e3b6553e3addd4 (patch) | |
tree | 4d67b25f67f13f69f4be495a8f01dfdd89418f7c /src/video_core/renderer_opengl/gl_shader_gen.cpp | |
parent | Improved Shader accuracy on Vertex and Geometry Shaders with FFMA, FMUL and FADD (diff) | |
download | yuzu-e5ca097e32d9ec03b1ba4b5e44e3b6553e3addd4.tar yuzu-e5ca097e32d9ec03b1ba4b5e44e3b6553e3addd4.tar.gz yuzu-e5ca097e32d9ec03b1ba4b5e44e3b6553e3addd4.tar.bz2 yuzu-e5ca097e32d9ec03b1ba4b5e44e3b6553e3addd4.tar.lz yuzu-e5ca097e32d9ec03b1ba4b5e44e3b6553e3addd4.tar.xz yuzu-e5ca097e32d9ec03b1ba4b5e44e3b6553e3addd4.tar.zst yuzu-e5ca097e32d9ec03b1ba4b5e44e3b6553e3addd4.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_gen.cpp')
-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 08dd8dc6c..dfb562706 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.cpp +++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp @@ -15,8 +15,7 @@ static constexpr u32 PROGRAM_OFFSET{10}; ProgramResult GenerateVertexShader(const ShaderSetup& setup) { std::string out = "#version 430 core\n"; - out += "#extension GL_ARB_separate_shader_objects : enable\n"; - out += "#extension GL_ARB_gpu_shader5 : enable\n\n"; + out += "#extension GL_ARB_separate_shader_objects : enable\n\n"; out += Decompiler::GetCommonDeclarations(); out += R"( @@ -84,8 +83,7 @@ void main() { ProgramResult GenerateGeometryShader(const ShaderSetup& setup) { std::string out = "#version 430 core\n"; - out += "#extension GL_ARB_separate_shader_objects : enable\n"; - out += "#extension GL_ARB_gpu_shader5 : enable\n\n"; + out += "#extension GL_ARB_separate_shader_objects : enable\n\n"; out += Decompiler::GetCommonDeclarations(); out += "bool exec_geometry();\n"; @@ -119,8 +117,7 @@ void main() { ProgramResult GenerateFragmentShader(const ShaderSetup& setup) { std::string out = "#version 430 core\n"; - out += "#extension GL_ARB_separate_shader_objects : enable\n"; - out += "#extension GL_ARB_gpu_shader5 : enable\n\n"; + out += "#extension GL_ARB_separate_shader_objects : enable\n\n"; out += Decompiler::GetCommonDeclarations(); out += "bool exec_fragment();\n"; |