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:
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/gpu/opengl/gl_shader.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc
index dfc9e024404..8729a47eac8 100644
--- a/source/blender/gpu/opengl/gl_shader.cc
+++ b/source/blender/gpu/opengl/gl_shader.cc
@@ -174,6 +174,10 @@ static const char *to_string(const eGPUTextureFormat &type)
return "r16f";
case GPU_R16:
return "r16";
+ case GPU_R11F_G11F_B10F:
+ return "r11f_g11f_b10f";
+ case GPU_RGB10_A2:
+ return "rgb10_a2";
default:
return "unkown";
}