projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57edc5
)
llvmpipe: add PIPE_BUFFER to assertion
author
Brian Paul
<brianp@vmware.com>
Fri, 28 May 2010 19:31:23 +0000
(13:31 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 28 May 2010 19:31:23 +0000
(13:31 -0600)
Fixes regression from commit
f2e05acac931889e0820e1cc5d7ea810048a6b5f
.
src/gallium/drivers/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index cedc08e9292225eecf8e008455da4b1f44056017..34ad298a93e22107d7d4c2bbc1c2172609b60871 100644
(file)
--- 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);