commit | 8f0607a8c88023c4f01ab4f1ebf73a54dcef4399 | [log] [tgz] |
---|---|---|
author | shrekshao <shrekshao@google.com> | Tue Apr 18 01:34:41 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 18 01:34:41 2023 +0000 |
tree | 8cc22dc556dd653f3be1640b4a53dee078373df5 | |
parent | dbb68623bb7d39e11530094d509ff3e27cc53096 [diff] |
Fix D3D12 shader interstage truncating transform Don't skip the TruncateInterstageVariables transform when user defined interstage attribute input for fragment stage is empty. Because builtin inputs could also cause register mismatch for D3D12 HLSL compiler. Add a boolean flag to Tint hlsl generator option to indicate whether to run TruncateInterstageVariables or not. This defaults to false in Tint, while Dawn always set this to true for vertex stage. Bug: dawn:1733 Change-Id: Ie4c3648b226513bf15f0e03ae4ce7f3cc09fdef4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/127206 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Shrek Shao <shrekshao@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.