summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZou Nan hai <[email protected]>2007-07-04 10:51:57 +0800
committerZou Nan hai <[email protected]>2007-07-04 10:51:57 +0800
commit285b326c606e9b2f90e4fe177b15b3fa23239b86 (patch)
tree719e95062a71c17adbe3b2be688f4c45cd832872
parent4fc02ad000a0948ab77306980492924f5beebc0a (diff)
fix issue with output as src register.
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 7dc6f9bf93f..18ede5f6cdc 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -1165,7 +1165,7 @@ void brw_vs_emit(struct brw_vs_compile *c )
if (inst->DstReg.File == PROGRAM_OUTPUT
&&inst->DstReg.Index != VERT_RESULT_HPOS
&&c->output_regs[inst->DstReg.Index].used_in_src)
- brw_MOV(p, dst, c->output_regs[inst->DstReg.Index].reg);
+ brw_MOV(p, get_dst(c, inst->DstReg), dst);
release_tmps(c);
}