Skip to content
Snippets Groups Projects
Commit 9a7b3199 authored by Lionel Landwerlin's avatar Lionel Landwerlin
Browse files

anv/query: flush render target before copying results


This change tracks render target writes in the pipeline and applies a
render target flush before copying the query results to make sure the
preceding operations have landed in memory before the command streamer
initiates the copy.

v2: Simplify logic in CopyQueryResults (Jason)

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108909
Fixes: 37f9788e ("anv: flush pipeline before query result copies")
Cc: mesa-stable@lists.freedesktop.org
parent c1b6cb06
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment