freedreno/ir3: Add descriptor set lowering
authorRob Clark <robdclark@chromium.org>
Sat, 31 Dec 2022 19:35:15 +0000 (11:35 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 18 Jan 2023 06:10:10 +0000 (06:10 +0000)
commita45d111c1870d7fa8450188fd03885c782124fc9
treebd44502d56d512dc9fb64cc38ffcdc1976c947f4
parent066ff5c759311ae82f80021bd0913804e2c2444b
freedreno/ir3: Add descriptor set lowering

Add support to lower IBO (image/SSBO) and fb-read to use bindless
descriptors.  This will be used by a6xx to avoid having to merge image
and SSBO state into a single compact IBO descriptor, and also simplify
enabling image and SSBO support for additional shader stages (since each
stage can use it's own descriptor set).

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20687>
src/gallium/drivers/freedreno/ir3/ir3_descriptor.c [new file with mode: 0644]
src/gallium/drivers/freedreno/ir3/ir3_descriptor.h [new file with mode: 0644]
src/gallium/drivers/freedreno/meson.build