panfrost: Move sysvals to dedicated UBO
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 29 Jan 2021 23:06:02 +0000 (18:06 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 11 Feb 2021 17:24:37 +0000 (17:24 +0000)
commitdb7e2dce1c83f826f01a6d9508b84afe34097347
treef892fdf5237a453a7dd7984d382ed81680d74fe3
parent0dc539a87227e88bbee790ecc6ec8ec6eb991333
panfrost: Move sysvals to dedicated UBO

This makes UBO 0 less special, allowing us to generalize uniform
optimization. Note this disables RMU on Midgard as we're about to
rewrite the RMU mechanism.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8973>
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_cmdstream.c
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_schedule.c