diff --git a/.pick_status.json b/.pick_status.json index 7ca6db92d8c..ef6f56c7dce 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -114,7 +114,7 @@ "description": "radeonsi: fix crash in si_update_tess_io_layout_state for gfx8 and earlier", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.cpp b/src/gallium/drivers/radeonsi/si_state_shaders.cpp index 1ae91ab54eb..efc54f2b1ed 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.cpp +++ b/src/gallium/drivers/radeonsi/si_state_shaders.cpp @@ -4450,6 +4450,11 @@ void si_update_tess_io_layout_state(struct si_context *sctx) } else { ls_current = sctx->shader.vs.current; ls = sctx->shader.vs.cso; + + if (!ls_current) { + sctx->do_update_shaders = true; + return; + } } if (sctx->last_ls == ls_current && sctx->last_tcs == tcs &&