radv: Don't allow 3d or 1d depth/stencil textures.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 21 Jan 2018 22:39:36 +0000 (23:39 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 21 Jan 2018 23:07:43 +0000 (00:07 +0100)
commit4584c4ef049ac604ebbeab56992d569e4d1f8a46
treef268b60dc650e75f3331948dcc5e4190c6daa86c
parent8b98929074f77156d8e1a10bc42b8eda0f9ce4ec
radv: Don't allow 3d or 1d depth/stencil textures.

addrlib asserts when that happens, and supporting it is not
required so lets not allow this for now.

It also assert on fmask, but we don't have the number of samples here.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_formats.c