mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 09:08:07 +02:00
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> |
||
|---|---|---|
| .. | ||
| ci | ||
| clc | ||
| compiler | ||
| drm-shim | ||
| ds | ||
| genxml | ||
| lib | ||
| libpan | ||
| model | ||
| perf | ||
| shared | ||
| tools | ||
| vulkan | ||
| .clang-format | ||
| meson.build | ||