commit | f99ec60627e14df8987352bef2821f2b73100fc5 | [log] [tgz] |
---|---|---|
author | Gregg Tavares <gman@chromium.org> | Wed Feb 07 17:38:44 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 07 17:38:44 2024 +0000 |
tree | 3a335efb7025a9813f5bf9d493b5f73e52fe5f09 | |
parent | 522d475b6e03e22bb68e2eeb472292aeffa53293 [diff] |
Fix 3D Storage Buffer support on GLES backend The issue was `isLayered`, passed to glBindImageTexture, needs to be true. true = see the entire "layer" which for a 3d texture means the entire 3d cube of the current mip level where as false = see just single 2d slice. I think just swapping the order if the ifs here so that if the view's layerCount == the texture's arrayLayers then use true, else use false will fix the issue. Bug: dawn:2372 Change-Id: I71138bb40aa75f2e9ad3f46403b1d79258a89ba9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173841 Reviewed-by: Stephen White <senorblanco@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Gregg Tavares <gman@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.