commit | 0c0e7ecd6cc3a52855720551fa3968a97dc4852b | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Tue Sep 24 22:52:21 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 24 22:52:21 2024 +0000 |
tree | 24ba31f3a548f6880ec4b00350b9fb2386b9e8e1 | |
parent | 8d5695765cdf2fe34fa7d6e4b66763880d4c36ec [diff] |
Add "hlsl-fxc" format to Tint executable Treat "hlsl-fxc" as a separate format to "hlsl", producing HLSL for FXC, while "hlsl" means produce HLSL for DXC. This is now used to set the HLSL `Compiler` option accordingly. Also, no longer validate HLSL with both DXC and FXC. If the format is "hlsl-fxc", validate with FXC; if "hlsl", then validate with DXC. This is simpler, and mirrors how it works for the other backends. Regenerated Tint e2e tests with this change updates a few "ir.fxc.hlsl" files now that they are generated using the FXC-enabled path. Specifically, these run the FxcPolyfill transform, which implements a workaround for default-only switch statements. Bug: 369233346 Change-Id: Ic5ea8ee5e3c4a4c24accd5a4b3c6f82d29646d0f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208015 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: James Price <jrprice@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.