Re: [Mesa-dev] [PATCH] radv: Emit pending flushes before executing a secondary command buffer

2017-03-06 Thread Bas Nieuwenhuizen
Nice catch. Reviewed-by: Bas Nieuwenhuizen On Mon, Mar 6, 2017 at 3:54 PM, Alex Smith wrote: > If we have any pending flushes on the primary command buffer, these > must be performed before executing the secondary buffer. > > This fixes

[Mesa-dev] [PATCH] radv: Emit pending flushes before executing a secondary command buffer

2017-03-06 Thread Alex Smith
If we have any pending flushes on the primary command buffer, these must be performed before executing the secondary buffer. This fixes potential corruption when the contents of a subpass which clears any of its render targets are given in a secondary buffer: the flushes after a fast clear would