Re: [Mesa-dev] [PATCH] radv: do not set pending_reset_query in BeginCommandBuffer()

2018-03-01 Thread Alex Smith
Reviewed-by: Alex Smith On 1 March 2018 at 09:53, Samuel Pitoiset wrote: > This is just useless for two reasons: > 1) flush_bits is not set accordingly, so nothing will be flushed >in BeginQuery(). > 2) we always flush caches in EndCommandBuffer(), so if a reset >is done in a previous c

[Mesa-dev] [PATCH] radv: do not set pending_reset_query in BeginCommandBuffer()

2018-03-01 Thread Samuel Pitoiset
This is just useless for two reasons: 1) flush_bits is not set accordingly, so nothing will be flushed in BeginQuery(). 2) we always flush caches in EndCommandBuffer(), so if a reset is done in a previous command buffer we are safe. Cc: Alex Smith Signed-off-by: Samuel Pitoiset --- src/am