swr: set PIPE_CAP_MAX_VARYINGS correctly
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 14 Feb 2019 03:32:25 +0000 (22:32 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 15 Feb 2019 01:29:36 +0000 (20:29 -0500)
commit8c859367df95b74e7596f7fefffbdbf08bb8f8c7
tree55fd1ffbd2cb8a2afa9c4600992a19254fef776b
parent506446493118f76305153ab881e363a8a8f1dcde
swr: set PIPE_CAP_MAX_VARYINGS correctly

Unfortunately swr was missed in the original commit. The number of
varyings should generally match up to what's reported as the shader
caps for fragment inputs.

Fixes: 6010d7b8e8be (gallium: add PIPE_CAP_MAX_VARYINGS)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Alok Hota <alok.hota@intel.com>
Cc: 19.0 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/swr/swr_screen.cpp