commit | 95b0765dbdde149c273c7057e52ad78a5ed2b559 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Mon Mar 25 17:07:45 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 25 17:07:45 2024 +0000 |
tree | 26857f310b872b27880547f3f9cd4d8c62f00635 | |
parent | 9b58f3f2d6d809182121836f4352a8aa3cf561b8 [diff] |
Fix issue with external texture mapping in MSL. This CL fixes an issue with the external textures for MSL. Because of the way MSL works where there is no `group` everything maps to `0`. An internal flag is set on new variables to allow collisions (they don't collide within a type of MSL binding, but may in WGSL). The flag was not previously set on the originating variable. This CL updates the code to set the originating variable as also potentially colliding. Bug: dawn:2472 Change-Id: I2aad439fdef0b697caa6663d0a5705d4e8b0dd48 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/180400 Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Ben Clayton <bclayton@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.