projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0885b8
)
don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 22 May 2007 16:07:49 +0000
(10:07 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 22 May 2007 16:07:49 +0000
(10:07 -0600)
src/mesa/swrast/s_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_context.c
b/src/mesa/swrast/s_context.c
index
d432119
..
f373fde
100644
(file)
--- a/
src/mesa/swrast/s_context.c
+++ b/
src/mesa/swrast/s_context.c
@@
-549,6
+549,7
@@
_swrast_update_fragment_attribs(GLcontext *ctx)
if (ctx->FragmentProgram._Current) {
/* fragment program/shader */
attribsMask = ctx->FragmentProgram._Current->Base.InputsRead;
+ attribsMask &= ~FRAG_BIT_WPOS; /* WPOS is always handled specially */
}
else if (ctx->ATIFragmentShader._Enabled) {
attribsMask = ~0; /* XXX fix me */