commit | a9a685f04aa86252d6b3fd7a3927d2727db5f97e | [log] [tgz] |
---|---|---|
author | Natalie Chouinard <chouinard@google.com> | Wed Jul 17 13:45:58 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 17 13:45:58 2024 +0000 |
tree | 843813de5babe446fc7fe3003ed3737cce0db742 | |
parent | e96e532859be477129bb7015a6ab14fdb39efc30 [diff] |
[Tint] Fix const eval of abstract shift right When the value to shift by is greater than or equal to the bit width of an abstract value to shift, the value will be replaced with all 0s if it was non-negative, and all 1s if it was negative, which signifies the value -1. With this change the following CTS tests now pass: webgpu:shader,execution,expression,binary,bitwise_shift:shift_right_abstract:* Bug: 352768986 Change-Id: I8a80d475762b1a4c0cbe9b59506b300c31c68050 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/198735 Commit-Queue: Natalie Chouinard <chouinard@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.