bifrost: Emit "d3d" variant of comparison instructions
authorChris Forbes <chrisforbes@google.com>
Sun, 26 Jul 2020 17:31:13 +0000 (10:31 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Jul 2020 16:53:52 +0000 (16:53 +0000)
commitec37c7126dc9c2ea02a7910c82c1085e96ad5654
tree9d77bb12534708c31377728879ab1b6d49e57c9a
parent0ffefad7916969b4de24aa14140f5e40d0cec58a
bifrost: Emit "d3d" variant of comparison instructions

The "d3d" variant uses ~0 as the true value. This is consistent
with NIR's nir_lower_bool_to_int32 pass.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6079>
src/panfrost/bifrost/bi_pack.c