mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
freedreno/ir3: Update physical_predecessors for streamout block
Caught by newly added ir3_validate checks. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12742>
This commit is contained in:
parent
137471ca89
commit
20ec247cb8
1 changed files with 5 additions and 0 deletions
|
|
@ -3191,8 +3191,13 @@ emit_stream_out(struct ir3_context *ctx)
|
|||
orig_end_block->successors[0] = stream_out_block;
|
||||
orig_end_block->successors[1] = new_end_block;
|
||||
|
||||
orig_end_block->physical_successors[0] = stream_out_block;
|
||||
orig_end_block->physical_successors[1] = new_end_block;
|
||||
|
||||
stream_out_block->successors[0] = new_end_block;
|
||||
|
||||
stream_out_block->physical_successors[0] = new_end_block;
|
||||
|
||||
/* setup 'if (vtxcnt < maxvtxcnt)' condition: */
|
||||
cond = ir3_CMPS_S(ctx->block, vtxcnt, 0, maxvtxcnt, 0);
|
||||
cond->dsts[0]->num = regid(REG_P0, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue