commit | a79b237b63a466aebdc53664569451710cf5d976 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Feb 05 17:43:21 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 05 17:43:21 2025 -0800 |
tree | db57529a487101895f29c34289b17e8d5d6e5419 | |
parent | bd167d39b3c8e01925ec20646cd8df3af31d321a [diff] |
[spirv-reader][ir] Fix `ModfStruct` results. When converting the `ModfStruct` instruction we swapped the result type for the internal `modf` result type. This works to update the instruction, but later fails if there is an instruction which depends on the original spirv type (i.e. creating an `OpVariable` and storing the result of the `ModfStruct`. This CL updates the parser to handle the re-creation of the original SPIR-V type and treats that construct as the result of the original SPIR-V `ModfStruct` instruction. Bug: 42250065 Change-Id: Ie066a1c7fc6a86d3e69981c6937cd0e6d98421c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224754 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
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.