diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2015-03-24 10:36:04 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2018-03-06 12:08:40 -0800 |
commit | 4d2739064030bb615f8e3682fc2051df86887488 (patch) | |
tree | cacdc9f6af8425eed2f3453c65c9b20286b5f58a /shaders | |
parent | 64396491cd49ff5791db018a814deb8a32a4c1be (diff) |
Allow warsow 85.shader_test to build on GLSL 1.20
Nothing in the shader actually requires 1.30. This allows it to build
on GM45 and Iron Lake... and other platforms stuck at GLSL 1.20.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/warsow/85.shader_test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shaders/warsow/85.shader_test b/shaders/warsow/85.shader_test index 7082f77..2b73434 100644 --- a/shaders/warsow/85.shader_test +++ b/shaders/warsow/85.shader_test @@ -1,10 +1,10 @@ [require] -GLSL >= 1.30 +GLSL >= 1.20 [vertex shader] -#version 130 +#version 120 #extension GL_ARB_draw_instanced : enable -#define QF_GLSL_VERSION 130 +#define QF_GLSL_VERSION 120 #define VERTEX_SHADER #if !defined(myhalf) //#if !defined(__GLSL_CG_DATA_TYPES) @@ -1030,9 +1030,9 @@ color = color * diffuse; #endif // FRAGMENT_SHADER [fragment shader] -#version 130 +#version 120 -#define QF_GLSL_VERSION 130 +#define QF_GLSL_VERSION 120 #define FRAGMENT_SHADER #if !defined(myhalf) //#if !defined(__GLSL_CG_DATA_TYPES) |