commit | 138d7d354e31e05111c68b3b8212b8ad57b342d4 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jan 23 10:46:11 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 23 10:46:11 2025 -0800 |
tree | 887465f7a5d56dddc975e1b788c4d627cf491386 | |
parent | fed9b12a1d003a580ff993e8fd049cc2184ed7dd [diff] |
[spirv-reader][ir] Correctly handle GLSL 450 FaceForward The SPIR-V `FaceForward` method allows a scalar values. The WGSL version requires vectors. In the case of scalar values, do the calculation manually. Bug: 391488194 Change-Id: Ib58f809c867e0ba9703fabab524c03b0f434bc59 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/223114 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: 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.