summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTommy Schultz Lassen <mesa3d@krynn.dk>2007-07-18 00:37:43 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-07-18 00:37:43 +0000
commitfb4e071beda6e3b9e68a21bbc7649b6c4733c485 (patch)
treeae6a886acd77e5905513172219fb00d5df5b6e86 /src
parent7b410f366fa117a03a7e838562215d2dca3f8cbc (diff)
r300: Corrected texcoord start when BFC1 is enabled.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c
index 0fb6110494b..4f36e818ff3 100644
--- a/src/mesa/drivers/dri/r300/r300_vertprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertprog.c
@@ -1073,7 +1073,7 @@ static void t_inputs_outputs(struct r300_vertex_program *vp)
if (vp->key.OutputsWritten & (1 << VERT_RESULT_BFC1)) {
vp->outputs[VERT_RESULT_BFC1] =
vp->outputs[VERT_RESULT_COL0] + 3;
- cur_reg = vp->outputs[VERT_RESULT_BFC1] + 1;
+ cur_reg = vp->outputs[VERT_RESULT_BFC1] + 2;
}
#if 0
if (vp->key.OutputsWritten & (1 << VERT_RESULT_FOGC)) {