radv: update the number of scratch waves for RT prolog at bind time
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 4 Aug 2023 15:48:10 +0000 (17:48 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 8 Aug 2023 09:28:54 +0000 (09:28 +0000)
commitea3119353218e5c0344ecef39ca26d0f43864d70
treefb65bdadaf26ed4d7e133097681f21140c90d04c
parent44e82a6cf11317c2486f8470839cf9c8789326fc
radv: update the number of scratch waves for RT prolog at bind time

The compute scratch size is computed later because the RT stack size
can be dynamic, but the number of waves shouldn't change.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24502>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c