pan/midgard: Fix liveness analysis with multiple epilogues
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 3 Dec 2019 15:37:01 +0000 (10:37 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Mon, 16 Dec 2019 09:10:33 +0000 (09:10 +0000)
commit3448b2641a475fce9220ade229570e342882f637
treec2d2ffd1aa866d2ee91842e1784ba9da9dfd24d1
parent60396340f5b9bef009e8bc34696a981f5e2b3ae2
pan/midgard: Fix liveness analysis with multiple epilogues

Epilogues are special fixed-function blocks, so they need special
handling for liveness analysis to work completely. This in turns fixes
RA issues for many shaders using MRT.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Visoso <tomeu.vizoso@collabora.com>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_liveness.c