radv: fix depth format in blit2d.
authorDave Airlie <airlied@redhat.com>
Mon, 27 Feb 2017 06:59:06 +0000 (16:59 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 27 Feb 2017 20:11:54 +0000 (06:11 +1000)
commit800b82ea1315d68fccd8b1f218d614d26e7b6478
treece613fa77dab98ea61d4dc4f38e6a142fc600344
parent1121ce4525d03e35ab2ab95385ad99d112c17330
radv: fix depth format in blit2d.

For blitting we need to use the depth or stencil format, never
the combined.

This fixes:
dEQP-VK.texture.shadow.2d.nearest.less_or_equal_d32_sfloat_s8_uint
and a few others.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_blit2d.c