Populate arb_fp_instruction negate field correctly.

This commit is contained in:
Keith Whitwell
2005-10-07 09:55:26 +00:00
parent dfe7aedf84
commit f2802c40ff

View File

@@ -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;
}