commit | d032c62285efd98d79454ae72ace0a8b231bea45 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Thu Sep 19 18:20:54 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 19 18:20:54 2024 +0000 |
tree | fbe8d944456e8d27c6c2a189184056deaf1db5da | |
parent | d3492197b0da79174278f3695011030818be80f4 [diff] |
HLSL-IR: emit constant i32 literals as int(<literal>) DXC workaround: unless we compile with '-HV 202x', constant signed integral values are interpreted 64-bit ints. Apart from this not matching our intent, there are bugs in DXC when handling 64-bit integer splats. Therefore, we always make sure to emit these values as 32-bit signed ints. Note that this fixes 110 Tint e2e test failures (difficult to see because so many other tests are affected by this change). Note that this obviates the need for this change, which we can revert later: https://dawn-review.googlesource.com/c/dawn/+/205915 Bug: 368092875 Bug: 361794783 Change-Id: I2d0ef1dd00ae41e16094438f056851ecab6466a6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/207334 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@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.