mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
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:
parent
589053dac7
commit
b1c872a81e
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue