summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-09-27 20:18:16 -0400
committerAlyssa Rosenzweig <[email protected]>2019-09-30 08:40:13 -0400
commit1409af9fc758b88601ceb02a1abf3cd263a224a2 (patch)
tree444a55dec91f766104f04bc8e21963db4293bac9 /src/egl
parente9571b53e1b2d7dfa8cff5281890d6111c28fb74 (diff)
pan/midgard: Add distance metric to choose_instruction
We require chosen instructions to be "close", to avoid ballooning register pressure. This is a kludge that will go away once we have proper liveness tracking in the scheduler, but for now it prevents a lot of needless spilling. v2: Lower threshold to 6 (from 8). Schedule is hurt, but a few shaders that spilled excessively are fixed. Signed-off-by: Alyssa Rosenzweig <[email protected]> Derp
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions