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:
parent
7ddb0c9f76
commit
7e471541e0
|
@ -959,8 +959,8 @@ tu_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
|
||||||
pProperties->properties = (VkPhysicalDeviceProperties) {
|
pProperties->properties = (VkPhysicalDeviceProperties) {
|
||||||
.apiVersion = TU_API_VERSION,
|
.apiVersion = TU_API_VERSION,
|
||||||
.driverVersion = vk_get_driver_version(),
|
.driverVersion = vk_get_driver_version(),
|
||||||
.vendorID = 0, /* TODO */
|
.vendorID = 0x5143,
|
||||||
.deviceID = 0,
|
.deviceID = pdevice->dev_id.chip_id,
|
||||||
.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
|
.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
|
||||||
.limits = limits,
|
.limits = limits,
|
||||||
.sparseProperties = { 0 },
|
.sparseProperties = { 0 },
|
||||||
|
|
Loading…
Reference in New Issue