summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-05-18 23:35:07 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2008-05-18 23:35:07 -0700
commita6c38f2f648f91f35594383666eec01abdc19632 (patch)
tree0694f00350753bf1125e79eefc70b60cd3422f66 /src/mesa
parent2225b9bdb08228fc824e9011341e8c0916fe2e07 (diff)
r5xx: Fix typo of epic proportions.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r500_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c
index 65cb62f67b..07b000b488 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);