commit | a4695b94d4191bf496707dc121b180d4b81ee6b4 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Jun 11 10:13:22 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 11 10:13:22 2025 -0700 |
tree | a751dd778b5a618265fecc6f6e8d1e5b2d579d46 | |
parent | f04c0c77170c204b8d42ac9b3c4d5b94fc19b88a [diff] |
[spirv-reader][ir] Fixup interpolation values. When coming from SPIR-V all fragment sharder integer inputs are decorated as `flat`. We need to strip these off when coming to WGSL if they don't have a `location` attached as well. The default value of `perspective,center` is stripped off as well. Bug: 42250952 Change-Id: Ie817fe59329dcd45f2bb893322d44e8232aebee5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/246334 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@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.