[Piglit] [PATCH] arb_shader_image_load_store: fix location of storage qualifier
Timothy Arceri
t_arceri at yahoo.com.au
Wed Jan 20 14:30:08 PST 2016
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>
---
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
More information about the Piglit
mailing list