freedreno: clear last_fence after resource tracking
The resource tracking in the clear/draw_vbo/blit paths could itself trigger a flush. Which would update last_fence. So we need to clear last_fence *after* all the dependency tracking. Fixes: ddb7fada ("freedreno: avoid no-op flushes by re-using last-fence") Closes: mesa/mesa#2992 Signed-off-by:Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!5188> (cherry picked from commit 8728c420)
- .pick_status.json 1 addition, 1 deletion.pick_status.json
- src/gallium/drivers/freedreno/a6xx/fd6_blitter.c 6 additions, 2 deletionssrc/gallium/drivers/freedreno/a6xx/fd6_blitter.c
- src/gallium/drivers/freedreno/freedreno_draw.c 12 additions, 4 deletionssrc/gallium/drivers/freedreno/freedreno_draw.c