From e6d8b4090f72f96485ee1589c114d9cf1e6f9db4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 28 May 2010 13:31:23 -0600 Subject: [PATCH] llvmpipe: add PIPE_BUFFER to assertion Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f. --- src/gallium/drivers/llvmpipe/lp_screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index cedc08e9292..34ad298a93e 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -218,7 +218,8 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, if (!format_desc) return FALSE; - assert(target == PIPE_TEXTURE_1D || + assert(target == PIPE_BUFFER || + target == PIPE_TEXTURE_1D || target == PIPE_TEXTURE_2D || target == PIPE_TEXTURE_3D || target == PIPE_TEXTURE_CUBE); -- 2.30.2