From 171ba1d0d154f7fdeb712fd411f19e1ebddd3b55 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Tue, 6 May 2008 12:18:07 -0700 Subject: [PATCH] r5xx: Fix typo. Gotta be more careful with my cut'n'paste, lawl. --- src/mesa/drivers/dri/r300/r500_fragprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c index 0e2bda1c647..9ad081e9b89 100644 --- a/src/mesa/drivers/dri/r300/r500_fragprog.c +++ b/src/mesa/drivers/dri/r300/r500_fragprog.c @@ -183,7 +183,7 @@ static GLuint make_dest(struct r500_fragment_program *fp, struct prog_dst_regist // reg = (dest.Index << 0x1) | 0x1; reg = dest.Index; if (dest.Index > fp->max_temp_idx) - fp->max_temp_idx = src.Index; + fp->max_temp_idx = dest.Index; break; case PROGRAM_OUTPUT: /* Eventually we may need to handle multiple -- 2.30.2