commit | d048638aacc209ff91c52f6e870bf70c50a5018d | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Oct 08 16:18:40 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 08 16:18:40 2024 +0000 |
tree | 05892b3fc84013e54a31b2a8b5e6f4f687553aac | |
parent | eef5708f1d3aa41359773b66dda8cff92eec54bd [diff] |
[glsl][ir] Handle sampler-less depth textures. When a depth texture is used without a sampler it's treated as a sampled texture of type `f32`. This CL updates the code to correctly handle this edge case. Bug: 42251044 Change-Id: I67fc5a3f0979dbd3ed4ab365ecbfafe5ccc2f5e9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/209574 Reviewed-by: James Price <jrprice@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.