projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6eccf9
)
comments
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 13 Jul 2007 18:23:34 +0000
(12:23 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 13 Jul 2007 18:23:34 +0000
(12:23 -0600)
src/mesa/pipe/softpipe/sp_quad_fs.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/softpipe/sp_quad_fs.c
b/src/mesa/pipe/softpipe/sp_quad_fs.c
index b4470ac94a570d30053aaca9069c0212a9d37c11..7b1c90cba669b49a65d3f4776cccdceb508545eb 100644
(file)
--- a/
src/mesa/pipe/softpipe/sp_quad_fs.c
+++ b/
src/mesa/pipe/softpipe/sp_quad_fs.c
@@
-39,7
+39,7
@@
#include "sp_quad.h"
struct exec_machine {
- const struct setup_coefficient *coef;
+ const struct setup_coefficient *coef;
/**< will point to quad->coef */
GLfloat attr[FRAG_ATTRIB_MAX][4][QUAD_SIZE];
};
@@
-200,7
+200,9
@@
shade_quad( struct quad_stage *qs, struct quad_header *quad )
}
#endif
- qs->next->run(qs->next, quad);
+ /* shader may cull fragments */
+ if (quad->mask)
+ qs->next->run(qs->next, quad);
}