commit | 52219928849510298c69a69a4d30e71f82ffa891 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Jan 11 05:42:57 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 11 05:42:57 2024 +0000 |
tree | 919c343386938a5856c4de7872254dd878c19189 | |
parent | 5b7bcc9751799166fd12c6acf17bc9fcc821d59f [diff] |
Tint: Support setting HLSL shader model in tint.exe This patch adds the support of setting HLSL shader models in tint.exe by using the command line parameter "--hlsl-shader-model" and changes the test framework of tint end2end tests to recognize this new flag in the tests. - The flag has no effect with FXC. - The shaders with float16 will always be treated with at least shader model 6.2. Bug: tint:1497 Change-Id: I880c12c01c4c1567b62458033eae8952458b3a92 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168501 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.