[Piglit] [PATCH] arb_shader_storage_buffer_object: test buffer member swizzle

Samuel Iglesias Gonsálvez siglesias at igalia.com
Mon Oct 19 04:28:02 PDT 2015


Can you add what regression is in the commit log?

Something like:

"Checks if a shader with a buffer variable accessed with a swizzle links
successfully."

With that,

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

Sam

On 18/10/15 00:11, Timothy Arceri wrote:
> Tests a regression in Mesa.
> ---
>  .../compiler/atomicMin-swizzle.vert                   | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert
> 
> diff --git a/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert b/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert
> new file mode 100644
> index 0000000..0a07ba5
> --- /dev/null
> +++ b/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert
> @@ -0,0 +1,19 @@
> +// [config]
> +// expect_result: pass
> +// glsl_version: 1.20
> +// require_extensions: GL_ARB_shader_storage_buffer_object
> +// check_link: true
> +// [end config]
> +
> +#version 120
> +#extension GL_ARB_shader_storage_buffer_object: require
> +
> +buffer bufblock {
> +  ivec4 iface_var;
> +};
> +
> +void main()
> +{
> +  atomicMin(iface_var.x, 2);
> +  gl_Position = vec4(0.0);
> +}
> 


More information about the Piglit mailing list