mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
v3d: Don't try to set PF flags on a LDTMU operation
We need an ALU op in order to set PF. Fixes a recent assertion failure in dEQP-GLES3.functional.ubo.single_basic_type.shared.bool_vertex
This commit is contained in:
parent
03928dd682
commit
538bca78e2
1 changed files with 6 additions and 0 deletions
|
|
@ -1006,6 +1006,12 @@ vir_can_set_flags(struct v3d_compile *c, struct qinst *inst)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (inst->qpu.type != V3D_QPU_INSTR_TYPE_ALU ||
|
||||
(inst->qpu.alu.add.op == V3D_QPU_A_NOP &&
|
||||
inst->qpu.alu.mul.op == V3D_QPU_M_NOP)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue