commit | f27e76501791892092cc47cf709d2fef503769c4 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Thu Oct 26 19:43:36 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 26 19:43:36 2023 +0000 |
tree | 8abe80dce139f5b6ae2296ddc714ba7df6a49cfd | |
parent | 1281bdb0f6e94efb07b34d0be497ef85f37158a5 [diff] |
tint/hlsl: workaround DXC bug with const structs/arrays of matrices This works around a bug in DXC: https://github.com/microsoft/DirectXShaderCompiler/issues/5883 For the specific case of structs/arrays of matrices, we emit `let`s as non-const. Bug: tint:2059 Change-Id: I2e2922f132dbff962cde01e2e6a3a75212ce6c51 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/156900 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Antonio Maiorano <amaiorano@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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.