projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6a17b6
)
fix broken negate
author
Aapo Tahkola
<aet@rasterburn.org>
Sun, 18 Jun 2006 12:50:27 +0000
(12:50 +0000)
committer
Aapo Tahkola
<aet@rasterburn.org>
Sun, 18 Jun 2006 12:50:27 +0000
(12:50 +0000)
src/mesa/tnl/t_vp_build.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vp_build.c
b/src/mesa/tnl/t_vp_build.c
index c2fd42c533200dc668fd980e4df37b2f383a03a3..4387e066fcd862da5340a713ea33b78793af592a 100644
(file)
--- a/
src/mesa/tnl/t_vp_build.c
+++ b/
src/mesa/tnl/t_vp_build.c
@@
-460,7
+460,7
@@
static void emit_arg( struct prog_src_register *src,
src->File = reg.file;
src->Index = reg.idx;
src->Swizzle = reg.swz;
- src->NegateBase = reg.negate;
+ src->NegateBase = reg.negate
? NEGATE_XYZW : 0
;
src->Abs = 0;
src->NegateAbs = 0;
src->RelAddr = 0;