mesa/src/imagination
Karmjit Mahil aa791961a8 pvr: Add support for dynamic buffers descriptors
This is based on the new approach of having a descriptor set
addresses table in memory. To handle dynamic offsets provided on
vkCmdBindDescriptorSets() we duplicate the set with dynamic
descriptors, apply the offsets, and write the new bo's address
into the table. There are better ways of handling dynamic
descriptors but this implementation won't require many/if any
changes in the compiler code.

The descriptor set itself doesn't allocate and reserve space for
the dynamic descriptors since they would all be collected together
when creating the pipeline layout. While copying the descriptor
set we allocate extra space at the end for the dynamic primaries
and secondaries to account for that.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21391>
2023-02-23 16:26:51 +00:00
..
common pvr: debug: Add option to zero-alloc all buffer objects 2022-12-01 15:05:59 +00:00
csbgen pvr: Add firmware stream support for transfer submit 2023-02-08 16:33:35 +00:00
include pvr: Check depth/stencil attachment is tile-aligned 2022-12-08 14:53:13 +00:00
rogue pvr: Use descriptor/set/table offsets from driver 2023-02-20 13:34:03 +00:00
vulkan pvr: Add support for dynamic buffers descriptors 2023-02-23 16:26:51 +00:00
.clang-format pvr: Additional register subarray support 2023-02-20 13:34:03 +00:00
.dir-locals.el
.editorconfig pvr: Change indentation from tab to spaces for xml files. 2022-08-31 08:26:17 +00:00
meson.build