radv: Add radv_rt_capture_replay_handle
authorFriedrich Vock <friedrich.vock@gmx.de>
Fri, 2 Jun 2023 15:44:12 +0000 (17:44 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Jul 2023 15:58:25 +0000 (15:58 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23516>

src/amd/vulkan/radv_private.h

index 6600404..17a3e9a 100644 (file)
@@ -2207,6 +2207,11 @@ struct radv_serialized_shader_arena_block {
    uint32_t arena_size;
 };
 
+struct radv_rt_capture_replay_handle {
+   struct radv_serialized_shader_arena_block recursive_shader_alloc;
+   uint32_t non_recursive_idx;
+};
+
 enum radv_depth_clamp_mode {
    RADV_DEPTH_CLAMP_MODE_VIEWPORT = 0,    /* Clamp to the viewport min/max depth bounds */
    RADV_DEPTH_CLAMP_MODE_ZERO_TO_ONE = 1, /* Clamp between 0.0f and 1.0f */