-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make GPUAdapter GetInfo() a suitable replacement for GetProperties
Following up on a webgpu.h change[1], this CL adds support for adapter properties memory heaps, adapter properties D3D, adapter properties vk, dawn adapter properties power preference, and compatibility mode to GPUAdapter GetInfo() method so that Chrome can start the migration[2]. Once done, the GPUAdapter GetProperties() method will be marked as deprecated and we'll start using only GetInfo() in Dawn. Finally, we'll remove the GPUAdapter GetProperties() method. [1]: webgpu-native/webgpu-headers#305 [2]: https://chromium-review.googlesource.com/c/chromium/src/+/5626172 Bug: 335383516 Change-Id: I720581c1c5594d8997dc794e228fe14efb8d20cd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193461 Reviewed-by: Austin Eng <[email protected]> Commit-Queue: Kai Ninomiya <[email protected]>
- Loading branch information
1 parent
88e0d75
commit 420c94d
Showing
9 changed files
with
166 additions
and
42 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
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