| commit | f0bf8ab547a9a23b8b78ff67d8085d4a26600a7d | [log] [tgz] |
|---|---|---|
| author | Kai Ninomiya <kainino@chromium.org> | Mon Dec 22 13:26:49 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 22 13:26:49 2025 -0800 |
| tree | 7778ae3901873993d3a7e5351e0d0e43ea775639 | |
| parent | fbfb4497e03a363aba0eb093995b0140b2ec82d8 [diff] |
[dawn][native] Disallow 0 texture usage even with internal usages Previously `usage` could be zero as long as `internalUsage` was nonzero. But the spec requires `usage=0` to be a validation error. The extension shouldn't change this. This fixes a test I'm adding in https://github.com/gpuweb/cts/pull/4527 (It doesn't affect the public `createTexture()` because that can't add internal usages, but it does affect *canvas* textures.) Fixed: 468353736 Change-Id: Ibeb6d4b539701ee93d6039792e62d5a77aa2ca71 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/279775 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Brandon Jones <bajones@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.