[Piglit] [PATCH] framework/shader_test: Assume the api is GL if no requirements are found

Eric Anholt eric at anholt.net
Tue Dec 11 16:35:15 PST 2012


Chad Versace <chad.versace at linux.intel.com> writes:

> Commit 260f211 caused some shader tests to regress with the message:
> "Failed to find [require] block".
>
> This patch changes the python script that drives shader_runner to assume
> that the test's API is GL if no GL requirement is found in the test file.
> This behavior matches the behavior of the shader_runner executable, whose
> default requirements are GL >= 1.0 and GLSL >= 1.10.
>
> I tested this patch by running `piglit-run.py -t glsl -t shader` and then
> grepping the result file for "Failed to find".

Changing framework code without doing a whole piglit run? :(
-------------- 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/20121211/dba45d7a/attachment.pgp>


More information about the Piglit mailing list