summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-01-15 19:15:13 +1100
committerTimothy Arceri <timothy.arceri@collabora.com>2016-05-19 10:37:55 +1000
commitd1ad1c8f36f3c330882544be06b531d3db31f0b3 (patch)
tree9f004732f99be4f8ea79e32ca54a8fe78fcbbf4b
parent43e8b6cb14bdd4f75dbc8e586176f31038311398 (diff)
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 5df0b9047..fda37eabb 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 9d22448eb..af32ddde9 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()
{