The check is meant to compare GLSL version which for OpenGL 3.2 is
1.50.
---
tests/shaders/built-in-constants.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/shaders/built-in-constants.c
b/tests/shaders/built-in-constants.c
index e1512a04c..df5fa2a84 100644
--- a/tests/shaders/built-in-constants.c
+++ b/tests/shaders/built-in-constants.c
@@ -400,7 +400,7 @@ create_shader(GLenum type)
* OpenGL 3.2.
*/
if (type == GL_GEOMETRY_SHADER &&
- required_glsl_version < 320)
+ required_glsl_version < 150)
return 0;
}
/* Only create compute shaders when explicitly requested
--
2.17.0
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit