mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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>
This commit is contained in:
parent
e82b05dc64
commit
17e7fe9d97
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ anv_descriptor_data_for_type(const struct anv_physical_device *device,
|
|||
break;
|
||||
|
||||
case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
|
||||
data = ANV_DESCRIPTOR_SURFACE_STATE;
|
||||
data = ANV_DESCRIPTOR_SURFACE_STATE |
|
||||
ANV_DESCRIPTOR_SAMPLED_IMAGE;
|
||||
break;
|
||||
|
||||
case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue