| commit | fed9b12a1d003a580ff993e8fd049cc2184ed7dd | [log] [tgz] |
|---|---|---|
| author | dan sinclair <dsinclair@chromium.org> | Thu Jan 23 10:45:18 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 23 10:45:18 2025 -0800 |
| tree | 85e7223a7554dde534433a97ad310ef3dcfb4bf4 | |
| parent | f5117e4d1f8f1c2bb176bc283c090a153f7883c5 [diff] |
[spirv-reader][ir] Correctly handle GLSL 450 Refract The SPIR-V `Refract` method allows a scalar `I` and `N` value. The WGSL version requires vectors. Extend the scalar version to vectors with a `0.0` y component and swizzle out the result. Bug: 391487606 Change-Id: I215fc41b9fb7c1d57a93df246bf2d3d59f78fd22 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/223057 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.