radv: bind the pre-compiled PS epilog to the cmdbuf state
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 20 Jul 2023 12:40:28 +0000 (14:40 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Jul 2023 12:55:30 +0000 (12:55 +0000)
commit53d35c641da5e24f94bc38ba987b1d2f36aae33e
treef3ca25dc2d25b80862a026c42d94e089594745d8
parent55f05309caeb20cc3966c4b593b33af7bd8348b7
radv: bind the pre-compiled PS epilog to the cmdbuf state

For PS epilogs we have two paths, the first one is to pre-compile PS
epilogs at pipeline creation time, while the second one is to compile
PS epilogs on-demand when some dynamic states are used.

Binding the pre-compiled PS epilog to the cmdbuf state allows us to
remove one more pipeline dependency when recording cmdbufs (for shader
objects).

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