Re: [Mesa-dev] [PATCH] radv: remove useless sync after copying query results with compute

2018-11-03 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Nov 2, 2018 at 1:44 PM Samuel Pitoiset wrote: > > The spec says: >"vkCmdCopyQueryPoolResults is considered to be a transfer > operation, and its writes to buffer memory must be synchronized > using VK_PIPELINE_STAGE_TRANSFER_BIT and

[Mesa-dev] [PATCH] radv: remove useless sync after copying query results with compute

2018-11-02 Thread Samuel Pitoiset
The spec says: "vkCmdCopyQueryPoolResults is considered to be a transfer operation, and its writes to buffer memory must be synchronized using VK_PIPELINE_STAGE_TRANSFER_BIT and VK_ACCESS_TRANSFER_WRITE_BIT before using the results." VK_PIPELINE_STAGE_TRANSFER_BIT will wait for