anv: don't require render target isl bit for depth/stencil surfaces
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 19 Jan 2017 16:20:00 +0000 (16:20 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 20 Jan 2017 21:39:51 +0000 (21:39 +0000)
commit74c23bde5b8155a84233265c56bedac8f38de14e
treea96e269cf72da0bf427753cf37488539d3893c91
parent8a28e764d0e28d0d4dfa3b81b89fa3baf30e94f2
anv: don't require render target isl bit for depth/stencil surfaces

Blorp can deal with depth/stencil surfaces blits/copies without the
render target requirement. Also having both render target and
depth/stencil requirement is incompatible from isl's point of view.

This fixes an image creation issue in the high level quality settings
of the Unity3D player, which requires a depth texture with src/dst
transfer & 4x multisampling.

v2: Simply aspect checking condition (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: 13.0 17.0 <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_image.c