commit | cca485912c7d856a8eb0bba71f1f47b899827b86 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Fri Sep 06 20:22:17 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 06 20:22:17 2024 +0000 |
tree | f8807576bd4804e9ed2d06ebbee4b106553f7cf6 | |
parent | 9f529aade6bfcf4f51737a34e5b860591f65d7e7 [diff] |
HLSL-IR: workaround DXC bug when 'as' casting constant integral splats DXC asserts because constant integral splats are 64-bit values, but 'as' functions emit bitcasts that expect src and dst bit widths to be the same. Work around this by wrapping the splat with an explicit constructor call to make it 32-bit. Bug: b/361794783 Change-Id: Ib33bb065f78a5c7cfd8f9c2b0dde330e0ad6b01c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/205915 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Antonio Maiorano <amaiorano@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.