commit | c1de48f2b8b19169a3fef714d121f2dc46d374fc | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Oct 15 23:29:10 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 15 23:29:10 2024 +0000 |
tree | 4d8ad4f4ed99139b6deb3c2ec41817fca106bbff | |
parent | 1c4cb315990d614376f24f73f0a8295e8c319f66 [diff] |
[hlsl] Fix f16 vector element stores in storage When the source pointer for an f16 store_vector_element instruction did not come from a `access` instruction, we were creating an invalid bitcast from f16 to u32. Use the `Store()` method on this codepath instead, which takes care of the special-casing needed for the f16 case. Bug: 42251045 Change-Id: I3be490f0709000f1acfd3cea844ea3549f7ab6f4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/211095 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: 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.