mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 00:47:13 +00:00
Detect integrated device type on Intel iGPUs.
Fix to prevent incorrectly reporting the device type. BUG=dawn:144 Change-Id: Ie1956d908b20649787aef785cd29f0f63f524431 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6980 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
974a150327
commit
efef0e4b1f
@@ -38,4 +38,11 @@ static constexpr uint32_t kTextureRowPitchAlignment = 256u;
|
||||
static constexpr float kLodMin = 0.0;
|
||||
static constexpr float kLodMax = 1000.0;
|
||||
|
||||
static constexpr uint32_t kVendorID_AMD = 0x1002;
|
||||
static constexpr uint32_t kVendorID_ARM = 0x13B5;
|
||||
static constexpr uint32_t kVendorID_ImgTec = 0x1010;
|
||||
static constexpr uint32_t kVendorID_Intel = 0x8086;
|
||||
static constexpr uint32_t kVendorID_Nvidia = 0x10DE;
|
||||
static constexpr uint32_t kVendorID_Qualcomm = 0x5143;
|
||||
|
||||
#endif // COMMON_CONSTANTS_H_
|
||||
|
||||
Reference in New Issue
Block a user