projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99f46c
)
svga: simplify uses_flat_interp expression in emit_input_declarations()
author
Brian Paul
<brianp@vmware.com>
Tue, 6 Mar 2018 16:29:21 +0000
(09:29 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 23 Mar 2018 15:03:26 +0000
(09:03 -0600)
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 04d83038b005e220f26e686fb3c484243ce718f7..4292894056e139e7ef0b6f6bf8a0f0e894d9accf 100644
(file)
--- a/
src/gallium/drivers/svga/svga_tgsi_vgpu10.c
+++ b/
src/gallium/drivers/svga/svga_tgsi_vgpu10.c
@@
-2396,7
+2396,7
@@
emit_input_declarations(struct svga_shader_emitter_v10 *emit)
emit->info.input_interpolate_loc[i]);
/* keeps track if flat interpolation mode is being used */
- emit->uses_flat_interp
= emit->uses_flat_interp ||
+ emit->uses_flat_interp
|=
(interpolationMode == VGPU10_INTERPOLATION_CONSTANT);
name = VGPU10_NAME_UNDEFINED;