pan/midgard: Lower SSBOs in NIR
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 5 Nov 2019 13:59:49 +0000 (08:59 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 13:56:59 +0000 (13:56 +0000)
commit3148937ef7c7be7a0685de333de6a5ed31ce3857
treeb098ea4284ec8e9f18afae39c3c0abd334a6bbe4
parent99f2b6144b5c3c4f48096ed0de4b15d1d13afd96
pan/midgard: Lower SSBOs in NIR

We need to lower SSBOs to globals regardless. Rather than do this in our
backend like we do now, use the common NIR pass, which will support
bounds checking.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3775>
src/panfrost/midgard/midgard_compile.c