pan/bi: Emit Valhall-style varying stores
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 8 Dec 2021 00:14:58 +0000 (19:14 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Apr 2022 14:20:45 +0000 (14:20 +0000)
commitf79e33f82f8fadfc6415d1c8c36ce2f45bba9cc7
treed712368e4736ebba9959edd9ec8db090ef6d0645
parent14e7796d4ce234cdbabb18b2b48952b67a9c9338
pan/bi: Emit Valhall-style varying stores

Varying stores was changed in Valhall. Rather than using attribute descriptors
like on Bifrost and Midgard, on Valhall we store to memory directly with
hardware-allocated buffers. This requires a new implementation of store_output,
with special provisions for writing gl_PointSize from a position shader.

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