commit | a45febb12def9b0ed748dca6855a826338bf44aa | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Mon Jan 22 20:58:00 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 22 20:58:00 2024 +0000 |
tree | 83c597bdbd6a631361b138a2dc4130cfd8822b1a | |
parent | 5b45794c2c24c3fa40dc480af92c5284a95423ef [diff] |
Compat: fix offset % 4 cases for BlitTextureToBuffer Depth and stencil format copy requires offset % 4 == 0. For color format, there is no such requirement. Update compute shader for R8Snorm and RG8Snorm to cover various edge cases introduced by offset % 4 > 0. The implementation in this CL has room for improvement by separating these edge cases into different passes. This implementation only focuses on correctness first. Bug: dawn:2314, dawn:667 Change-Id: Ia35c864c3ee0d97bfb500dda68ceb65f2ba37dfd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168080 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Shrek Shao <shrekshao@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.