소스 검색

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>
tags/19.0-branchpoint
Karol Herbst 6 년 전
부모
커밋
30b5c9eda2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp

+ 1
- 1
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp 파일 보기

@@ -1045,7 +1045,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…
취소
저장