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

2018-11-29 Thread Lionel Landwerlin
On 29/11/2018 16:58, Jason Ekstrand wrote: On Thu, Nov 29, 2018 at 10:45 AM Lionel Landwerlin mailto:lionel.g.landwer...@intel.com>> wrote: Pipeline barriers inserted through vkCmdPipelineBarrier() should be taken into account when copying results. In the particular bug below,

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

2018-11-29 Thread Jason Ekstrand
On Thu, Nov 29, 2018 at 10:45 AM Lionel Landwerlin < lionel.g.landwer...@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

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

2018-11-29 Thread Lionel Landwerlin
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