dzn: Don't enable bindless by default
authorJesse Natalie <jenatali@microsoft.com>
Fri, 7 Apr 2023 23:54:03 +0000 (16:54 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Apr 2023 18:43:12 +0000 (18:43 +0000)
commit3cbd4fb61bcec79f0fca150f303c79a44804b565
tree423fc0223632481a9f131015d639ce8661e2ca1b
parent4d142ec5945c45ea8c23a7c7ce184a741c7829b9
dzn: Don't enable bindless by default

There's bad interactions with dynamic buffers at this point:
* Perf issues due to allocating and freeing the buffer to store indices/offsets
* Large dynamic uniform buffer offsets (above 65K) cause out-of-bounds reads

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22371>
src/microsoft/vulkan/dzn_device.c