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 <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
macos/master
Yiwei Zhang 3 years ago committed by Chia-I Wu
parent a4e989049d
commit 96dbcb8759
  1. 4
      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 */
}

Loading…
Cancel
Save