summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2006-06-18 12:50:27 +0000
committerAapo Tahkola <aet@rasterburn.org>2006-06-18 12:50:27 +0000
commit16d1024f27695bd9ceb86ffcdda960396a23ed2c (patch)
tree6527079ad19bde3440a6f79a763048beb8722691 /src/mesa
parente6a17b605236145aa397201d52de3f015a22a97e (diff)
fix broken negate
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_vp_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index c2fd42c533..4387e066fc 100644
--- 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;