anv: make input attachments available through bindless
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 25 Mar 2022 12:59:05 +0000 (14:59 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 17 Apr 2023 22:43:37 +0000 (22:43 +0000)
commit17e7fe9d975c3b2f295c7a23c69455f57f56b836
tree675c4f4ff65f09e807e5dc443ac5f163c5285244
parente82b05dc644098c371b0adb332b927cfd21dd74c
anv: make input attachments available through bindless

With independent sets, we cannot bake into the shader the binding
table entry of input attachments anymore because that final location
is affected by multiple sets.

We can still access them by looking into the descriptor buffer. This
change enables the image handle to be stored in the descriptor buffer.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15637>
src/intel/vulkan/anv_descriptor_set.c