commit | 38700814146b23fa434026227accdd09ef12d9ef | [log] [tgz] |
---|---|---|
author | Srijan Dhungana <srijan.dhungana6@gmail.com> | Wed Aug 21 21:36:46 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 21 21:36:46 2024 +0000 |
tree | 3d556e4558381cbf7460413b68f92cd3c9533d6a | |
parent | 17f31733fd733aa2565571f94981913042bd19d6 [diff] |
Add D3D12 Backend for MultiDrawIndirect Feature This CL adds support for the D3D12 backend, which requires emulation of base vertex and base instance parameters in the indirect arguments. The indirect draw validation compute pass duplicates the parameters if it is used in the shaders. MultiDraw capability is supported on all devices with D3D12. New tests added for MultiDrawIndexedIndirect to test baseVertex and firstInstance. Change-Id: I75bc48243e4801f49e6e50091cf1560593a3d14c Bug: 356461286 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/203254 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Srijan Dhungana <srijan.dhungana6@gmail.com> Reviewed-by: Austin Eng <enga@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.