Commit: ec60c8abe76e4473f45d783010be92114c0ed608
Author: Jeroen Bakker
Date: Fri Oct 21 15:03:21 2022 +0200
Branches: master
https://developer.blender.org/rBec60c8abe76e4473f45d783010be92114c0ed608
SystemInfo: Add active GPU backend.
For debugging it is useful to known the active GPU backend. Although
it could be determined from looking at the extensions, this is easier
to understand when not activly working in this area.
===================================================================
M release/scripts/modules/sys_info.py
===================================================================
diff --git a/release/scripts/modules/sys_info.py
b/release/scripts/modules/sys_info.py
index 7f6d0b1e9bf..5bd38acb19c 100644
--- a/release/scripts/modules/sys_info.py
+++ b/release/scripts/modules/sys_info.py
@@ -184,6 +184,7 @@ def write_sysinfo(filepath):
output.write("vendor:\t\t%r\n" % gpu.platform.vendor_get())
output.write("version:\t%r\n" % gpu.platform.version_get())
output.write("device type:\t%r\n" %
gpu.platform.device_type_get())
+ output.write("backend type:\t%r\n" %
gpu.platform.backend_type_get())
output.write("extensions:\n")
glext = sorted(gpu.capabilities.extensions_get())
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs