Re: [Mesa-dev] [PATCH] radv: remove useless sync after CmdClear{Color, DepthStencil}Image()

2018-11-21 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Wed, Nov 21, 2018 at 11:32 AM Samuel Pitoiset wrote: > > 'post_flush' is only set to NULL for the normal clear path > (ie. only vkCmdClearColorImage() and vkCmdClearDepthStencilImage() > are affected commands). > > Because these two operations have to be external

[Mesa-dev] [PATCH] radv: remove useless sync after CmdClear{Color, DepthStencil}Image()

2018-11-21 Thread Samuel Pitoiset
'post_flush' is only set to NULL for the normal clear path (ie. only vkCmdClearColorImage() and vkCmdClearDepthStencilImage() are affected commands). Because these two operations have to be externally synchronized with VK_PIPELINE_STAGE_TRANSFER_BIT and VK_ACCESS_TRANSFER_WRITE_BIT, it's useless t