mesa: remove redundant modulus operation
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 23 May 2017 12:01:52 +0000 (22:01 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 25 May 2017 02:20:49 +0000 (12:20 +1000)
commitfd461b22e9573ba1bf7d86aa22569ace99e033ab
tree3b9bd1382cdaa32ab541b8a28d0563eda12dc690
parent4a6fdeab05227457282fcef28c041fe0eb9369be
mesa: remove redundant modulus operation

The if check above means we can only get here if size is less than 4.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/program/prog_parameter.c