Skip to content

turnip: Add support for uniform texel buffers.

Emma Anholt requested to merge anholt/mesa:tu-texel-buffer into master

Pretty straightforward: Port texture descriptor code from freedreno, fill in alignment limits from closed vk, and tu_cmd_buffer.c was already uploading the texture descriptor.

This doesn't implement storage texel buffers (required in the compute pipeline) yet, since those will need an IBO descriptor for the store path. Still, making the load path be connected to the texture descriptor won't hurt.

Fixes dEQP-VK.binding_model.shader_access.primary_cmd_buf.uniform_texel_buffer.*

Part of #2237 (closed)

Merge request reports