zink: disallow depth-stencil blits with format-change
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 1 Nov 2019 12:35:55 +0000 (13:35 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 3 Feb 2020 20:42:52 +0000 (21:42 +0100)
commit5d83314945d5f286cbe4fff9b07d2756f36a64c6
tree39653dc759c4f276da3517be308423df11ce6249
parent85d4b41f6830253b81b591fa401a9c5aea5e407a
zink: disallow depth-stencil blits with format-change

The Vulkan spec says this about vkCmdBlitImage:

   "No format conversion is supported between depth/stencil images. The
    formats must match."

So yeah, let's stop trying to do this.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3681>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3681>
src/gallium/drivers/zink/zink_blit.c