commit | 7338848589649ad2ebc4cfad823c6bc5a0f9d33c | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Fri Nov 11 19:33:31 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 11 19:33:31 2022 +0000 |
tree | fa65abe754a41d4f10614953dfe5b4edb8d95e12 | |
parent | 7adcf1655af89b7ae990fd6f6b958a28834b03f4 [diff] |
dawn: ouput DXBC literals as hex when dump_shaders is enabled The DXBC asm listing attempts to be helpful when display literals by making them human readable,but when it displays values as floats, they will only have a precision of 6. For example, 0x09909909 ends up getting displayed as 0.000000 because as a float, this value is 3.48106525683e-33. FXC has an option to output literals as hex values, so let's use that. Change-Id: I2b3017bd834eac89248fe01cae85ba1bb4033e59 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/109582 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
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.