I don't think this will do much as it's a compiler error to use component without location which is already in the table but its good to be consistent.
Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> Reviewed-by: Samuel Iglesias Gonsálvez <sigles...@igalia.com> --- src/compiler/glsl/ast_type.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp index de3fdcc..593d8a9 100644 --- a/src/compiler/glsl/ast_type.cpp +++ b/src/compiler/glsl/ast_type.cpp @@ -74,6 +74,7 @@ ast_type_qualifier::has_layout() const || this->flags.q.row_major || this->flags.q.packed || this->flags.q.explicit_align + || this->flags.q.explicit_component || this->flags.q.explicit_location || this->flags.q.explicit_image_format || this->flags.q.explicit_index -- 2.5.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev