[Piglit] [PATCH 2/3] add generated_tests/gen_non-lvalue_es-tests.py

Eric Anholt eric at anholt.net
Fri May 3 15:34:37 PDT 2013


Tom Gall <tom.gall at linaro.org> writes:

> This adds a series l-value tests for glslparsertest. This new
> python code creates glsl es versions of the tests. This "new"
> code was directly based on generated_tests/gen_non-lvalue_tests.py.
> The new es version outputs to generated_tests/spec/glsl-es-1.00.

Given that the functional code change from the file you copied from is:

-class Test(object):
+class TestES1(object):

-                            'glsl-1.10',
+                            'glsl-es-1.00',

- * glsl_version: 1.10
+ * glsl_version: 1.00

-                              yield Test(type_name, op, usage, shader_target)
+                              yield TestES1(type_name, op, usage, shader_target)

and the spec quote being slightly different between 1.00 and 1.10, this
should pretty clearly be a small addition to the existing generator.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130503/0c3a5fe5/attachment.pgp>


More information about the Piglit mailing list