agx: Implement emit_if the simplest way
authorAlyssa Rosenzweig <alyssa@collabora.com>
Sun, 23 May 2021 21:26:50 +0000 (17:26 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 30 May 2021 19:53:35 +0000 (01:23 +0530)
commitcf43206e76ac567e4ba5a8cc36ff96f04d4b4994
treee0c01bf9051b96ad975e7abb6737e5807a3bc097
parent3def66e8aaafd6213413bd2d22b5aa8bef3d02c0
agx: Implement emit_if the simplest way

Lots of optimizations are possible from here.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11023>
src/asahi/compiler/agx_compile.c