commit | 9f83fa1d1be3af162b8ef8d35d7edffc5bdc3484 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed May 10 17:56:14 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 10 17:56:14 2023 +0000 |
tree | d0797b07a5a6522ea38c4ffd896f51afb75fcd20 | |
parent | c872e6a5520f3fd3f33bb2ed04a8703755b87301 [diff] |
tint/ir: Remove 'type' field from Instruction ir::Value has a virtual Type() method. Implement this on the subclasses that actually have a type. Removed pointless memory usage on instructions that have no value. Also un-getter some fields to match the other IR code. Change-Id: Ibf545a582d5cbb820410c9aaec0312692e803373 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/131745 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: 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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.