mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
microsoft/compiler: Add missing 'return' to switch case
Fixes: b9c61379 ("microsoft/compiler: translate nir to dxil")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7780>
This commit is contained in:
parent
423363803e
commit
30e5abe5f5
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ get_interpolation(nir_variable *var)
|
|||
case INTERP_MODE_NONE: return DXIL_INTERP_LINEAR_CENTROID;
|
||||
case INTERP_MODE_FLAT: return DXIL_INTERP_CONSTANT;
|
||||
case INTERP_MODE_NOPERSPECTIVE: return DXIL_INTERP_LINEAR_NOPERSPECTIVE_CENTROID;
|
||||
case INTERP_MODE_SMOOTH: DXIL_INTERP_LINEAR_CENTROID;
|
||||
case INTERP_MODE_SMOOTH: return DXIL_INTERP_LINEAR_CENTROID;
|
||||
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue