summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mesa/state_tracker/st_cb_fbo.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-07-01 08:36:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-07-01 08:36:49 +0000
commitcaba34dab78a511c668481b21144cd9e1f4a0d44 (patch)
tree98afd1b0c919969abdf482b843819f2ff5695abb /lib/mesa/src/mesa/state_tracker/st_cb_fbo.c
parent2710d6d469f07ac1e3d994de08797b1a6978f35b (diff)
Merge Mesa 19.0.8
Diffstat (limited to 'lib/mesa/src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r--lib/mesa/src/mesa/state_tracker/st_cb_fbo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mesa/src/mesa/state_tracker/st_cb_fbo.c b/lib/mesa/src/mesa/state_tracker/st_cb_fbo.c
index 3bd7fd4ad..989d86c41 100644
--- a/lib/mesa/src/mesa/state_tracker/st_cb_fbo.c
+++ b/lib/mesa/src/mesa/state_tracker/st_cb_fbo.c
@@ -414,9 +414,15 @@ st_new_renderbuffer_fb(enum pipe_format format, unsigned samples, boolean sw)
case PIPE_FORMAT_R32G32B32A32_FLOAT:
strb->Base.InternalFormat = GL_RGBA32F;
break;
+ case PIPE_FORMAT_R32G32B32X32_FLOAT:
+ strb->Base.InternalFormat = GL_RGB32F;
+ break;
case PIPE_FORMAT_R16G16B16A16_FLOAT:
strb->Base.InternalFormat = GL_RGBA16F;
break;
+ case PIPE_FORMAT_R16G16B16X16_FLOAT:
+ strb->Base.InternalFormat = GL_RGB16F;
+ break;
default:
_mesa_problem(NULL,
"Unexpected format %s in st_new_renderbuffer_fb",