mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 08:58:10 +02:00
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> |
||
|---|---|---|
| .. | ||
| common | ||
| csbgen | ||
| include | ||
| rogue | ||
| vulkan | ||
| .clang-format | ||
| .dir-locals.el | ||
| .editorconfig | ||
| meson.build | ||