[Piglit] [PATCH] arb_shader_storage_buffer_object: invalid binding qualifier test
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Fri Oct 2 00:23:32 PDT 2015
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
On 02/10/15 09:08, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
> .../compiler/member-invalid-binding-qualifier.frag | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
> create mode 100644 tests/spec/arb_shader_storage_buffer_object/compiler/member-invalid-binding-qualifier.frag
>
> diff --git a/tests/spec/arb_shader_storage_buffer_object/compiler/member-invalid-binding-qualifier.frag b/tests/spec/arb_shader_storage_buffer_object/compiler/member-invalid-binding-qualifier.frag
> new file mode 100644
> index 0000000..4e3b678
> --- /dev/null
> +++ b/tests/spec/arb_shader_storage_buffer_object/compiler/member-invalid-binding-qualifier.frag
> @@ -0,0 +1,16 @@
> +// [config]
> +// expect_result: fail
> +// glsl_version: 1.50
> +// require_extensions: GL_ARB_shader_storage_buffer_object
> +// [end config]
> +
> +#version 150
> +#extension GL_ARB_shader_storage_buffer_object: require
> +
> +buffer buf {
> + layout(binding=42) float f;
> +};
> +
> +float foo(void) {
> + return f;
> +}
>
More information about the Piglit
mailing list