freedreno/ir3: fix has_latency_to_hide
authorRob Clark <robdclark@chromium.org>
Fri, 28 Feb 2020 23:45:53 +0000 (15:45 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Mar 2020 16:01:39 +0000 (16:01 +0000)
commit9ae93be8fbdf753e07fbf1b707ce3bc89105b5a9
tree209c9ede764538ff4260089a02e2df1fc94b4f87
parentb6eb11295a7fab543d738263798b96883e3a658b
freedreno/ir3: fix has_latency_to_hide

Also count tex-prefetch instructions.  And only let the no-latency rule
kick in for frag shaders.

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