diff options
author | Brian Paul <[email protected]> | 2018-03-06 09:29:21 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-03-23 09:03:26 -0600 |
commit | 93581c2ca0776b290f9817f46eaca5edfaa32528 (patch) | |
tree | 575bd8da3e04a12cb52e967e951f5a5eb0e7c907 /src/gallium/drivers/svga | |
parent | c99f46c2acb71ac00812d7e1059a0a1610824421 (diff) |
svga: simplify uses_flat_interp expression in emit_input_declarations()
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_tgsi_vgpu10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c index 04d83038b00..4292894056e 100644 --- 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; |