From: Corbin Simpson Date: Mon, 19 May 2008 06:35:07 +0000 (-0700) Subject: r5xx: Fix typo of epic proportions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6c38f2f648f91f35594383666eec01abdc19632;p=mesa.git r5xx: Fix typo of epic proportions. --- 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);