commit | 67f09927c0c06bc0f52e816d2420533e4433b1f2 | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Mon Aug 21 19:00:38 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 21 19:00:38 2023 +0000 |
tree | e5e35ceb181e0112c24b597f48fa19ac4702e6c8 | |
parent | 14d59b969fb1cb115764f0c6a612f4319416f1b0 [diff] |
Add TextureBuiltinsFromUniform transform TextureNumLevels/TextureNumSamples counterpart builtin functions are not available in GLSL for OpenGLES. This transform replace those builtin calls by creating an internal uniform buffer to store these builtin values. A bindpoint to byte offset and data type is included in the result of the transform so that caller will know how to upload the data. But: dawn:1299, tint:2006 Change-Id: Idc1b6e699443b8b656208d49e73ec6001f1e77ea Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/145621 Commit-Queue: Shrek Shao <shrekshao@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.