swr: fix assertion for max number of so targets
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 27 Nov 2016 05:46:33 +0000 (00:46 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 1 Dec 2016 01:36:00 +0000 (20:36 -0500)
commit3d837a8871e83e86da7e76ef855e8a877e8c971c
tree2552634a39e2890d9b1a34df4d2f6f907fc6ad8b
parent02b2efa5eb87416b48d530ceeaada039ca785539
swr: fix assertion for max number of so targets

The number has to be less than or equal to the max, not just less than.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/swr_state.cpp