anv/formats: Allow sampling on depth-only formats on gen7
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 4 Aug 2017 02:58:24 +0000 (19:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 7 Aug 2017 15:27:09 +0000 (08:27 -0700)
commit06d3115bb97740a4c8f36c645944a8bd0bde3f68
treeb94ad4c02a9cce27fbe7c804cc957e110b43fc8c
parent4468764ef0cd0e71db03e14aaed7c650ffa1f77d
anv/formats: Allow sampling on depth-only formats on gen7

We can't sample from depth-stencil formats but on gen7 but we can sample
from depth-only formats.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102024
Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Cc: mesa-stable@lists.freedesktop.org
src/intel/vulkan/anv_formats.c