agx: Handle blocks with no predecessors
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 10 Aug 2023 17:36:55 +0000 (13:36 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 20:31:28 +0000 (20:31 +0000)
commitb3ed5228b471e860176bc763b3322c10c9443f52
tree473083a044b98d3135f8e6aee605e5a78b0c9c69
parentc247de37bbcbfeb92971ce91ef774abe46afd815
agx: Handle blocks with no predecessors

This can come up with loops with SPIR-V. Fixes:

dEQP-VK.spirv_assembly.instruction.compute.loop_control.none

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
src/asahi/compiler/agx_register_allocate.c