zink: use lower_scmp instead of open-coding
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 5 Jan 2021 17:36:09 +0000 (18:36 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 5 Jan 2021 18:13:05 +0000 (18:13 +0000)
commit43302ead3830f423d7588596cf2e0dd9340edff6
treee1328219763e2a30fc543aef4f43741129a11261
parent94b84f1eed4d6ee4c951431dca325343700eceaf
zink: use lower_scmp instead of open-coding

We already have the proper lowering in NIR for this, so there's no point
in doing our own implementations of these. The end result is the same
code anyway.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8335>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/gallium/drivers/zink/zink_compiler.c