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

This commit is contained in:
Carter Li committed 2024-05-20 16:46:04 +08:00
1 parent 10ca77610e
commit a8b734c877
8 files changed
+110 -50

No files matched your search

+10 -4
View File
@@ -1455,10 +1455,16 @@
"type": "boolean",
"default": false
},
"forceVulkan": {
"description": "Force using vulkan to detect GPUs, which support video memory usage detection with `--allow-slow-operations`",
"type": "boolean",
"default": false
"detectionMethod": {
"description": "Force using a specified method to detect GPUs",
"type": "string",
"enum": [
"auto",
"pci",
"vulkan",
"opengl"
],
"default": "auto"
},
"hideType": {
"description": "Specify the type of GPUs should not be printed",