summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-07-13 09:39:23 +0000
committerOliver McFadden <[email protected]>2007-07-13 09:39:23 +0000
commit5ec66cf62dab00a50499bc8d2a666146a334a3cb (patch)
tree65020e53bf2881437dd51c1ca7b2f663b7728151
parent07ac2386f5c0ab9c2432d4b5e3490b1e13d033fc (diff)
Revert "r300: Corrected off-by-one error in r300_vertprog.c."
This reverts commit 07ac2386f5c0ab9c2432d4b5e3490b1e13d033fc.
-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 60f151c5423..d5cae478539 100644
--- a/src/mesa/drivers/dri/r300/r300_vertprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertprog.c
@@ -455,7 +455,7 @@ static void r300TranslateVertexShader(struct r300_vertex_program *vp,
if (vp->key.OutputsWritten & (1 << VERT_RESULT_BFC0)) {
vp->outputs[VERT_RESULT_BFC0] = 3;
- cur_reg = 4;
+ cur_reg = 5;
}
if (vp->key.OutputsWritten & (1 << VERT_RESULT_BFC1)) {