Re: [Mesa-dev] [PATCH] radv: don't expose linear depth surfaces on SI/CIK/VI either.

2018-08-31 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Aug 31, 2018 at 7:56 AM Dave Airlie wrote: > > From: Dave Airlie > > ac_surface.c: gfx6_compute_surface says > /* DB doesn't support linear layouts. */ > > Now if we expose linear depth and create a linear depth image > and use CmdCopyImage to copy into it,

Re: [Mesa-dev] [PATCH] radv: don't expose linear depth surfaces on SI/CIK/VI either.

2018-08-30 Thread Alex Deucher
On Fri, Aug 31, 2018 at 1:57 AM Dave Airlie wrote: > > From: Dave Airlie > > ac_surface.c: gfx6_compute_surface says > /* DB doesn't support linear layouts. */ I think r100 was the last chip to support linear depth surfaces. Alex > > Now if we expose linear depth and create a linear depth imag

[Mesa-dev] [PATCH] radv: don't expose linear depth surfaces on SI/CIK/VI either.

2018-08-30 Thread Dave Airlie
From: Dave Airlie ac_surface.c: gfx6_compute_surface says /* DB doesn't support linear layouts. */ Now if we expose linear depth and create a linear depth image and use CmdCopyImage to copy into it, we can't map the underlying memory and read it linearly which I think should work. --- src/amd/v