commit | 7981507e005036b20d2df0d6a76329c26d69ec0e | [log] [tgz] |
---|---|---|
author | David Neto <dneto@google.com> | Fri Sep 01 18:18:49 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 01 18:18:49 2023 +0000 |
tree | 34fd135776b3f52cb6b6ad0c0050c576471e8ab0 | |
parent | f8fa217798a7f4dfc1e4e54f9a3a8e0b7516de2b [diff] |
spirv-reader: support OpSRem This is particularly common now because in non-exceptional cases, WGSL % maps to SPIR-V OpSRem. Note that Vulkan says it's *undefined behavior* if OpSRem or OpSMod are given negative operands. So we can translate this OpSRem and OpSMod to the same WGSL output. Fixed: tint:1676 Change-Id: I0d94899b995421508f860507f0bfe764fcea2240 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/149361 Auto-Submit: David Neto <dneto@google.com> Commit-Queue: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
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.