-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Commit-Queue: Srijan Dhungana <[email protected]> Reviewed-by: Austin Eng <[email protected]>
- Loading branch information
Showing
8 changed files
with
343 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.