r5xx: Fix typo of epic proportions.

This commit is contained in:
Corbin Simpson
2008-05-18 23:35:07 -07:00
parent 2225b9bdb0
commit a6c38f2f64
+1 -1
View File
@@ -343,7 +343,7 @@ static void dumb_shader(struct r500_fragment_program *fp)
}
static void emit_alu(struct r500_fragment_program *fp, int counter, struct prog_instruction *fpi) {
if (fpi->DstReg.Index == PROGRAM_OUTPUT) {
if (fpi->DstReg.File == PROGRAM_OUTPUT) {
fp->inst[counter].inst0 = R500_INST_TYPE_OUT
/* output_mask */
| (fpi->DstReg.WriteMask << 14);