commit | d95a6e3a0ca2d4a420306dd078cea05d3f21c865 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@chromium.org> | Wed May 06 10:20:14 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Wed May 13 03:28:40 2020 +0000 |
tree | dfcc6c75e8cec0372de845d47c5e19a40e2432e5 | |
parent | 488cf208d5d90b0f3b3c346e0abb92e71597202f [diff] |
freedreno/ir3/sched: avoid scheduling outputs If an instruction's only use is as an output, and it increases register pressure, then try to avoid scheduling it until there are no other options. A semi-common pattern is `fragcolN.a = 1.0`, this pushes all these immed loads to the end of the shader. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4923>