commit | 87a1724368e9eeec6a69737e7ef337ccf1a9e636 | [log] [tgz] |
---|---|---|
author | Brandon Jones <bajones@chromium.org> | Wed Dec 14 23:44:11 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 14 23:44:11 2022 +0000 |
tree | 80d12c137d08024f082c1652e7dae363edb2392b | |
parent | ea1cc79cb86050aa373ab322fb7b94b8218e7202 [diff] |
Improve draw-time bind group validation messages Makes it clear that the index being reported by these messages is the group index and not the binding number. This was a point of confusion in on the bug. Additionally, adds more information to the error message regarding buffer sizes being too small for the current pipeline. Now includes the pipeline name and buffer size as well as the minimum required size. Also includes a note explaining that uniform buffer bindings must be a multiple of 16. (This recently changed and cause several existing samples to break for non-obvious reasons.) The error message still does not contain the buffer or binding number, which would be helpful. This is because we currently lack a way to look up the binding index from the packed index that this error is generated with. Bug: dawn:1604 Change-Id: Ibb2b44bc9e1583ddef34d703e83bcf64ed7a3aa2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113602 Commit-Queue: Brandon Jones <bajones@chromium.org> Auto-Submit: Brandon Jones <bajones@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.