radeonsi: update scratch va for mesh shader
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37505>
This commit is contained in:
@@ -4497,6 +4497,12 @@ static bool si_update_scratch_relocs(struct si_context *sctx)
|
||||
si_pm4_bind_state(sctx, vs, sctx->shader.tes.current);
|
||||
}
|
||||
|
||||
r = si_update_scratch_buffer(sctx, sctx->ms_shader_state.current);
|
||||
if (r < 0)
|
||||
return false;
|
||||
if (r == 1)
|
||||
si_pm4_bind_state(sctx, gs, sctx->ms_shader_state.current);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user