mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 18:59:21 +00:00
dawn.json: Expose the driver version in the adapter.
And use it to print the driver version at the start of dawn_end2end_tests. This will help when figuring out issues happening on CQ but not necessarily locally. Bug: None Change-Id: Ibdb9ab8cab53cc1e1cf8a807da53edeca616bed9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/29602 Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
cac0442277
commit
73b70229af
@@ -48,6 +48,7 @@ namespace dawn_native {
|
||||
void Adapter::GetProperties(wgpu::AdapterProperties* properties) const {
|
||||
properties->backendType = mImpl->GetBackendType();
|
||||
properties->adapterType = mImpl->GetAdapterType();
|
||||
properties->driverDescription = mImpl->GetDriverDescription().c_str();
|
||||
properties->deviceID = mImpl->GetPCIInfo().deviceId;
|
||||
properties->vendorID = mImpl->GetPCIInfo().vendorId;
|
||||
properties->name = mImpl->GetPCIInfo().name.c_str();
|
||||
|
||||
Reference in New Issue
Block a user