mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-30 07:28:20 +02:00
v3d: Fix an invalid reuse of flags generation from before a thrsw.
Noticed while debugging the last GLES 3.1 failure, though it doesn't seem to affect that bug.
This commit is contained in:
parent
db4a70e678
commit
1ce143ca19
1 changed files with 4 additions and 0 deletions
|
|
@ -107,6 +107,10 @@ vir_opt_redundant_flags_block(struct v3d_compile *c, struct qblock *block)
|
|||
continue;
|
||||
}
|
||||
|
||||
/* Flags aren't preserved across a thrsw. */
|
||||
if (inst->qpu.sig.thrsw)
|
||||
last_flags = NULL;
|
||||
|
||||
if (inst->qpu.flags.apf != V3D_QPU_PF_NONE ||
|
||||
inst->qpu.flags.mpf != V3D_QPU_PF_NONE) {
|
||||
if (last_flags &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue