mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
freedreno/sched: reset delay counters at start of block
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>
This commit is contained in:
parent
6717fd5719
commit
f598786775
2 changed files with 4 additions and 0 deletions
|
|
@ -581,6 +581,8 @@ static void
|
|||
sched_block(struct ir3_postsched_ctx *ctx, struct ir3_block *block)
|
||||
{
|
||||
ctx->block = block;
|
||||
ctx->tex_delay = 0;
|
||||
ctx->sfu_delay = 0;
|
||||
|
||||
/* move all instructions to the unscheduled list, and
|
||||
* empty the block's instruction list (to which we will
|
||||
|
|
|
|||
|
|
@ -979,6 +979,8 @@ sched_block(struct ir3_sched_ctx *ctx, struct ir3_block *block)
|
|||
ctx->addr0 = NULL;
|
||||
ctx->addr1 = NULL;
|
||||
ctx->pred = NULL;
|
||||
ctx->tex_delay = 0;
|
||||
ctx->sfu_delay = 0;
|
||||
|
||||
/* move all instructions to the unscheduled list, and
|
||||
* empty the block's instruction list (to which we will
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue