glsl: create validate_component_layout_for_type() helper
This will be used in the following patch.
Reviewed-by: Alejandro Piñeiro apinheiro@igalia.com Part-of: mesa/mesa!10763 (merged)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This will be used in the following patch.
Reviewed-by: Alejandro Piñeiro apinheiro@igalia.com Part-of: mesa/mesa!10763 (merged)