commit | 836a10d0970ccd68d60be71feb6b086be67561e0 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri Oct 27 23:14:04 2023 +0000 |
committer | James Price <jrprice@google.com> | Fri Oct 27 23:14:04 2023 +0000 |
tree | c7501f55cfd1c626e55dffe020755b6fd9a6ce4c | |
parent | 3241bdcbbf3fd24e09293dbd89cd92950923b428 [diff] |
[tint] Avoid DCE in matrix constructor tests Unused module-scope variables are discarded in some backends (e.g. MSL, and SPIR-V via IR), and unused functions are at risk of being dead-code-eliminated in the future. Change all of these tests to write out the matrix to a storage buffer from an entry point. Also added some missing explicit typing to some explicit typing tests. Change-Id: Ife7217196b0512f0d7e123340de40bc0fd0c58af Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/158205 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.