mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Add Adapter::GetDeviceType() (integrate vs. discrete vs. CPU)
BUG=chromium:852089 Change-Id: Ia447448392e09c5d604ae038b4758776ed3e66ee Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/5180 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
bff933affc
commit
2ec74dcc3f
@@ -41,6 +41,10 @@ namespace dawn_native {
|
||||
return mImpl->GetBackendType();
|
||||
}
|
||||
|
||||
DeviceType Adapter::GetDeviceType() const {
|
||||
return mImpl->GetDeviceType();
|
||||
}
|
||||
|
||||
const PCIInfo& Adapter::GetPCIInfo() const {
|
||||
return mImpl->GetPCIInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user