From a6c38f2f648f91f35594383666eec01abdc19632 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Sun, 18 May 2008 23:35:07 -0700 Subject: r5xx: Fix typo of epic proportions. --- src/mesa/drivers/dri/r300/r500_fragprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c index 65cb62f67b0..07b000b4881 100644 --- a/src/mesa/drivers/dri/r300/r500_fragprog.c +++ b/src/mesa/drivers/dri/r300/r500_fragprog.c @@ -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); -- cgit v1.2.3