[Piglit] [PATCH 02/11] glean/glsl1: Port illegal shader tests to piglit.
Brian Paul
brianp at vmware.com
Wed May 21 06:51:58 PDT 2014
On 05/20/2014 04:31 PM, Matt Turner wrote:
> From: Kenneth Graunke <kenneth at whitecape.org>
>
> ---
> tests/glean/tglsl1.cpp | 152 +--------------------
> tests/shaders/glsl1/COPYRIGHT | 31 +++++
> tests/shaders/glsl1/break-with-no-loop.frag | 9 ++
> tests/shaders/glsl1/continue-with-no-loop.frag | 9 ++
> .../shaders/glsl1/glsl-1.20-array-error-check.frag | 11 ++
> tests/shaders/glsl1/if-boolean-scalar-check.frag | 11 ++
> tests/shaders/glsl1/illegal-assignment.frag | 9 ++
> .../glsl1/preprocessor-test-extension-test-3.frag | 10 ++
> tests/shaders/glsl1/syntax-error-check-1.frag | 9 ++
> tests/shaders/glsl1/syntax-error-check-2.frag | 8 ++
> tests/shaders/glsl1/syntax-error-check-3.frag | 9 ++
> .../glsl1/t-intermediate-add-unary-math.frag | 8 ++
> tests/shaders/glsl1/undefined-variable.frag | 9 ++
> 13 files changed, 134 insertions(+), 151 deletions(-)
> create mode 100644 tests/shaders/glsl1/COPYRIGHT
> create mode 100644 tests/shaders/glsl1/break-with-no-loop.frag
> create mode 100644 tests/shaders/glsl1/continue-with-no-loop.frag
> create mode 100644 tests/shaders/glsl1/glsl-1.20-array-error-check.frag
> create mode 100644 tests/shaders/glsl1/if-boolean-scalar-check.frag
> create mode 100644 tests/shaders/glsl1/illegal-assignment.frag
> create mode 100644 tests/shaders/glsl1/preprocessor-test-extension-test-3.frag
> create mode 100644 tests/shaders/glsl1/syntax-error-check-1.frag
> create mode 100644 tests/shaders/glsl1/syntax-error-check-2.frag
> create mode 100644 tests/shaders/glsl1/syntax-error-check-3.frag
> create mode 100644 tests/shaders/glsl1/t-intermediate-add-unary-math.frag
> create mode 100644 tests/shaders/glsl1/undefined-variable.frag
Can you remind me how these .frag shaders are run? I looked for a bit
but couldn't figure it out.
In the interest of test organization, would it be better if these tests
were in tests/spec/glsl-*/compiler/ ?
-Brian
More information about the Piglit
mailing list