radv: don't expose linear depth surfaces on SI/CIK/VI either.
authorDave Airlie <airlied@redhat.com>
Fri, 31 Aug 2018 05:55:15 +0000 (15:55 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 3 Sep 2018 01:38:00 +0000 (11:38 +1000)
commitc1ba33c34b804ddce2de18ca3c13611202d8e38b
treeae679c8ffb5b3becf7742f3b7437e82d139c1721
parentac0856ae4100a05dcd1fd932d9fd10200f8f7a7c
radv: don't expose linear depth surfaces on SI/CIK/VI either.

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.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_formats.c