mesa/src/intel
Danylo Piliaiev deb23612f7 vulkan/util: Handle depth-only formats in vk_att_ref_stencil_layout
From VUID-VkAttachmentReference2-attachment-04755:
 "If attachment is not VK_ATTACHMENT_UNUSED, and the format of the
  referenced attachment is a depth/stencil format which includes both
  depth and stencil aspects, and layout is
  VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL or
  VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, the pNext chain must include
  a VkAttachmentReferenceStencilLayout structure."

We did not check that there even could be a stencil layout
before fetching it.

Fixes a few tests from:
 dEQP-VK.image.depth_stencil_descriptor.depth_read_only_optimal.*

Fixes: 979ea394e5 "vulkan/util: Move
helper functions for depth/stencil images to vk_iamge"

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13740>
2021-11-11 17:17:16 +00:00
..
blorp anv,blorp,iris: Set MOCS for COMPUTE_WALKER post-sync operation 2021-11-08 23:29:51 +00:00
common intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
compiler intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
dev anv: Pull aperture size from devinfo 2021-11-09 02:48:24 +00:00
ds intel/pps: reuse timestamp_frequency from intel_device_info 2021-10-28 13:16:56 +03:00
genxml intel/genxml/125: Update COMPUTE_WALKER POSTSYNC_DATA struct 2021-11-08 23:29:51 +00:00
isl intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
nullhw-layer intel/nullhw: fix build 2021-03-26 20:12:40 +00:00
perf intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
tools intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
vulkan vulkan/util: Handle depth-only formats in vk_att_ref_stencil_layout 2021-11-11 17:17:16 +00:00
Makefile.perf.am intel: Rename GEN_PERF prefix to INTEL_PERF in build files 2021-04-20 20:06:34 +00:00
meson.build pps: Intel pps driver 2021-05-18 14:28:48 +00:00