commit | e15d3fb3d0a2bb9ac74bde60d510d2cea16a29b0 | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Fri Dec 01 18:46:38 2023 +0000 |
committer | Shrek Shao <shrekshao@google.com> | Fri Dec 01 18:46:38 2023 +0000 |
tree | 9a8e8175c1c04e8ee47c6b88f45f760c3f5bdb66 | |
parent | c271e66e11193cf572a15658aeba5d5ea68996d4 [diff] |
Compat: BlitTextureToBuffer depth cube texture and refactor Add implementation to copy depth and stencil cube texture to buffer using compute shader. In addition, use un-filtering float as the sampler type for depth texture instead of depth, for all depth texture copy including cube texture. This is to avoid glsl textureLod not accepting samplerCubeShadow as param. Bug: dawn:2182 Change-Id: I8e944a452483a19df65bbbf6b38e1a2b9d581ddc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/163362 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@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.