mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
spirv: Shut up unhandled enumeration value warnings.
We don't want to do anything for the other cases. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
de8b03f5fb
commit
c17b2f5724
1 changed files with 2 additions and 0 deletions
|
|
@ -1078,6 +1078,8 @@ apply_var_decoration(struct vtn_builder *b, nir_variable *nir_var,
|
|||
case SpvBuiltInFragCoord:
|
||||
nir_var->data.pixel_center_integer = b->pixel_center_integer;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue