summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-01-15 08:15:13 (GMT)
committerTimothy Arceri <timothy.arceri@collabora.com>2016-05-19 00:37:55 (GMT)
commitd1ad1c8f36f3c330882544be06b531d3db31f0b3 (patch)
tree9f004732f99be4f8ea79e32ca54a8fe78fcbbf4b
parent43e8b6cb14bdd4f75dbc8e586176f31038311398 (diff)
downloadpiglit-d1ad1c8f36f3c330882544be06b531d3db31f0b3.tar.gz
piglit-d1ad1c8f36f3c330882544be06b531d3db31f0b3.tar.xz
arb_enhanced_layouts: fix component layout tests for structs
-rw-r--r--tests/spec/arb_enhanced_layouts/compiler/component-layout/struct-array.frag2
-rw-r--r--tests/spec/arb_enhanced_layouts/compiler/component-layout/struct.frag2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/spec/arb_enhanced_layouts/compiler/component-layout/struct-array.frag b/tests/spec/arb_enhanced_layouts/compiler/component-layout/struct-array.frag
index 5df0b90..fda37ea 100644
--- a/tests/spec/arb_enhanced_layouts/compiler/component-layout/struct-array.frag
+++ b/tests/spec/arb_enhanced_layouts/compiler/component-layout/struct-array.frag
@@ -18,7 +18,7 @@ struct S {
vec4 x;
};
-layout(location = 1, component = 0) uniform S s[2];
+layout(location = 1, component = 0) in S s[2];
void main()
{
diff --git a/tests/spec/arb_enhanced_layouts/compiler/component-layout/struct.frag b/tests/spec/arb_enhanced_layouts/compiler/component-layout/struct.frag
index 9d22448..af32ddd 100644
--- a/tests/spec/arb_enhanced_layouts/compiler/component-layout/struct.frag
+++ b/tests/spec/arb_enhanced_layouts/compiler/component-layout/struct.frag
@@ -18,7 +18,7 @@ struct S {
vec4 x;
};
-layout(location = 1, component = 0) uniform S s;
+layout(location = 1, component = 0) in S s;
void main()
{