mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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:
parent
de4fb088d3
commit
7e83962e85
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue