commit | f7a98fa8541209c2708899b5c2cc8b65380b14b8 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Fri May 29 16:19:58 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Fri May 29 16:19:58 2020 +0000 |
tree | 92e3759b0e88cb6a389e0838ae4a2b59d7cc5683 | |
parent | 4c32bd0b7d6b83c74ccc367a2d9c929df88e793e [diff] |
Ensure dynamic buffer offset bindings are sorted in increasing order A previous CL sorted bindings by binding number, but bindings were first sorted by type. This means a bind group layout with mixed dynamic storage and uniform buffers would not always have all dynamic bindings in increasing order. Instead, it would be strictly increasing within each section of uniform/storage buffers. This CL corrects the issue by first sorting dynamic buffers by binding number. Bug: dawn:408 Change-Id: I3689eb64ad8aa8768cebe266eebcba75a21894ce Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22303 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org>
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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.