OSDN Git Service

nv50/ir: disable tryCollapseChainedMULs in ConstantFolding for precise instructions
authorKarol Herbst <kherbst@redhat.com>
Thu, 17 Jan 2019 22:32:19 +0000 (23:32 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 29 Jan 2019 17:44:27 +0000 (17:44 +0000)
commit98a661f2b19a8e4346163fa1d030d6d9af293d32
treef528bb84dd0c3aa2b3b8b8393bbcc06d1cc4dc4b
parentea2bf29ed927f0f70997c38ba2894ea426d6f257
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 30b5c9eda2fe4c335cc15cb921e4f7774af0879e)
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp