diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-09-26 09:36:05 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-09-26 09:36:05 +0300 |
commit | 6075b04cf970d7ae2d7a7be0e0180ccaedfe83cf (patch) | |
tree | ee841078a9a96cff6bde5f17ba6e55df1654d7d7 /release/scripts/modules/sys_info.py | |
parent | 267aee514adba5b2b871788219535efdddc7f4f3 (diff) |
System info: Added GPU device type and feature support.
Adds more information to System info to help triaging/debugging.
Diffstat (limited to 'release/scripts/modules/sys_info.py')
-rw-r--r-- | release/scripts/modules/sys_info.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/modules/sys_info.py b/release/scripts/modules/sys_info.py index a5bae1b97af..f50a109f533 100644 --- a/release/scripts/modules/sys_info.py +++ b/release/scripts/modules/sys_info.py @@ -176,6 +176,7 @@ def write_sysinfo(filepath): output.write("renderer:\t%r\n" % gpu.platform.renderer_get()) 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("extensions:\n") glext = sorted(gpu.capabilities.extensions_get()) @@ -196,6 +197,11 @@ def write_sysinfo(filepath): output.write("Maximum Fragment Image Units:\t%d\n" % gpu.capabilities.max_textures_frag_get()) output.write("Maximum Pipeline Image Units:\t%d\n" % gpu.capabilities.max_textures_get()) + output.write("\nFeatures:\n") + output.write("Compute Shader Support: \t%d\n" % gpu.capabilities.compute_shader_support_get()) + output.write("Shader Storage Buffer Objects Support:\t%d\n" % gpu.capabilities.shader_storage_buffer_objects_support_get()) + output.write("Image Load/Store Support: \t%d\n" % gpu.capabilities.shader_image_load_store_support_get()) + if bpy.app.build_options.cycles: import cycles output.write(title("Cycles")) |