freedreno/ir3/postsched: reset sfu_delay on sync
authorRob Clark <robdclark@chromium.org>
Wed, 6 May 2020 17:01:08 +0000 (10:01 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 May 2020 03:28:40 +0000 (03:28 +0000)
commit25f4fb346e1fad34ce1f2e9e39b062a303db4ce3
treef2a995d23d000fb9c17c6edd002231193d055480
parentf351e1d137603213b5daacece5ff67ad0786d982
freedreno/ir3/postsched: reset sfu_delay on sync

Once we schedule an instruction that will require an `(ss)` sync flag,
there is no need to delay any further instructions that consume an
SFU result (until the next SFU instruction is scheduled).

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4923>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_postsched.c