mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 15:20:26 +01:00
glsl: add ir_shader case in switch stmt to silence warning
This commit is contained in:
parent
439c298595
commit
ffd9033227
1 changed files with 2 additions and 0 deletions
|
|
@ -1714,6 +1714,8 @@ apply_type_qualifier_to_variable(const struct ast_type_qualifier *qual,
|
|||
if (var->mode == ir_var_in)
|
||||
var->invariant = true;
|
||||
break;
|
||||
case ir_shader:
|
||||
; /* no op */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue