diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2009-05-23 12:24:33 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-05-28 16:06:17 +1000 |
commit | aad31d69ce9e2278d93e514b97e1a92a25f89826 (patch) | |
tree | 2db147884a650dd43f145b144c1f44400fc8cb82 | |
parent | 4a7cf8f66ff5d7e15ae7f8f5542f27bc72c68709 (diff) |
nv50: fix SIGN_SET case in tgsi_src
-rw-r--r-- | src/gallium/drivers/nv50/nv50_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index 877ead39ce..2241801542 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -956,7 +956,7 @@ tgsi_src(struct nv50_pc *pc, int chan, const struct tgsi_full_src_register *src) case TGSI_UTIL_SIGN_SET: temp = temp_temp(pc); emit_abs(pc, temp, r); - emit_neg(pc, temp, r); + emit_neg(pc, temp, temp); r = temp; break; default: |