radv: add new upload alloc aligned api
authorDave Airlie <airlied@redhat.com>
Wed, 30 Nov 2022 23:42:03 +0000 (09:42 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Feb 2023 02:47:39 +0000 (12:47 +1000)
commitee7837aae2bfec61961cc6cbb54d0e3002a238af
tree7f46ab18baec177412a556657afbdf7ca8f839a8
parent855ad612e18b8faa0c5930cb25bba82e669c5d3a
radv: add new upload alloc aligned api

The video buffers need to have objects aligned at certain ranges,
this enhances the uploader to allow an alignment to be specified.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20388>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h