diff options
author | Brian Paul <brianp@vmware.com> | 2009-04-14 22:14:30 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-04-14 22:14:30 -0600 |
commit | 7db7ff878d3e5a6b345228e6eaee4797bb68b360 (patch) | |
tree | 9dbdcfc3d9bc37d88f7e86f22f7c8f18b9420b14 /src/mesa/shader/slang | |
parent | 0115a4f8f1952b166eaad09f317ff8bc465e0f28 (diff) |
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.
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r-- | src/mesa/shader/slang/slang_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index 8493c490fb..3f455e0640 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -1135,7 +1135,7 @@ emit_negation(slang_emit_info *emitInfo, slang_ir_node *n) n->Children[0]->Store, NULL, NULL); - inst->SrcReg[0].NegateBase = NEGATE_XYZW; + inst->SrcReg[0].Negate = NEGATE_XYZW; return inst; } |