[Mesa-dev] [PATCH 3/5] svga: s/unsigned/enum tgsi_interpolate_mode/
Brian Paul
brianp at vmware.com
Mon Jul 10 21:50:23 UTC 2017
And s/unsigned/enum tgsi_interpolate_loc/
---
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 cd4cab4..d02dbb6 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 ?
--
1.9.1
More information about the mesa-dev
mailing list