This is fixed by the nv50 part of the commit:
commit 7401590dedf6f2abb1f0f0db988be90acb1fb84f
Author: Christoph Bumiller <email address hidden>
Date: Mon Feb 7 14:54:17 2011 +0100
nv50,nvc0: do not forget to apply sign mode to saved TGSI inputs
diff --git a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
index d6b80c3..ce9300a 100644
--- a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
+++ b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
@@ -1130,7 +1130,7 @@ emit_fetch(struct bld_context *bld, const struct tgsi_full_instruction *insn,
case TGSI_FILE_INPUT:
res = bld_saved_input(bld, idx, swz);
if (res && (insn->Instruction.Opcode != TGSI_OPCODE_TXP))
- return res;
+ break;
res = new_value(bld->pc, bld->ti->input_file, type);
res->reg.id = bld->ti->input_map[idx][swz];
This is fixed by the nv50 part of the commit: bb1f0f0db988be9 0acb1fb84f
commit 7401590dedf6f2a
Author: Christoph Bumiller <email address hidden>
Date: Mon Feb 7 14:54:17 2011 +0100
nv50,nvc0: do not forget to apply sign mode to saved TGSI inputs
diff --git a/src/gallium/ drivers/ nv50/nv50_ tgsi_to_ nc.c b/src/gallium/ drivers/ nv50/nv50_ tgsi_to_ nc.c drivers/ nv50/nv50_ tgsi_to_ nc.c drivers/ nv50/nv50_ tgsi_to_ nc.c instruction *insn, input(bld, idx, swz); Instruction. Opcode != TGSI_OPCODE_TXP))
index d6b80c3..ce9300a 100644
--- a/src/gallium/
+++ b/src/gallium/
@@ -1130,7 +1130,7 @@ emit_fetch(struct bld_context *bld, const struct tgsi_full_
case TGSI_FILE_INPUT:
res = bld_saved_
if (res && (insn->
- return res;
+ break;
res = new_value(bld->pc, bld->ti- >input_ file, type); >input_ map[idx] [swz];
res->reg.id = bld->ti-