tu: Enable uniform texture buffers with NPOT formats
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 10 Jun 2022 15:15:09 +0000 (17:15 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 15 Jun 2022 22:48:38 +0000 (22:48 +0000)
commit2e63c570ddc75b9f68327a9bc5402599bb443dbf
tree760597762146230cef8fa328517406b9a5edd04b
parentdb2d2649897fd40891548e08f2a41ba8759b0fe3
tu: Enable uniform texture buffers with NPOT formats

This is enough for zink to expose ARB_texture_buffer_object_rgb32 and
therefore GL 4.0. We could enable sampled images with a few more
workarounds, but the blob doesn't bother and there isn't any need at the
moment.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16980>
src/freedreno/vulkan/tu_formats.c