commit | 323d385c3bf25aaecd125a76225fc48881d0a1c3 | [log] [tgz] |
---|---|---|
author | Rafael Cintron <rafael.cintron@microsoft.com> | Wed Jul 31 15:19:06 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 31 15:19:06 2024 +0000 |
tree | 83453935433842bce535e3771ec9d640e91a0904 | |
parent | 3090f89dab0459185bbd0c39c9e2a087abd9016f [diff] |
Make D3D12 backend robust to the InfoQueue being absent Previous to this change, the D3D12 backend used IsBackendValidationEnabled to determine whether the InfoQueue was present and errored out if it wasn't. Unfortunately, since the D3D12 debug layer is enabled before D3D12 devices are created and Chromium makes the device before reading the request, IsBackendValidationEnabled may return true even when the debug layer is not, in fact, enabled. Therefore, the D3D12 backend must remain robust to validation enabled requests and check for itself at device creation time whether it is, truly enabled. The D3D11 backend follows a similar pattern. Bug: 355018918 Change-Id: Ib8c76f3a7ce55b95d5c9c63b74e44bfbeb57a451 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/200634 Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Corentin Wallez <cwallez@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.