mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 02:30:12 +01:00
glsl: Relax auxiliary storage ordering requirements with 420pack.
These were already semi-relaxed, since the storage qualifier rule already skipped when 420pack was enabled. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
b5d6c51e2b
commit
c397ec94e9
1 changed files with 2 additions and 1 deletions
|
|
@ -1419,7 +1419,8 @@ type_qualifier:
|
|||
"Duplicate auxiliary storage qualifier (centroid).\n");
|
||||
}
|
||||
|
||||
if ($2.flags.q.invariant || $2.has_interpolation() || $2.has_layout()) {
|
||||
if (!state->ARB_shading_language_420pack_enable &&
|
||||
($2.flags.q.invariant || $2.has_interpolation() || $2.has_layout())) {
|
||||
_mesa_glsl_error(&@1, state, "Auxiliary storage qualifiers must come "
|
||||
"just before storage qualifiers.\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue