commit | d1368d7cfc777145c8ab83d81f2b59e29793f106 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Tue Sep 05 20:29:56 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 05 20:29:56 2023 +0000 |
tree | 7e01227b3864ff227366488919e3bc13be1373ec | |
parent | 69c94adeb4da95573263e66510446b6bcccf650a [diff] |
tint: workaround DXC bug with splatted vector constant storage buffer args This is the same as crbug.com/tint/1976, except that the DXC bug also occurs on storage buffer Store calls. DXC fails to compile if the vector argument is a signed integer splatted constant (though, in this case, it needs to be non-zero). This change implements the same workaround: explicitly cast the arg to the expected vector type. See the upstream bug: https://github.com/microsoft/DirectXShaderCompiler/issues/5389 Bug: tint:1976 Bug: tint:2029 Change-Id: I514f3adfd76076fea4745c384a91df4496f72e3b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/149880 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: 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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.