agx: Split nest instruction into begin_cf + break
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 29 Aug 2023 18:57:44 +0000 (14:57 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Sep 2023 18:50:34 +0000 (18:50 +0000)
commitff816f224b8131180bc0d4bf41a91fdb97079710
treee00cbcf97c225faace4e955e81f5fcb35043c255
parentb89c048c9bf27868ac151fcbd76bbb7fe876a73a
agx: Split nest instruction into begin_cf + break

We use it for two different things. Pseudo-instructions are cheap, split it up
for easier optimization passes. This also fixes the schedule classes.. we can
move the cf_begin around if we want, it's inert.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25052>
src/asahi/compiler/agx_compile.c
src/asahi/compiler/agx_compiler.h
src/asahi/compiler/agx_lower_pseudo.c
src/asahi/compiler/agx_opcodes.py