mesa/src
Zan Dobersek a9b781fa54 tu: use either the 16-bit or 32-bit descriptor
Until now, if the 16-bit storage functionality is supported by the
hardware, two separate descriptors were set up, with isam loads and stores
piping through the descriptor of the corresponding size and other storage
access using the 16-bit descriptor.

These changes keep separate descriptors on a650, but leverage post-a650
isam.v functionality that enables use of 16-bit descriptors for 32-bit
loads, removing the need for the separate 32-bit descriptor.

Storage buffer descriptors are set up according to 16-bit storage support
and the indicated isam.v support, using those descriptors for 32-bit isam
loads as well if the latter is present.

Dynamic offset application in tu_CmdBindDescriptorSets is modified to
determine the offset shift value based on the descriptor's format and not
on the descriptor's position in the layout binding.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28254>
2024-07-03 08:31:39 +00:00
..
amd glsl: fix indirect tess factor access for compact_arrays=false drivers 2024-07-03 02:06:56 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi asahi: Make asahi_clc build work on x86_64->x86 builds 2024-06-22 10:09:45 -04:00
broadcom broadcom/compiler: add missing signal compatibilities for V3D 7.x 2024-07-03 08:05:37 +02:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler glsl: fix indirect tess factor access for compact_arrays=false drivers 2024-07-03 02:06:56 +00:00
drm-shim build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
egl egl/wayland: fix memory leak in error handling case 2024-07-02 17:45:12 +00:00
etnaviv etnaviv: isa: Extend disasm test 2024-07-03 00:07:55 +00:00
freedreno tu: use either the 16-bit or 32-bit descriptor 2024-07-03 08:31:39 +00:00
gallium glsl: fix indirect tess factor access for compact_arrays=false drivers 2024-07-03 02:06:56 +00:00
gbm build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
glx build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imgui
intel intel/brw: Move brw_reg helpers into brw_reg.h 2024-07-03 02:53:19 +00:00
loader build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
mapi build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
mesa build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
microsoft build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
nouveau build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
panfrost build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
tool build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util blake3: fix Windows ARM64 build and detect ARM64EC as ARM64 2024-07-02 22:17:17 +00:00
virtio venus: tentative fix for test flakiness from invalid ring wait 2024-07-02 03:25:49 +00:00
vulkan vulkan/properties: handle LayeredApiPropertiesListKHR 2024-07-02 20:24:43 +00:00
.clang-format asahi: add agx_ppp_push_merged helper 2024-05-14 04:57:27 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00