[Mesa-dev] [PATCH] anv: flush pipeline before query result copies

Jason Ekstrand jason at jlekstrand.net
Thu Nov 29 16:15:51 UTC 2018


On Thu, Nov 29, 2018 at 9:52 AM Józef Kucia <joseph.kucia at gmail.com> wrote:

> 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.
>

Mind filing a few bugs?  Feel free to bucket them such as "multisample
array texture clears".  How easy is it to run your tests?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181129/26f6e28d/attachment.html>


More information about the mesa-dev mailing list