D3D11: Cap maxStorageBufferBindingSize to 2 GiB - 4 and enable test D3D11 raw buffer reads fail for 2 GiB (0x80000000) storage buffer bindings, including on Microsoft's WARP reference implementation and NVIDIA, returning 0 with no D3D11 debug-layer errors. Cap maxStorageBufferBindingSize to 2 GiB - 4 (0x7FFFFFFC) across D3D11 adapters (largest 4-byte-aligned signed 32-bit byte size), which already matches the 2 GiB - 4 WebGPU limit tier used by Chrome and TierArchInfoTest_TieredMaxLimits. Also remove the obsolete D3D11 suppression in MaxLimitTests.MaxBufferBindingSize now that D3D11 clears buffers with a cached zero buffer and passes at 2 GiB - 4. Bug: 590802695 Change-Id: Icd7e87ee0e6aea760c3bd34bf4c4b429974b945e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/364915 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Yang Gu <ygu@microsoft.com> Reviewed-by: Quyen Le <lehoangquyen@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.