glsl: add component to has_layout() helper
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.romanick@intel.com> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user