[M149] [native] Fix IndirectDrawValidationEncoder merging non-matching passes Cherry pick of b648c9039c49cf9664fe2f9a00e770090173b575 Original change: > If two passes had different kDuplicateBaseVertexInstance values, the > encoder would erroneously merge them. > > Fixed by making sure to take this flag into account. To help avoid this > happening in the future should we add or modify more fields to the > config, I added a constructor to force all fields to be passed in. The > comparison code now inline constructs the config object and compares it > use the equality operator. > > Fixes: 513948465 > Change-Id: I9e22feb9d6f407126c604a872ddd5c45aab4ef04 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/311995 > Reviewed-by: Brandon Jones <bajones@chromium.org> > Commit-Queue: Antonio Maiorano <amaiorano@google.com> Bug: 513948465 Fixed: 518646700 Change-Id: I07d762ccbda74477b55423c4d73684708348478d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/313517 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@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.