Re: [Mesa-dev] [PATCH] radv: only allocate HTILE if depth/stencil attachment usage is used

2018-11-26 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Nov 23, 2018 at 5:04 PM Samuel Pitoiset wrote: > > Apparently some games allocate depth buffers without rendering > to them, this will avoid wasting memory if that image usage > flag is not set. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/rad

[Mesa-dev] [PATCH] radv: only allocate HTILE if depth/stencil attachment usage is used

2018-11-23 Thread Samuel Pitoiset
Apparently some games allocate depth buffers without rendering to them, this will avoid wasting memory if that image usage flag is not set. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_ima