[Piglit] [PATCH] arb_shader_image_load_store: fix location of storage qualifier
Francisco Jerez
currojerez at riseup.net
Wed Jan 20 15:01:00 PST 2016
Timothy Arceri <t_arceri at yahoo.com.au> writes:
> In GLSL 1.50 layout qualifiers must come before the storage
> qualifier. A recent fix in Mesa exposed this issue.
>
> Cc: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
> ---
> tests/spec/arb_shader_image_load_store/grid.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/spec/arb_shader_image_load_store/grid.c b/tests/spec/arb_shader_image_load_store/grid.c
> index d08d4e4..5a0b8f1 100644
> --- a/tests/spec/arb_shader_image_load_store/grid.c
> +++ b/tests/spec/arb_shader_image_load_store/grid.c
> @@ -98,7 +98,7 @@ header_hunk(const struct grid_info grid)
> "#define H %d\n"
> "#define N %d\n"
> "#define GRID_T %s\n"
> - "#define RET_IMAGE_T uniform layout(%s) %s2D\n",
> + "#define RET_IMAGE_T layout(%s) uniform %s2D\n",
> grid.size.x, grid.size.y, product(grid.size),
> image_vector_type_name(grid.format),
> grid.format->name, image_type_name(grid.format));
> --
> 2.4.3
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20160120/9ea448c9/attachment.sig>
More information about the Piglit
mailing list