commit | f33690890261d2c1ab101e6cc94a7cb9b6df5b62 | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Thu Jun 25 03:39:24 2020 -0700 |
committer | Yilong Li <liyl@google.com> | Thu Jun 25 09:02:22 2020 -0700 |
tree | d477317a42b60c184bfbbc8fe752a6ec8b96ca19 | |
parent | 773c176da6f5271039f354c8c6d191588560e962 [diff] |
vkGetPhysicalDeviceProperties: Set device type to Virtual GPU. Vulkan has a specific type VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU to indicate if a device is emulated or a virtual node. We can overwrite the physical device type of all emulated Vulkan physical devices so that clients will be aware that they are running in emulator. vkgen scripts updated in https://android-review.googlesource.com/c/platform/external/qemu/+/1350142 Bug: fxb/54086 Change-Id: I402f9b0f9266eb5e55d744a04294a0d971e7ed80