[Piglit] [PATCH 0/2] glsl, gles2: add gles2 supprt to glsl
tom.gall at linaro.org
Thu Dec 13 12:59:00 PST 2012
Add gles2 support to glslparsertest. Adds in ~360 testcases to run for gles2.
glsl es 1.0 is approx equal to glsl 1.20.
changes to glslparsertest.c is quite minor adding support for glsl
version 100 which coincides with opengl es 2.0.
framework/glsl_es_parser_test.py could perhaps be done in a more
clever fashion. It introduces add_glsl_es_parser_test which runs the
glslparsertest and the frag or vert using OpenGL ES / glsl es. It adds
two new optional parts to the config section of the frag/vert for
glsles. glsles_version is used instead of the glsl versions for
testing glsles. When running as a gles test if glsles_version is not
there, the test is skipped. glsles_expect_result is optional to handle
cases where the testcase is for example valid and should pass for glsl
but for the es case is not valid and therefore will fail. If present
glsles_expect_result will be used over expect_result.
These changes go hand in hand with my gles2 tests that I've submitted
for consideration however these patches are no dependent on my other
"Where's the kaboom!? There was supposed to be an earth-shattering
kaboom!" Marvin Martian
Graphics Working Group | Linaro.org │ Open source software for ARM SoCs
w) tom.gall att linaro.org
h) tom_gall att mac.com
More information about the Piglit