diff options
author | Brian Paul <[email protected]> | 2010-05-28 13:31:23 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-28 13:31:23 -0600 |
commit | e6d8b4090f72f96485ee1589c114d9cf1e6f9db4 (patch) | |
tree | 572e3f3e55a27d95ee14c78d01b046884283e64c /src/gallium/drivers | |
parent | f57edc58b52605ed3c98f8af91412e3302bbf444 (diff) |
llvmpipe: add PIPE_BUFFER to assertion
Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |