commit | 69c94adeb4da95573263e66510446b6bcccf650a | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Tue Sep 05 18:11:56 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 05 18:11:56 2023 +0000 |
tree | 7f154ce01b526b276313630fba78538ae4655642 | |
parent | a985f73277b71dd33393652d011e9389640bfe02 [diff] |
OpenGL: fix single-plane external textures. When bind group layouts for external textures are created, they initially use invalid binding points of kMaxBindingsPerBindGroup, in order avoid collisions. Replace those binding points with the valid external texture binding expansion points prior to GL shader compilation, as is done on other backends. This fixes single-plane external textures. Multiplane external textures are still broken, likely due to a conflict between the MultiplanarExternalTexture transform and the CombineSamplers transform used by the GLSL writer. Bug: dawn:1774 Change-Id: Iabc108f4ee5fe831bd7e4e4639119095b7f9e4a2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/149500 Commit-Queue: Stephen White <senorblanco@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.