zink: don't export PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS value
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 27 Jan 2021 14:58:13 +0000 (09:58 -0500)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 27 Jan 2021 15:44:50 +0000 (10:44 -0500)
commit86ff78e8fe55b424c6b853ead6979bcd46820d81
tree12163a0cc1b45ccde325feaa93d8876e8cef73c1
parentb2dbe2b87b5e7a1a19c4a95d7cc5c8cef0ab10cc
zink: don't export PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS value

gallium automatically sums up the per-stage buffers if this isn't set,
and some drivers (e.g., amdvlk) export UINT_MAX here which breaks the universe

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8742>
src/gallium/drivers/zink/zink_screen.c