pan/bi: Add `soft` NIR->BIR condition translation
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 21 Mar 2020 22:12:31 +0000 (18:12 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sun, 22 Mar 2020 03:32:35 +0000 (03:32 +0000)
commit5a02c871f2367abf7d87569819d7ae4ebb1336d4
tree0855a47418b1e79b4750c275cbe0eed712c54161
parentcd7fec782edd3c6d2e154994c15ceee65c3c0dc9
pan/bi: Add `soft` NIR->BIR condition translation

We would like to use this routine opportunistically when fusing
conditions into csels and branches, so let's add a mode where we don't
abort.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4276>
src/panfrost/bifrost/bifrost_compile.c