mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-26 06:40:38 +01:00
nv50/ir: disable tryCollapseChainedMULs in ConstantFolding for precise instructions
fixes dEQP-GLES2.functional.shaders.invariance.mediump.loop_3
CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
(cherry picked from commit 30b5c9eda2)
This commit is contained in:
parent
ea2bf29ed9
commit
98a661f2b1
1 changed files with 1 additions and 1 deletions
|
|
@ -1044,7 +1044,7 @@ ConstantFolding::opnd(Instruction *i, ImmediateValue &imm0, int s)
|
|||
break;
|
||||
}
|
||||
case OP_MUL:
|
||||
if (i->dType == TYPE_F32)
|
||||
if (i->dType == TYPE_F32 && !i->precise)
|
||||
tryCollapseChainedMULs(i, s, imm0);
|
||||
|
||||
if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue