commit | ab70ff7a2fc355defd4558aeb75914e10f5f3610 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Fri Jun 24 08:57:38 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 24 08:57:38 2022 +0000 |
tree | 11fe6388d3013ec67b67bbd7a6747582fb0e75ae | |
parent | 7400a5519ffcbb4f366adfecf8279223d79c6463 [diff] |
tint/writer/spirv: Clean up accessor tests Remove duplicate tests. Use a common pattern of sanitizing, building and dumping the whole module instead of calling individual methods. There's too much internal state being tracked in the tests for my liking. Split most tests into three: * Const_* tests will check the emission of creation-time-constant expressions. * Runtime_* tests will check the emission of runtime expressions, where indexing operates with a constant index. * Dynamic_* tests will check the emission of runtime expressions, where indexing operates with a runtime index. Bug: tint:1580 Change-Id: I0f92aaaa570cbd917d2b6937c6396605c6b542c9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94333 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.