Re: [Mesa-dev] [PATCH 3/3] radv: only emit cache flushes when the pool size is large enough

2018-02-28 Thread Bas Nieuwenhuizen
On Wed, Feb 28, 2018 at 9:41 PM, Samuel Pitoiset wrote: > > > On 02/28/2018 09:06 PM, Bas Nieuwenhuizen wrote: >> >> On Wed, Feb 28, 2018 at 8:31 PM, Samuel Pitoiset >> wrote: >>> >>> This is an optimization which reduces the number of

Re: [Mesa-dev] [PATCH 3/3] radv: only emit cache flushes when the pool size is large enough

2018-02-28 Thread Samuel Pitoiset
On 02/28/2018 09:06 PM, Bas Nieuwenhuizen wrote: On Wed, Feb 28, 2018 at 8:31 PM, Samuel Pitoiset wrote: This is an optimization which reduces the number of flushes for small pool buffers. Signed-off-by: Samuel Pitoiset ---

Re: [Mesa-dev] [PATCH 3/3] radv: only emit cache flushes when the pool size is large enough

2018-02-28 Thread Bas Nieuwenhuizen
On Wed, Feb 28, 2018 at 8:31 PM, Samuel Pitoiset wrote: > This is an optimization which reduces the number of flushes for > small pool buffers. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_meta_buffer.c | 6 -- >

[Mesa-dev] [PATCH 3/3] radv: only emit cache flushes when the pool size is large enough

2018-02-28 Thread Samuel Pitoiset
This is an optimization which reduces the number of flushes for small pool buffers. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_meta_buffer.c | 6 -- src/amd/vulkan/radv_private.h | 6 ++ src/amd/vulkan/radv_query.c | 12 3