mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
v3d: Don't set the first_ez_state to DISABLED if after only UNDECIDED draws.
We need to have the RCL start with EZ enabled, since those undecided draws had EZ enabled. But we do need to update from UNDECIDED to LT or GT as necessary still. Fixes many simulator assertion fails in deqp fragment_ops/interaction/basic_shader/*
This commit is contained in:
parent
9080642449
commit
6784aa9870
1 changed files with 2 additions and 1 deletions
|
|
@ -371,7 +371,8 @@ v3d_update_job_ez(struct v3d_context *v3d, struct v3d_job *job)
|
|||
job->ez_state = VC5_EZ_DISABLED;
|
||||
}
|
||||
|
||||
if (job->first_ez_state == VC5_EZ_UNDECIDED)
|
||||
if (job->first_ez_state == VC5_EZ_UNDECIDED &&
|
||||
(job->ez_state != VC5_EZ_DISABLED || job->draw_calls_queued == 0))
|
||||
job->first_ez_state = job->ez_state;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue