From: Brian Paul Date: Mon, 10 Jul 2017 20:09:25 +0000 (-0600) Subject: svga: s/unsigned/enum tgsi_interpolate_mode/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3effacf1725d90d14701e59dbbc4ff636b23a04d;p=mesa.git svga: s/unsigned/enum tgsi_interpolate_mode/ And s/unsigned/enum tgsi_interpolate_loc/ Reviewed-by: Charmaine Lee Reviewed-by: Neha Bhende --- diff --git a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c index cd4cab45866..d02dbb62223 100644 --- a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c +++ b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c @@ -1843,7 +1843,8 @@ emit_vgpu10_immediates_block(struct svga_shader_emitter_v10 *emit) */ static unsigned translate_interpolation(const struct svga_shader_emitter_v10 *emit, - unsigned interp, unsigned interpolate_loc) + enum tgsi_interpolate_mode interp, + enum tgsi_interpolate_loc interpolate_loc) { if (interp == TGSI_INTERPOLATE_COLOR) { interp = emit->key.fs.flatshade ?