[Bf-blender-cvs] [9598bad59c9] master: GPU: Report number of compressed texture formats to help nailing crahs down in the future

Sergey Sharybin noreply at git.blender.org
Tue Oct 17 11:54:00 CEST 2017


Commit: 9598bad59c95ea51d3e933e2cf07c0172b595adc
Author: Sergey Sharybin
Date:   Tue Oct 17 11:53:15 2017 +0200
Branches: master
https://developer.blender.org/rB9598bad59c95ea51d3e933e2cf07c0172b595adc

GPU: Report number of compressed texture formats to help nailing crahs down in the future

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

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

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

diff --git a/source/blender/gpu/intern/gpu_debug.c b/source/blender/gpu/intern/gpu_debug.c
index 73133a6caab..859aab9565f 100644
--- a/source/blender/gpu/intern/gpu_debug.c
+++ b/source/blender/gpu/intern/gpu_debug.c
@@ -502,6 +502,7 @@ void GPU_state_print(void)
 	gpu_state_print_fl(GL_COLOR_SUM);
 	gpu_state_print_fl(GL_COLOR_TABLE);
 	gpu_state_print_fl(GL_COLOR_WRITEMASK);
+	gpu_state_print_fl(GL_NUM_COMPRESSED_TEXTURE_FORMATS);
 	gpu_state_print_fl(GL_COMPRESSED_TEXTURE_FORMATS);
 	gpu_state_print_fl(GL_CONVOLUTION_1D);
 	gpu_state_print_fl(GL_CONVOLUTION_2D);



More information about the Bf-blender-cvs mailing list