svga: simplify uses_flat_interp expression in emit_input_declarations()
Reviewed-by: Neha Bhende <bhenden@vmware.com>
This commit is contained in:
parent
c99f46c2ac
commit
93581c2ca0
|
@ -2396,7 +2396,7 @@ emit_input_declarations(struct svga_shader_emitter_v10 *emit)
|
||||||
emit->info.input_interpolate_loc[i]);
|
emit->info.input_interpolate_loc[i]);
|
||||||
|
|
||||||
/* keeps track if flat interpolation mode is being used */
|
/* 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);
|
(interpolationMode == VGPU10_INTERPOLATION_CONSTANT);
|
||||||
|
|
||||||
name = VGPU10_NAME_UNDEFINED;
|
name = VGPU10_NAME_UNDEFINED;
|
||||||
|
|
Loading…
Reference in New Issue