commit | 627b12e6dc1577319fc24f1757e6662b5b1bcf9c | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Thu Apr 24 11:25:29 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 24 11:25:29 2025 -0700 |
tree | de4ff0715f530de97eb219be1a48a63927ae3619 | |
parent | 69a344685ffee8ff92ce16f703a21019587946b8 [diff] |
D3D11: Always use custom device context state. Currently we only use a custom device context state when we share the D3D11 device. We swap in & activate it during render pass, compute pass' executions. The purpose is to avoid Dawn messing up the D3D state of other modules such as ANGLE, video decoder, etc. However, this makes the behavior inconsistent between tests and chrome use cases which share the D3D11 device. This CL forces D3D11 backend to always use the custom device context state. It will make the tests easier. Bug: 413000772 Change-Id: I1baaa4f30919d699f5c0fba82b9b3a769a812a3c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/238794 Commit-Queue: Quyen Le <lehoangquyen@chromium.org> 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.