[Bf-blender-cvs] [4d4f0dbd8d7] blender2.8: GPU: Print opengl infos if using --debug-gpu-force-workarounds

Clément Foucault noreply at git.blender.org
Wed Dec 5 04:03:55 CET 2018


Commit: 4d4f0dbd8d7a8f04d116a38ecb6708a6beaa1702
Author: Clément Foucault
Date:   Wed Dec 5 04:03:40 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB4d4f0dbd8d7a8f04d116a38ecb6708a6beaa1702

GPU: Print opengl infos if using --debug-gpu-force-workarounds

===================================================================

M	source/blender/gpu/intern/gpu_extensions.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 2309c6dc009..8d2fbb4fd73 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -344,6 +344,12 @@ void gpu_extensions_init(void)
 	gpu_detect_mip_render_workaround();
 
 	if (G.debug & G_DEBUG_GPU_FORCE_WORKAROUNDS) {
+		printf("\n");
+		printf("GPU: Bypassing workaround detection.\n");
+		printf("GPU: OpenGL indentification strings\n");
+		printf("GPU: vendor: %s\n", vendor);
+		printf("GPU: renderer: %s\n", renderer);
+		printf("GPU: version: %s\n\n", version);
 		GG.mip_render_workaround = true;
 		GG.depth_blitting_workaround = true;
 		GG.unused_fb_slot_workaround = true;



More information about the Bf-blender-cvs mailing list