mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
vk: Add iGPU detection
This commit is contained in:
parent
7ea0a96d02
commit
d40a4ee04e
1 changed files with 2 additions and 0 deletions
|
|
@ -133,6 +133,8 @@ namespace vk
|
|||
|
||||
operator VkPhysicalDevice() const;
|
||||
operator VkInstance() const;
|
||||
|
||||
bool is_integrated_gpu() const { return props.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU; }
|
||||
};
|
||||
|
||||
class render_device
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue