[Piglit] [PATCH 01/13] glsl-1.10: Add tests for empty block and statements.

Chris Forbes chrisf at ijw.co.nz
Sun Jul 6 01:21:55 PDT 2014


Always nice to see more redundant glean stuff go away -- it's prone to
spurious failures with my WM.

For the series:

Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

On Sun, Jul 6, 2014 at 6:03 PM, Matt Turner <mattst88 at gmail.com> wrote:
> ---
>  tests/spec/glsl-1.10/compiler/statements/empty-block.vert     | 9 +++++++++
>  tests/spec/glsl-1.10/compiler/statements/empty-statement.vert | 9 +++++++++
>  2 files changed, 18 insertions(+)
>  create mode 100644 tests/spec/glsl-1.10/compiler/statements/empty-block.vert
>  create mode 100644 tests/spec/glsl-1.10/compiler/statements/empty-statement.vert
>
> diff --git a/tests/spec/glsl-1.10/compiler/statements/empty-block.vert b/tests/spec/glsl-1.10/compiler/statements/empty-block.vert
> new file mode 100644
> index 0000000..b06a73a
> --- /dev/null
> +++ b/tests/spec/glsl-1.10/compiler/statements/empty-block.vert
> @@ -0,0 +1,9 @@
> +// [config]
> +// expect_result: pass
> +// glsl_version: 1.10
> +// [end config]
> +
> +void main() {
> +       {}
> +       gl_Position = vec4(1.0);
> +}
> diff --git a/tests/spec/glsl-1.10/compiler/statements/empty-statement.vert b/tests/spec/glsl-1.10/compiler/statements/empty-statement.vert
> new file mode 100644
> index 0000000..f87db19
> --- /dev/null
> +++ b/tests/spec/glsl-1.10/compiler/statements/empty-statement.vert
> @@ -0,0 +1,9 @@
> +// [config]
> +// expect_result: pass
> +// glsl_version: 1.10
> +// [end config]
> +
> +void main() {
> +       ;
> +       gl_Position = vec4(1.0);
> +}
> --
> 1.8.3.2
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list