vc4: Avoid false scheduling dependencies for LOAD_IMMs.
authorEric Anholt <eric@anholt.net>
Wed, 30 Nov 2016 22:00:28 +0000 (14:00 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 1 Dec 2016 03:58:09 +0000 (19:58 -0800)
commit51244859e368d9270a1f2f84aec6e97fbc1f5fac
tree973693687a2e72d648f409145a810d64a1c89cfa
parent6c34084d8eafff3a764cd1ad49afacd211470f7b
vc4: Avoid false scheduling dependencies for LOAD_IMMs.

Noticed in shaders with branching, where we ended up scheduling delay
slots near the start of a block for the uniforms reset setup.

total instructions in shared programs: 93970 -> 93951 (-0.02%)
instructions in affected programs:     3117 -> 3098 (-0.61%)

3DMMES performance +0.423087% +/- 0.133521% (n=9,10)
src/gallium/drivers/vc4/vc4_qpu_schedule.c
src/gallium/drivers/vc4/vc4_qpu_validate.c