From 4a873ef049bce855e8b5f254d428956de8ce45f8 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 22 Jan 2016 16:22:40 +1100 Subject: [PATCH] glsl: add xfb qualifiers to has_layout helper Reviewed-by: Dave Airlie --- src/compiler/glsl/ast_type.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp index 9f0f578be86..c3d38cbbf8a 100644 --- a/src/compiler/glsl/ast_type.cpp +++ b/src/compiler/glsl/ast_type.cpp @@ -79,7 +79,10 @@ ast_type_qualifier::has_layout() const || this->flags.q.explicit_index || this->flags.q.explicit_binding || this->flags.q.explicit_offset - || this->flags.q.explicit_stream; + || this->flags.q.explicit_stream + || this->flags.q.explicit_xfb_buffer + || this->flags.q.explicit_xfb_offset + || this->flags.q.explicit_xfb_stride; } bool -- 2.30.2