commit | e0f78f924c7aaffccdee450bfd59d0af6d0a595f | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Tue Oct 25 23:37:07 2022 +0000 |
committer | Antonio Maiorano <amaiorano@google.com> | Tue Oct 25 23:37:07 2022 +0000 |
tree | e52624b8a9d78b99cd559db1d90b46b765fb275b | |
parent | 6c8603cac19d3af7517936de9b65efe5219ff674 [diff] |
tint: always pass in earliest evaluation stage to intrinsic table lookup This fixes cases where input args of different type are mixed between constant and runtime evaluated. We initially did this only for builtins (https://dawn-review.googlesource.com/c/dawn/+/104545) to fix cases like `select`, but we also need this for binary operators like shift left/right that also take args of differing types. For consistency, this change also includes passing in the earliest evaluation stage when looking up unary ops and initializer/conversions. Bug: tint:1713 Change-Id: I196c67acfe767aa01aa45298d75cfc4d345d08ea Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107140 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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.