Re: [Mesa-dev] [PATCH] radv: optimize radv_CmdWaitEvents()

2018-07-05 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Wed, 27 Jun 2018, 14:14 Samuel Pitoiset, wrote: > This introduces radv_barrier() (same as the draw/dispatch codepath). > This helper is used for merging the code from CmdWaitEvents() and > CmdPipelineBarrier because it's quite similar. > > We do ignore the sour

[Mesa-dev] [PATCH] radv: optimize radv_CmdWaitEvents()

2018-06-27 Thread Samuel Pitoiset
This introduces radv_barrier() (same as the draw/dispatch codepath). This helper is used for merging the code from CmdWaitEvents() and CmdPipelineBarrier because it's quite similar. We do ignore the source stage mask for CmdWaitEvents because it's irrelevant when event objects are used. Signed-of