projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9330112
)
svga: s/unsigned/enum tgsi_interpolate_mode/
author
Brian Paul
<brianp@vmware.com>
Mon, 10 Jul 2017 20:09:25 +0000
(14:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 11 Jul 2017 14:09:14 +0000
(08:09 -0600)
And s/unsigned/enum tgsi_interpolate_loc/
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_tgsi_vgpu10.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c
b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c
index cd4cab45866b0874c1d5270db7efce9a02c88da9..d02dbb6222308a62d22ef5a789722c1dd9ce3573 100644
(file)
--- 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 ?