radv/rt: Associate capture/replay handles with stages
authorFriedrich Vock <friedrich.vock@gmx.de>
Fri, 2 Jun 2023 15:38:35 +0000 (17:38 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Jul 2023 15:58:25 +0000 (15:58 +0000)
commit3e9bd821f15a5fa10bbe303e2b2fd4c2c6e0dc1a
tree61b6dadfc8da2594adfcdffae01480b589491bf3
parenteee0068943f586a2d1344e2b9880414f1b17dbfb
radv/rt: Associate capture/replay handles with stages

For stages where the capture/replay handle is only known after compiling
and uploading the shader, the shader needs to be relocated to the VA
corresponding to the capture/replay address.

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