diff options
author | Brian Paul <[email protected]> | 2017-07-10 14:09:25 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-07-11 08:09:14 -0600 |
commit | 3effacf1725d90d14701e59dbbc4ff636b23a04d (patch) | |
tree | 75f5e8ae122668b7f20a1c3c860c1f1937153258 /src | |
parent | 9330112b3539ddb9aa565140cf23f2c3fd1583c2 (diff) |
svga: s/unsigned/enum tgsi_interpolate_mode/
And s/unsigned/enum tgsi_interpolate_loc/
Reviewed-by: Charmaine Lee <[email protected]>
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_tgsi_vgpu10.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 ? |