GPU: change option --gpu-force-vulkan to --gpu-detection-method

This commit is contained in:
Carter Li
2024-05-20 16:45:23 +08:00
parent 10ca77610e
commit a8b734c877
8 changed files with 110 additions and 50 deletions
+10 -5
View File
@@ -1197,13 +1197,18 @@
}
},
{
"long": "gpu-force-vulkan",
"desc": "Force using vulkan to detect GPUs",
"remark": "Vulkan supports video memory usage detection",
"long": "gpu-detection-method",
"desc": "Force using a specified method to detect GPUs",
"arg": {
"type": "bool",
"type": "enum",
"optional": true,
"default": false
"enum": {
"auto": "DRM (Linux only) -> PCI (Linux, FreeBSD and other platform specific methods) -> Vulkan -> OpenGL",
"pci": "PCI -> Vulkan -> OpenGL",
"vulkan": "Vulkan -> OpenGL",
"opengl": "OpenGL"
},
"default": "auto"
}
},
{