commit | 4bc4fcf854461d63f08a46e4b00af2f52063bef0 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed May 21 08:44:18 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 21 08:44:18 2025 -0700 |
tree | 73e75eef37f078cc2453a66406c84a30deff8c8f | |
parent | b3932622b0ff17b59c5a6b737bf9b5a4729303d5 [diff] |
[spirv-reader][ir] Add support for sampling projection explicit lod. Handle `OpImageSampleProjExplicitLod` but polyfilling in WGSL. We don't support the `proj` variants in WGSL so manually divide the coordinates by the last component to get the same behaviour. Bug: 407384373 Change-Id: I0f09554247cadf08f5aa0766b5c2a1ef6f33ea83 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/243074 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
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.