mesa/src/panfrost
Alyssa Rosenzweig 277b616962 pan/mdg: Precolour blend inputs
Instead of requiring an explicit unoptimized move, we can implicitly
colour the blend input intrinsic to r0, where it will be preloaded; this
is a simple task for RA, and does not conflict with anything. If there
are multiple duplicate loads, the latter ones can just be simple moves
which will be copypropped.

We don't need to include a explicit synthetic load, since (scanning
backwards) the read will cause the input to become live at the right
time and the lack of an explicit write will keep it live from the
beginning of the shader. So no need to make it more complicated than it
needs to be.

Saves a cycle in blend shaders.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5449>
2020-06-15 13:29:25 +00:00
..
bifrost pan/bi: Disassemble gl_PointCoord reads. 2020-06-03 22:58:46 +00:00
encoder pan_bo.h: add time.h include for time_t 2020-06-07 18:08:17 +02:00
include panfrost: Allow R/RG/RGB varyings 2020-06-12 14:45:50 +00:00
midgard pan/mdg: Precolour blend inputs 2020-06-15 13:29:25 +00:00
pandecode panfrost: Document MALI_WRITES_GLOBAL bit 2020-06-03 20:48:24 +00:00
shared meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
util panfrost: Use shader_info harder 2020-06-12 14:45:50 +00:00
Android.bifrost.mk panfrost: Align Android makefiles with recent changes 2020-04-22 00:27:15 +00:00
Android.encoder.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.midgard.mk panfrost: Align Android makefiles with recent changes 2020-03-23 14:03:22 +00:00
Android.mk panfrost: Align Android makefiles with recent changes 2020-03-23 14:03:22 +00:00
Android.pandecode.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.shared.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.util.mk panfrost: Align Android makefiles with recent changes 2020-03-23 14:03:22 +00:00
Makefile.sources pan/mdg: Fuse f2f16 into load_interpolated_input 2020-06-01 12:37:03 -04:00
meson.build panfrost: don't always build bifrost_compiler 2020-05-09 01:27:41 +00:00