From 3effacf1725d90d14701e59dbbc4ff636b23a04d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 10 Jul 2017 14:09:25 -0600 Subject: [PATCH] svga: s/unsigned/enum tgsi_interpolate_mode/ And s/unsigned/enum tgsi_interpolate_loc/ Reviewed-by: Charmaine Lee Reviewed-by: Neha Bhende --- src/gallium/drivers/svga/svga_tgsi_vgpu10.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ? -- 2.30.2