Fix indirect draw output indirect param offset on D3D12 When the flag kDuplicateBaseVertexInstance is on, we need to add 2 * sizeof(uint32_t) for the outputParamsOffset for each draw Bug: chromium:1478906 Change-Id: I77b7d93c7e1bbb186911caebc3410360caef23c2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/157941 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shrek Shao <shrekshao@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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.