aco: Implement b2b32 and b2b1
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 27 Mar 2020 16:49:14 +0000 (11:49 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 15:46:19 +0000 (15:46 +0000)
commit16a80ff18a0c6210f9c4c6d2668537dba2349608
treeeca8759d759ad60d782a5c2b8eb63e1e7cafedc4
parentb2db84153a75f44daa6c5ca259a62682f714f723
aco: Implement b2b32 and b2b1

The implementations here just clone i2b32 and i2b1.  This means that
b2b32 doesn't technically generate true NIR 0/-1 booleans but it should
be fine as it's only ever generated for shared variable writes which
will always be consumed by something which will then run it through an
i2b again.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4338>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection_setup.cpp