From 16d1024f27695bd9ceb86ffcdda960396a23ed2c Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Sun, 18 Jun 2006 12:50:27 +0000 Subject: fix broken negate --- src/mesa/tnl/t_vp_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/tnl/t_vp_build.c') diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index c2fd42c5332..4387e066fcd 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; -- cgit v1.2.3