Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-12-05 06:03:40 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-12-05 06:03:40 +0300
commit4d4f0dbd8d7a8f04d116a38ecb6708a6beaa1702 (patch)
tree8923eb704de929013e5b02542be251b576bc0362 /source/blender/gpu/intern/gpu_extensions.c
parent1dac00f7ad179287c873b50e9a038117d4141805 (diff)
GPU: Print opengl infos if using --debug-gpu-force-workarounds
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c6
1 files changed, 6 insertions, 0 deletions
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;