commit | aebc7be46ec601333832bc14256242f3280bbbd1 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Sep 20 13:11:56 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 20 13:11:56 2024 +0000 |
tree | 9546659a438c35989ff5847bade520508bed1ff9 | |
parent | f4340f83b2e522102f4b4038b2ac096eef24f130 [diff] |
dawn::native: Fix the check for no attachment pipelines. The check for attachments being required for render pipelines was incorrect because it was only performed if desc->fragment != nullptr, which is incorrect because desc->fragment == nullptr means that there is no color attachment, and is an error if there's no depthStencil state. Adds a regression test. Fixes unittests that were triggering this validation by mistake, and sent a CTS PR for the same purpose. Bug: 341812551 Change-Id: I1daf726e258712535a42451323c84349257aefe4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204934 Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
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.