nvir: run replaceZero() before replaceCvt()
authorBen Skeggs <bskeggs@redhat.com>
Mon, 8 Jun 2020 23:52:47 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:41 +0000 (22:52 +0000)
commita2420c2280f32d3c36b39522d1d3555fe5627d23
treea718ee01eb0312e39091f537058d64ed56529527
parent7dbb7572e2b5b96a9cc7767c7cbf550180ec78cd
nvir: run replaceZero() before replaceCvt()

replaceCvt() will miss some cases otherwise.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp