radv/rra: Copy accel structs directly after build
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Mon, 28 Nov 2022 19:11:17 +0000 (20:11 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Dec 2022 16:48:07 +0000 (16:48 +0000)
commitae9c65a55282d780a58c5c1e60b2c06e968491a8
tree7e782bfb1506c436e09bc2aea38556fb9b13983e
parent08a85076e5e82293ab6426d258c60795a74bf931
radv/rra: Copy accel structs directly after build

This is the second step of decoupling acceleration structure dumping
from lifetimes. It also simplifies the logic a bit.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20047>
src/amd/vulkan/layers/radv_rra_layer.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_rra.c