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.
This commit is contained in:
parent
3ccec47841
commit
ec60c8abe7
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue