[Piglit] [PATCH 1/3] shader_runner.py: fix gles2 support

Tom Gall tom.gall at linaro.org
Tue Jan 8 12:40:13 PST 2013


Fix shader_test.py so it uses shader_runner_gles2 when running
a shader test with GL 2.0 es in the [required] section.

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
Signed-off-by: Tom Gall <tom.gall at linaro.org>
---
 framework/shader_test.py |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/framework/shader_test.py b/framework/shader_test.py
index ea637cf..335a6c1 100755
--- a/framework/shader_test.py
+++ b/framework/shader_test.py
@@ -224,9 +224,7 @@ class ShaderTest(PlainExecTest):
         if self.__gl_api == ShaderTest.API_GL:
             runner = "shader_runner"
         elif self.__gl_api == ShaderTest.API_GLES2:
-            # Tentatively, let's use the gles3 shader runner to run gles2
-            # tests.
-            runner = "shader_runner_gles3"
+            runner = "shader_runner_gles2"
         elif self.__gl_api == ShaderTest.API_GLES3:
             runner = "shader_runner_gles3"
         else:
-- 
1.7.10.4



More information about the Piglit mailing list