mesa/src/panfrost
Lars-Ivar Hesselberg Simonsen a21ee564e2 pan/bi: Make texel buffers use Attribute Buffers
Texel buffers are currently described by a TextureDescriptor, which
leads to restrictive limits on size and alignment. These limits can be
avoided by using AttributeDescriptors + AttributeBufferDescriptors
instead.

This requires us to access texel buffers using attributes rather than
textures, which involves setting up AttributeDescriptors and
AttributeBufferDescriptors in their respective allocations, rather than
the previous TextureDescriptors in the texture allocation.

This is already done for images, so we simply place the texel buffer
attributes after the images and ensure the indexing if offset correctly.

Accessing a texel buffer thus becomes:
1. Get the buffer address and ConversionDescriptor with LEA_ATTR[_IMM]
2. Use LD_CVT to get the value

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38490>
2026-01-13 10:00:58 +01:00
..
ci pan/ci: Keep THP enabled on the g52-piglit job 2026-01-08 13:58:31 +00:00
clc pan: Move PRINTF_BUFFER_SIZE to the compiler 2025-12-03 18:28:44 +00:00
compiler pan/bi: Make texel buffers use Attribute Buffers 2026-01-13 10:00:58 +01:00
drm-shim pan drm-shim: add a way to specify the GPU variant in PAN_GPU_ID 2025-12-22 13:40:03 +00:00
ds panfrost/perfetto: Use Android-internal perfetto 2025-08-19 15:02:06 +00:00
genxml panvk: Use a full-screen barrier draw for FB barriers 2026-01-12 18:51:59 +00:00
lib pan/bi: Make texel buffers use Attribute Buffers 2026-01-13 10:00:58 +01:00
libpan panvk: remove AFBC header zeroing 2025-12-17 12:33:58 +00:00
model panfrost,nir: drop my lonely Authors tags 2026-01-05 17:47:52 +00:00
perf pan/kmod: Cache the device props at the pan_kmod_dev level 2025-12-12 10:15:30 +01:00
shared panfrost,nir: drop my lonely Authors tags 2026-01-05 17:47:52 +00:00
tools pan/kmod: Cache the device props at the pan_kmod_dev level 2025-12-12 10:15:30 +01:00
vulkan pan/bi: Make texel buffers use Attribute Buffers 2026-01-13 10:00:58 +01:00
.clang-format panvk: Add various flush/invalidate helpers for internal BOs 2025-12-12 10:15:41 +01:00
meson.build pan: Add a central libpanfrost_compiler library 2025-12-02 21:00:30 +00:00