vc4: Try to schedule QIR instructions between writing to and reading math.
authorEric Anholt <eric@anholt.net>
Wed, 30 Nov 2016 20:19:38 +0000 (12:19 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 1 Dec 2016 03:58:09 +0000 (19:58 -0800)
commit6c34084d8eafff3a764cd1ad49afacd211470f7b
tree49c8fa14aa8360196a45abc3bdd885a517796e9b
parentd182740ac8bf2fc3aefe331235bfe72bbdd9987d
vc4: Try to schedule QIR instructions between writing to and reading math.

This helps us get the delay slots between SFU writes and reads filled.

total instructions in shared programs: 94494 -> 93970 (-0.55%)
instructions in affected programs:     59206 -> 58682 (-0.89%)

3DMMES performance +1.89967% +/- 0.157611% (n=10,9)
src/gallium/drivers/vc4/vc4_qir_schedule.c