[Piglit] [PATCH] glsl-1.10: add a 'invalid-array-as-function-param' glslparsertest
Alejandro Piñeiro
apinheiro at igalia.com
Tue Aug 14 08:58:03 UTC 2018
Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
On 14/08/18 09:41, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107550
> ---
> .../spec/glsl-1.10/compiler/invalid-array-as-function-param.vert | 9 +++++++++
> 1 file changed, 9 insertions(+)
> create mode 100644 tests/spec/glsl-1.10/compiler/invalid-array-as-function-param.vert
>
> diff --git a/tests/spec/glsl-1.10/compiler/invalid-array-as-function-param.vert b/tests/spec/glsl-1.10/compiler/invalid-array-as-function-param.vert
> new file mode 100644
> index 000000000..d285680de
> --- /dev/null
> +++ b/tests/spec/glsl-1.10/compiler/invalid-array-as-function-param.vert
> @@ -0,0 +1,9 @@
> +// [config]
> +// expect_result: fail
> +// glsl_version: 1.10
> +// [end config]
> +
> +void main()
> +{
> + func(0[2]);
> +}
More information about the Piglit
mailing list