mesa: merge the prog_src_register::NegateBase and NegateAbs fields

There's really no need for two negation fields.  This came from the
GL_NV_fragment_program extension.  The new, unified Negate bitfield applies
after the absolute value step.
This commit is contained in:
Brian Paul
2009-04-14 22:14:30 -06:00
parent 0115a4f8f1
commit 7db7ff878d
26 changed files with 156 additions and 208 deletions

View File

@@ -147,7 +147,7 @@ make_bitmap_fragment_program(GLcontext *ctx, GLuint samplerIndex)
p->Instructions[ic].SrcReg[0].Swizzle = SWIZZLE_XXXX;
p->Instructions[ic].SrcReg[0].Index = 0;
p->Instructions[ic].SrcReg[0].NegateBase = NEGATE_XYZW;
p->Instructions[ic].SrcReg[0].Negate = NEGATE_XYZW;
ic++;
/* END; */