[Piglit] [PATCH v2 1/2] shader_runner: Allow compute shaders in OpenGLES 3.1
Jordan Justen
jordan.l.justen at intel.com
Thu Nov 5 12:00:07 PST 2015
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
tests/shaders/shader_runner.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index a967e52..59a76fa 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -365,7 +365,7 @@ compile_glsl(GLenum target)
piglit_require_extension("GL_ARB_geometry_shader4");
break;
case GL_COMPUTE_SHADER:
- if (gl_version.num < 43)
+ if (gl_version.num < (gl_version.es ? 31 : 43))
piglit_require_extension("GL_ARB_compute_shader");
break;
}
--
2.6.2
More information about the Piglit
mailing list