commit | fabad5064d3fbc665275e5322b95a3e7d75531c7 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Jun 18 15:23:55 2024 +0000 |
committer | James Price <jrprice@google.com> | Tue Jun 18 15:23:55 2024 +0000 |
tree | c85ce625f91696c35cb3894a809d2c0958731935 | |
parent | efe681fb61780c1152afbd5fdf9a9a14c8cc881c [diff] |
[msl] Add polyfill for textureSampleCompareLevel Add MSL member function definitions for `sample_compare()` with explicit LOD. The WGSL function does not actually take a LOD argument and implicitly samples from level 0, so we have to insert a new argument for this one. Bug: 42251016 Change-Id: I4e25b327f9629344f33131d142bad202aa106255 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193661 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.