projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68da4b5
)
swrast: update renderbuffer format assertion
author
Brian Paul
<brianp@vmware.com>
Sun, 23 Oct 2011 16:44:47 +0000
(10:44 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sun, 23 Oct 2011 16:44:47 +0000
(10:44 -0600)
Failed when exercising i965 swrast fallback rendering.
src/mesa/swrast/s_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_span.c
b/src/mesa/swrast/s_span.c
index
e517c9a
..
4124e44
100644
(file)
--- a/
src/mesa/swrast/s_span.c
+++ b/
src/mesa/swrast/s_span.c
@@
-1251,7
+1251,10
@@
_swrast_write_rgba_span( struct gl_context *ctx, SWspan *span)
4 * span->end * sizeof(GLchan));
}
- ASSERT(rb->_BaseFormat == GL_RGBA || rb->_BaseFormat == GL_RGB ||
+ ASSERT(rb->_BaseFormat == GL_RGBA ||
+ rb->_BaseFormat == GL_RGB ||
+ rb->_BaseFormat == GL_RED ||
+ rb->_BaseFormat == GL_RG ||
rb->_BaseFormat == GL_ALPHA);
if (ctx->Color.ColorLogicOpEnabled) {