fix issue with output as src register.

This commit is contained in:
Zou Nan hai 2007-07-04 10:51:57 +08:00
parent 4fc02ad000
commit 285b326c60

View file

@ -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);
}