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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user