pan/{mdg, bi}: Lower load_sample_pos
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 27 Jan 2021 21:19:04 +0000 (16:19 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 12 Feb 2021 21:44:31 +0000 (16:44 -0500)
commit856f0abd2b7106dc0e95b7beef3435a3295e879a
tree11832dbf12749aa08289f7f49fdc8c7688c385ad
parent00c1d5da34716d388b8cb2f2a4b289794ee3ffbb
pan/{mdg, bi}: Lower load_sample_pos

Conceptually same lowering as the DDK, although we're missing a number
of relevant compiler optimizations so the generated code is awful.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8774>
src/panfrost/Makefile.sources
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/midgard/midgard_compile.c
src/panfrost/util/meson.build
src/panfrost/util/pan_ir.h
src/panfrost/util/pan_lower_sample_position.c [new file with mode: 0644]