commit | b4ff8c859a26e8ac060062198cfaf35d6b8c4520 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Fri Jun 24 23:30:59 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 24 23:30:59 2022 +0000 |
tree | 436c848df94d90ec637c1443db5e6fd6b017023b | |
parent | 268d7b83571ae65b7e59a6df251ecb6ac0f5a806 [diff] |
tint/resolver: Simplify array size evaluation Use the constant evaluated value instead of manually traversing variables to find the literal value. This is a small step towards supporting 'const' values for array sizes. Also make our OOB-byte related error diagnostics consistent. Bug: tint:1580 Change-Id: Idf9eb22cdbf69d750218c554e9f826c30458c6b9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94600 Reviewed-by: David Neto <dneto@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.