Revert "r300: Corrected off-by-one error in r300_vertprog.c."
authorOliver McFadden <z3ro.geek@gmail.com>
Fri, 13 Jul 2007 09:39:23 +0000 (09:39 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Fri, 13 Jul 2007 09:39:23 +0000 (09:39 +0000)
This reverts commit 07ac2386f5c0ab9c2432d4b5e3490b1e13d033fc.

src/mesa/drivers/dri/r300/r300_vertprog.c

index 60f151c5423a36a4ef62e2907bbd5d61516fcc33..d5cae478539aaa96fa697589401a76e6000289cd 100644 (file)
@@ -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)) {