swr: properly report max number of SO components
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 27 Nov 2016 05:45:17 +0000 (00:45 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 1 Dec 2016 01:35:56 +0000 (20:35 -0500)
commit02b2efa5eb87416b48d530ceeaada039ca785539
tree1cfe9b3047ce5e651945a36efb81b966f28b4f3c
parentab3bbe06edbf459b24cb6908393679d29adf3a2c
swr: properly report max number of SO components

The components count the number of individual values, not the number of
slots.

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