This series is,
Reviewed-by: Edward O'Callaghan <[email protected]>
On 2016-01-11 14:13, Timothy Arceri wrote:
---
src/glsl/glsl_parser.yy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy
index 6b634f2..b2b94f4 100644
--- a/src/glsl/glsl_parser.yy
+++ b/src/glsl/glsl_parser.yy
@@ -1505,7 +1505,8 @@ layout_qualifier_id:
$$.binding = $3;
}
- if (state->has_atomic_counters() &&
+ if ((state->has_atomic_counters() ||
+ state->has_enhanced_layouts()) &&
match_layout_qualifier("offset", $1, state) == 0) {
$$.flags.q.explicit_offset = 1;
$$.offset = $3;
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev