commit | 447c185daf7b11e0492712b7d2256a5907957c7d | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jun 20 22:12:12 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 20 22:12:12 2024 +0000 |
tree | f46ad5d52fc8e65d519979d51c20a39a659a4d44 | |
parent | f2a5e573d7022cdc709824d3cc6a1195ef0ba690 [diff] |
[hlsl] Add DXC and FXC specific switch tests. The case of a switch with a single default clause causes issues in FXC. In order to support it, we need alternate code generation. This CL adds in the unit tests for the switch cases to differentiate the FXC and DXC results. Bug: 42251045 Change-Id: Id2afe5c8316fc0175d4685ac44e4e3205e685cb6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/194481 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@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.