commit | 36200d1943d7d5ecbbeb86b0db43f13646502ba8 | [log] [tgz] |
---|---|---|
author | shrekshao <shrekshao@google.com> | Fri Nov 19 19:39:18 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 19 19:39:18 2021 +0000 |
tree | 91d49facfff415dcf8236584dc374ed4ad1f0af2 | |
parent | 98e42aaa5a0f7f83e58e21abc23d59e27af2d32e [diff] |
Refactor D3D12 shader define strings code Instead of using template functions, generate define string pairs in std::string. For DXC path, convert them to std::wstring. It is okay since shader generation is already expensive. By the way generalize it to all kinds of defines in ShaderCompilationRequest. Bug: dawn:1137 Change-Id: I5518e992b56497e28c8ac7e818bf19b4853dee4a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/70120 Commit-Queue: Shrek Shao <shrekshao@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
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.