From: Brian Paul Date: Fri, 28 May 2010 19:31:23 +0000 (-0600) Subject: llvmpipe: add PIPE_BUFFER to assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6d8b4090f72f96485ee1589c114d9cf1e6f9db4;p=mesa.git llvmpipe: add PIPE_BUFFER to assertion Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f. --- 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);