| Index: content/test/gpu/gpu_tests/gpu_test_expectations.py
|
| diff --git a/content/test/gpu/gpu_tests/gpu_test_expectations.py b/content/test/gpu/gpu_tests/gpu_test_expectations.py
|
| index 196c7b68c1bae3c1a4168c6070475fb5756f83a9..53bf1d0e13c1f5dd63612c1a604a79ba43fc6662 100644
|
| --- a/content/test/gpu/gpu_tests/gpu_test_expectations.py
|
| +++ b/content/test/gpu/gpu_tests/gpu_test_expectations.py
|
| @@ -101,14 +101,14 @@ class GpuTestExpectations(test_expectations.TestExpectations):
|
| if primary_gpu:
|
| vendor_string = primary_gpu.vendor_string.lower()
|
| vendor_id = primary_gpu.vendor_id
|
| - if vendor_string:
|
| - return vendor_string.split(' ')[0]
|
| - elif vendor_id == 0x10DE:
|
| + if vendor_id == 0x10DE:
|
| return 'nvidia'
|
| elif vendor_id == 0x1002:
|
| return 'amd'
|
| elif vendor_id == 0x8086:
|
| return 'intel'
|
| + elif vendor_string:
|
| + return vendor_string.split(' ')[0]
|
| return 'unknown_gpu'
|
|
|
| def _GetGpuDeviceId(self, gpu_info):
|
|
|