Summary: | [ANV bisected] ASTROKILL broken since commit a62a97933578a813beb0d27cc8e404850f7fd302 on Haswell | ||
---|---|---|---|
Product: | Mesa | Reporter: | Darius Spitznagel <d.spitznagel> |
Component: | Drivers/Vulkan/intel | Assignee: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Status: | RESOLVED NOTOURBUG | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | jason, lionel.g.landwerlin, llandwerlin |
Version: | 17.3 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 103491 |
Description
Darius Spitznagel
2017-11-09 02:27:44 UTC
My Specs: iGPU Haswell Iris Pro 5200 Kernel 4.9.60 Vulkan 1.0.61.1 Xorg 1.19.5 Looking into this problem, it seems Astrokill is using the wrong image usage flags when creating an image view for a depth/stencil image. There is a validation error raise when using the debug layer core_validation : DS(ERROR): object: 0x891afe8 type: 23 location: 1125 msgCode: 364905100: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0x891afe8 with error: Write update to descriptor in set 0x891afe8 binding #0 failed with error message: Attempted write update to combined image sampler descriptor failed due to: ImageView (0x7f23b0224470) with usage mask 0x35 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER does not have VK_IMAGE_USAGE_SAMPLED_BIT set.. The spec valid usage text states 'If descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, or VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, the imageView and imageLayout members of each element of pImageInfo must be a valid VkImageView and VkImageLayout, respectively' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-00326) In debug build our driver asserts but in release mode we just carry one silently and we just put wrong data into the hardware binding table (problem explaining the corruption you're seeing). Closing for now, feel free to reopen if you still have an issue after fixing Astrokill. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.