From 081255671a53a4666a863ca678618efc0206a00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 3 Mar 2022 21:11:45 +0100 Subject: GL: Add missing format in image layout conversion --- source/blender/gpu/opengl/gl_shader.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/gpu/opengl') diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc index 518306905ee..c0182306047 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 "unknown"; } -- cgit v1.2.3