summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorGravatar liamwhite2023-11-29 12:33:34 -0500
committerGravatar GitHub2023-11-29 12:33:34 -0500
commitdf49795bcbb4fa7e161c860c40ef36dce65d7a8d (patch)
tree92ca8ca353c7441f74b56514a821d3c8b977cdc6 /src/video_core/renderer_opengl
parentMerge pull request #11946 from flodavid/gamemode (diff)
parentvulkan_device: add names for more driverID enumeration values (diff)
downloadyuzu-df49795bcbb4fa7e161c860c40ef36dce65d7a8d.tar.gz
yuzu-df49795bcbb4fa7e161c860c40ef36dce65d7a8d.tar.xz
yuzu-df49795bcbb4fa7e161c860c40ef36dce65d7a8d.zip
Merge pull request #12154 from liamwhite/more-drivers
vulkan_device: add names for more driverID enumeration values
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_device.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp
index 94258ccd0..993438a27 100644
--- a/src/video_core/renderer_opengl/gl_device.cpp
+++ b/src/video_core/renderer_opengl/gl_device.cpp
@@ -265,33 +265,33 @@ std::string Device::GetVendorName() const {
265 if (vendor_name == "Intel") { 265 if (vendor_name == "Intel") {
266 // For Mesa, `Intel` is an overloaded vendor string that could mean crocus or iris. 266 // For Mesa, `Intel` is an overloaded vendor string that could mean crocus or iris.
267 // Simply return `INTEL` for those as well as the Windows driver. 267 // Simply return `INTEL` for those as well as the Windows driver.
268 return "INTEL"; 268 return "Intel";
269 } 269 }
270 if (vendor_name == "Intel Open Source Technology Center") { 270 if (vendor_name == "Intel Open Source Technology Center") {
271 return "I965"; 271 return "i965";
272 } 272 }
273 if (vendor_name == "Mesa Project") { 273 if (vendor_name == "Mesa Project") {
274 return "I915"; 274 return "i915";
275 } 275 }
276 if (vendor_name == "Mesa/X.org") { 276 if (vendor_name == "Mesa/X.org") {
277 // This vendor string is overloaded between llvmpipe, softpipe, and virgl, so just return 277 // This vendor string is overloaded between llvmpipe, softpipe, and virgl, so just return
278 // MESA instead of one of those driver names. 278 // MESA instead of one of those driver names.
279 return "MESA"; 279 return "Mesa";
280 } 280 }
281 if (vendor_name == "AMD") { 281 if (vendor_name == "AMD") {
282 return "RADEONSI"; 282 return "RadeonSI";
283 } 283 }
284 if (vendor_name == "nouveau") { 284 if (vendor_name == "nouveau") {
285 return "NOUVEAU"; 285 return "Nouveau";
286 } 286 }
287 if (vendor_name == "X.Org") { 287 if (vendor_name == "X.Org") {
288 return "R600"; 288 return "R600";
289 } 289 }
290 if (vendor_name == "Collabora Ltd") { 290 if (vendor_name == "Collabora Ltd") {
291 return "ZINK"; 291 return "Zink";
292 } 292 }
293 if (vendor_name == "Intel Corporation") { 293 if (vendor_name == "Intel Corporation") {
294 return "OPENSWR"; 294 return "OpenSWR";
295 } 295 }
296 if (vendor_name == "Microsoft Corporation") { 296 if (vendor_name == "Microsoft Corporation") {
297 return "D3D12"; 297 return "D3D12";
@@ -300,7 +300,7 @@ std::string Device::GetVendorName() const {
300 // Mesa's tegra driver reports `NVIDIA`. Only present in this list because the default 300 // Mesa's tegra driver reports `NVIDIA`. Only present in this list because the default
301 // strategy would have returned `NVIDIA` here for this driver, the same result as the 301 // strategy would have returned `NVIDIA` here for this driver, the same result as the
302 // proprietary driver. 302 // proprietary driver.
303 return "TEGRA"; 303 return "Tegra";
304 } 304 }
305 return vendor_name; 305 return vendor_name;
306} 306}