mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 08:45:46 +00:00
d7ec4308b4
* Replace vendor id lookup with driver name * Create separate field for driver name, handle OpenGL * Document changes in VulkanPhysicalDevice.cs * Always display driver over vendor * Replace Vulkan 1.2 requirement with VK_KHR_driver_properties * Remove empty line * Remove redundant unsafe block * Apply suggestions from code review --------- Co-authored-by: Ac_K <Acoustik666@gmail.com>
16 lines
414 B
C#
16 lines
414 B
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public readonly struct HardwareInfo
|
|
{
|
|
public string GpuVendor { get; }
|
|
public string GpuModel { get; }
|
|
public string GpuDriver { get; }
|
|
|
|
public HardwareInfo(string gpuVendor, string gpuModel, string gpuDriver)
|
|
{
|
|
GpuVendor = gpuVendor;
|
|
GpuModel = gpuModel;
|
|
GpuDriver = gpuDriver;
|
|
}
|
|
}
|
|
}
|