mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 22:20:14 +01:00
glsl: add component to ast_type_qualifier::validate_flags
This was added with ARB_enhanced_layouts. V2: Add an extra format specifier for the new qualifier. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
bbe839379a
commit
2262fe4081
1 changed files with 2 additions and 1 deletions
|
|
@ -612,7 +612,7 @@ ast_type_qualifier::validate_flags(YYLTYPE *loc,
|
|||
"%s:"
|
||||
"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
|
||||
"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
|
||||
"%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
|
||||
"%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
|
||||
message,
|
||||
bad.flags.q.invariant ? " invariant" : "",
|
||||
bad.flags.q.precise ? " precise" : "",
|
||||
|
|
@ -633,6 +633,7 @@ ast_type_qualifier::validate_flags(YYLTYPE *loc,
|
|||
bad.flags.q.origin_upper_left ? " origin_upper_left" : "",
|
||||
bad.flags.q.pixel_center_integer ? " pixel_center_integer" : "",
|
||||
bad.flags.q.explicit_align ? " align" : "",
|
||||
bad.flags.q.explicit_component ? " component" : "",
|
||||
bad.flags.q.explicit_location ? " location" : "",
|
||||
bad.flags.q.explicit_index ? " index" : "",
|
||||
bad.flags.q.explicit_binding ? " binding" : "",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue