lavapipe: correct reported number of UBOs
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 10 May 2021 16:15:57 +0000 (18:15 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 12 May 2021 08:52:36 +0000 (10:52 +0200)
commit790b9a5872b6456614de186ecea190450f7d0273
tree137777a78296e8acf14722ddfacb296886efb28a
parent7db79fa6773bd4168980fad5c8c8785adb34de76
lavapipe: correct reported number of UBOs

When emitting the state we add one to the UBO index, so we have to
subtract one from the number of UBOs that we support. This is still
fine, because Vulkan only requires 14 UBOs to be supported, and LLVMpipe
supports 16.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10731>
src/gallium/drivers/zink/ci/piglit-zink-lvp-fails.txt
src/gallium/frontends/lavapipe/lvp_device.c