pan/bi: Check return addresses in blend shaders
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 17 Mar 2022 16:31:28 +0000 (12:31 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 25 Mar 2022 19:00:13 +0000 (19:00 +0000)
commitc7f6b973b210fd27ae677f7cc907cbbdde3cdbe6
tree5e3926157c13599f99629c1c2bbff0514346405b
parent1b7d7ebbab78063478a1b3b243cf3c56bed664f6
pan/bi: Check return addresses in blend shaders

Required on Valhall, where jumping to 0x0 doesn't automatically terminate the
program. Luckily the check is free there too.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15223>
src/panfrost/bifrost/bifrost_compile.c