add an option to select gpu for metal

This commit is contained in:
Samuliak 2024-12-18 19:51:58 +01:00
parent 79290eae3f
commit 08ea28f56e
No known key found for this signature in database
6 changed files with 129 additions and 22 deletions

View file

@ -462,8 +462,9 @@ struct CemuConfig
// graphics
ConfigValue<GraphicAPI> graphic_api{ kVulkan };
std::array<uint8, 16> graphic_device_uuid;
ConfigValue<int> vsync{ 0 }; // 0 = off, 1+ = on depending on render backend
std::array<uint8, 16> vk_graphic_device_uuid;
uint64 mtl_graphic_device_uuid{0};
ConfigValue<int> vsync{ 0 }; // 0 = off, 1+ = depending on render backend
ConfigValue<bool> gx2drawdone_sync {true};
ConfigValue<bool> render_upside_down{ false };
ConfigValue<bool> async_compile{ true };