gallium/aux: add PIPE_CAP_MAX_VARYINGS to u_screen
authorAlok Hota <alok.hota@intel.com>
Mon, 11 Feb 2019 18:59:05 +0000 (12:59 -0600)
committerAlok Hota <alok.hota@intel.com>
Wed, 13 Feb 2019 21:08:14 +0000 (15:08 -0600)
commit736241892fd80efb700f38321b917166750a63da
tree92c36e998a343ff0d49b1c0c6fb6ffe492ded7ad
parente8566d709854594f0649f7f115422e2806e548c9
gallium/aux: add PIPE_CAP_MAX_VARYINGS to u_screen

Allows drivers using `u_pipe_screen_get_param_defaults` to use a
fallback value for the new pipe cap. Default value of 8 based on GL 2.1
MAX_VARYING_FLOATS

Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/util/u_screen.c