radv: Add utilities to serialize and deserialize shader allocation info
authorFriedrich Vock <friedrich.vock@gmx.de>
Fri, 2 Jun 2023 12:42:06 +0000 (14:42 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Jul 2023 15:58:24 +0000 (15:58 +0000)
commit744357477efaa0190c25f77fc15b744ff3931786
treee90fe1c26411bff761eee2ae965b9137c9e6de25
parentd23e41de6cd9d87e820b07a0353780dc771e39a1
radv: Add utilities to serialize and deserialize shader allocation info

Can be used to capture/replay an arbitrary sequence of shader
allocations while preserving VAs.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23516>
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h