nv50: fix SIGN_SET case in tgsi_src

This commit is contained in:
Christoph Bumiller
2009-05-23 12:24:33 +02:00
committed by Ben Skeggs
parent 4a7cf8f66f
commit aad31d69ce
+1 -1
View File
@@ -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: