summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_winsys.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-11-29 13:02:03 +0000
committerLionel Landwerlin <[email protected]>2018-11-29 22:07:31 +0000
commit37f9788e9a8e443772b5ad6f339567e6ae6a8320 (patch)
tree047cb68ab8f86ea66783f45745c38826ee324388 /src/gallium/drivers/virgl/virgl_winsys.h
parent39b20b7d4f464fbbd181af19ab419d1e488af2e5 (diff)
anv: flush pipeline before query result copies
Pipeline state pending bits should be taken into account when copying results. In the particular bug below, the results of the vkCmdCopyQueryPoolResults() command was being overwritten by the preceding vkCmdCopyBuffer() with a same destination buffer. This is because we copy the buffers using the 3D pipeline whereas we copy the query results using the command streamer. Those pieces of HW work in parallel and the results are somewhat undefined. v2: Unconditionally flush the pipeline before copying the results (Jason) v3: Wrap & expressions (Jason) Signed-off-by: Lionel Landwerlin <[email protected]> Suggested-by: Jason Ekstrand <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108894 Cc: [email protected]
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_winsys.h')
0 files changed, 0 insertions, 0 deletions