pan/bi: Skip nir_opt_move/sink for blend shaders
authorIcecream95 <ixn@disroot.org>
Wed, 7 Apr 2021 11:43:05 +0000 (23:43 +1200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 22 Apr 2021 23:13:27 +0000 (23:13 +0000)
commitab3a72cc2057beb90acb5346c48baa29d6d2fa52
tree0e55beca8b6717d65432ca7206194bae2e83a7de
parentabcefaffb16a35364a61bbeb8e0dc8e4e3e4e135
pan/bi: Skip nir_opt_move/sink for blend shaders

Otherwise the dual-source input load is moved further down in the
shader, so the registers can get clobbered before then.

Fixes text not being visible in Alacritty.

Fixes: 52863f2e60f ("pan/bi: Enable all nir_opt_move/sink optimizations")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10089>
src/panfrost/bifrost/bifrost_compile.c