radv: fix emitting VRS state with a null fragment shader
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 May 2023 09:58:42 +0000 (11:58 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 17 May 2023 06:12:19 +0000 (06:12 +0000)
commit518425d107f578207836ad4e4b2f26b12487b36f
tree3a2366130bb8534880f71fd43afc79af3e62b78d
parentcc99fd42f6d04e7adea0f6eb59750e34af764734
radv: fix emitting VRS state with a null fragment shader

Found this while debugging a VRS issue with Valhalla.

Fixes: 87245c6e8e6 ("radv: handle NULL fragment shaders when recording cmdbuf")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23050>
src/amd/vulkan/radv_cmd_buffer.c