turnip: Match the blob's format for vendorID and deviceID.

This should hopefully cause us the least trouble with apps tuning for
device performance.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13041>
This commit is contained in:
Emma Anholt 2021-09-24 11:46:10 -07:00 committed by Marge Bot
parent 7ddb0c9f76
commit 7e471541e0
1 changed files with 2 additions and 2 deletions

View File

@ -959,8 +959,8 @@ tu_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
pProperties->properties = (VkPhysicalDeviceProperties) {
.apiVersion = TU_API_VERSION,
.driverVersion = vk_get_driver_version(),
.vendorID = 0, /* TODO */
.deviceID = 0,
.vendorID = 0x5143,
.deviceID = pdevice->dev_id.chip_id,
.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
.limits = limits,
.sparseProperties = { 0 },