[Mesa-stable] [Mesa-dev] [PATCH] anv: flush pipeline before query result copies
Józef Kucia
joseph.kucia at gmail.com
Thu Nov 29 15:52:56 UTC 2018
On Thu, Nov 29, 2018 at 4:43 PM Lionel Landwerlin
<lionel.g.landwerlin at intel.com> wrote:
>
> Pipeline barriers inserted through vkCmdPipelineBarrier() 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 work in parallel
> unless synchronized.
>
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> Suggested-by: Jason Ekstrand <jason at jlekstrand.net>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108894
Thanks for the fix.
For what it's worth, we have more test failures on Anv. A lot failures
are related to clearing multisample array textures. See failures in
test_clear_render_target_view(), if you are interested.
Thanks,
Józef
More information about the mesa-stable
mailing list