From 96dbcb8759a275c289f01d528da847625fd9c03d Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Thu, 3 Jun 2021 20:59:58 +0000 Subject: [PATCH] vkr: forward the host renderer hardware info Some game engines rely on the real hardware info to adjust default graphics quality and other attributes. Signed-off-by: Yiwei Zhang Reviewed-by: Chia-I Wu --- src/vkr_renderer.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/vkr_renderer.c b/src/vkr_renderer.c index 39c6e4e..c6227ac 100644 --- a/src/vkr_renderer.c +++ b/src/vkr_renderer.c @@ -1016,10 +1016,6 @@ vkr_physical_device_init_properties(struct vkr_physical_device *physical_dev) VkPhysicalDeviceProperties *props = &physical_dev->properties; props->driverVersion = 0; - props->vendorID = 0; - props->deviceID = 0; - props->deviceType = VK_PHYSICAL_DEVICE_TYPE_OTHER; - memset(props->deviceName, 0, sizeof(props->deviceName)); /* TODO lie about props->pipelineCacheUUID and patch cache header */ }