nv50: fix SIGN_SET case in tgsi_src
This commit is contained in:
committed by
Ben Skeggs
parent
4a7cf8f66f
commit
aad31d69ce
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user