From: Ian Romanick <ian.d.roman...@intel.com>

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.roman...@intel.com>
---
 shaders/warsow/85.shader_test | 10 +++++-----
 1 file 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)
-- 
2.9.5

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to