summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_query.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-07-28 10:04:25 -0700
committerRob Clark <[email protected]>2019-08-02 10:24:14 -0700
commite439f63467419d73e74bcefe07fd6094f34d7ae5 (patch)
tree32b6260d077d3a8910a64f80fa6778c358c3d691 /src/gallium/drivers/freedreno/freedreno_query.h
parentc93eae7f108d81239a03a195db334d41322d9152 (diff)
freedreno/batch: always update last_fence
Not all flush paths come thru fd_context_flush(), so we should also set last_fence in the batch flush path. This avoids some no-op flushes just to get a fence. For example when pctx->flush_resource() triggers a flush. We should probably keep the last_fence update in fd_context_flush() as well to handle deferred flush case. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_query.h')
0 files changed, 0 insertions, 0 deletions