mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 16:31:19 +12:00
rework gpu selection
This commit is contained in:
parent
ba9a9370fe
commit
d64e0c9b6f
7 changed files with 105 additions and 41 deletions
|
@ -156,19 +156,7 @@ public:
|
|||
sint32 texelCountY;
|
||||
}FormatInfoVK;
|
||||
|
||||
struct DeviceInfo
|
||||
{
|
||||
DeviceInfo(const std::string name, uint8* uuid)
|
||||
: name(name)
|
||||
{
|
||||
std::copy(uuid, uuid + VK_UUID_SIZE, this->uuid.data());
|
||||
}
|
||||
|
||||
std::string name;
|
||||
std::array<uint8, VK_UUID_SIZE> uuid;
|
||||
};
|
||||
|
||||
static std::vector<DeviceInfo> GetDevices();
|
||||
static std::vector<std::string> GetDevices();
|
||||
VulkanRenderer();
|
||||
virtual ~VulkanRenderer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue