commit | da5c6d59a454f792e3343148a0ed3817a43a5157 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Jul 03 22:57:30 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 03 22:57:30 2024 +0000 |
tree | 10e6b938ef8443bfc468127b159a27a072662e16 | |
parent | 7a8997395d63d6838f4ffff64af13619a6cf95d7 [diff] |
[hlsl] Simplify type emission in HLSL IR printer. With the addition of the `ByteAddressBuffer` type we can simplify the `EmitType` method. The `ByteAddressBuffer` can emit itself as part of the regular `Switch`. The `uniform` handling is pulled out and handled directly when we emit the global uniform variable. Bug: 42251045 Change-Id: Ie3451db082dfbfdb604218e557b248c9b7f417ab Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/196695 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.