[Vulkan] Fix several bugs about `RenderPassCreateInfo2` This patch fixes several bugs about `RenderPassCreateInfo2`. 1. Set missing `VkAttachmentReference2.aspectMask` for `inputAttachmentRefs` (VUID-VkRenderPassCreateInfo2-attachment-02525) 2. Fix incorrect assignment on `subpassDependencies`. `dependency` should be a pointer instead of a reference to point to different items in `passInfo.subpassDependencies`. With this patch below test failure on current Windows Intel UHD770 bots will pass when Vulkan validation layer is enabled: DawnLoadResolveTextureTest.DrawThenLoadNonZeroIndexedAttachment Bug: 463893793 Change-Id: I0d5b90032a3f4e524e6c04b5e1c3cdf0141dbd98 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/285715 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Shao, Jiawei <jiawei.shao@intel.com> Reviewed-by: Loko Kung <lokokung@google.com>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.