commit | f8fa217798a7f4dfc1e4e54f9a3a8e0b7516de2b | [log] [tgz] |
---|---|---|
author | Daniel Sabogal <dsabogalcc@gmail.com> | Fri Sep 01 17:24:33 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 01 17:24:33 2023 +0000 |
tree | ac1acf4ebaf68da71045492d5477bd8d8cf23255 | |
parent | 54c613ad0827bb9cfa2fa47f9f33a5d435a6a394 [diff] |
Check the draw type when grouping indirect batches Presently, the first stage in the indirect draw validation procedure attempts to optimize the number of passes by grouping together batches that share the same input indirect buffer. However, each pass only operates on a single draw type input. If an indirect buffer is used for both Indexed and NonIndexed draws, then it is possible to have batches included in a pass with a mismatching draw type. Change-Id: If61ce91b0b6a27511e4420051f14cdd3e633dddd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/148440 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Austin Eng <enga@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.