radv: fix re-emitting VRS state when rendering begins
This state also depends on whether a VRS attachment is used. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11693 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34735> (cherry picked from commit 1fccc09abe472704982fd01c01c0b35b42096130)
This commit is contained in:

committed by
Eric Engestrom

parent
f2a54f5244
commit
03dc23baa2
@@ -604,7 +604,7 @@
|
||||
"description": "radv: fix re-emitting VRS state when rendering begins",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
@@ -9342,6 +9342,8 @@ radv_CmdBeginRendering(VkCommandBuffer commandBuffer, const VkRenderingInfo *pRe
|
||||
|
||||
cmd_buffer->state.dirty_dynamic |=
|
||||
RADV_DYNAMIC_DEPTH_BIAS | RADV_DYNAMIC_STENCIL_TEST_ENABLE | RADV_DYNAMIC_COLOR_BLEND_ENABLE;
|
||||
if (pdev->info.gfx_level >= GFX10_3)
|
||||
cmd_buffer->state.dirty_dynamic |= RADV_DYNAMIC_FRAGMENT_SHADING_RATE;
|
||||
if (pdev->info.gfx_level >= GFX12)
|
||||
cmd_buffer->state.dirty_dynamic |= RADV_DYNAMIC_RASTERIZATION_SAMPLES;
|
||||
|
||||
|
Reference in New Issue
Block a user