diff options
author | Keith Whitwell <[email protected]> | 2005-10-07 09:55:26 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-10-07 09:55:26 +0000 |
commit | f2802c40fff686301a7ff99f0a0b1c57d5cf5625 (patch) | |
tree | 3f6d318bd31a24d5ee84a82f7c89609fe1abe08e /src/mesa/main | |
parent | dfe7aedf845ce9117065c6cee2146df7eee1c0fa (diff) |
Populate arb_fp_instruction negate field correctly.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texenvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 6f9fe2dc454..7b74e3ad1b4 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -452,7 +452,7 @@ static void emit_arg( struct fp_src_register *reg, reg->File = ureg.file; reg->Index = ureg.idx; reg->Swizzle = ureg.swz; - reg->NegateBase = ureg.negatebase; + reg->NegateBase = ureg.negatebase ? 0xf : 0x0; reg->Abs = ureg.abs; reg->NegateAbs = ureg.negateabs; } |