gallium/u_blitter: don't adjust cubemap coordinates by a small number
authorMarek Olšák <marek.olsak@amd.com>
Sun, 16 Mar 2014 02:40:54 +0000 (03:40 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 4 Apr 2014 17:38:36 +0000 (19:38 +0200)
It may cause issues with mipmap generation.
I think it was used to make some piglit tests pass on r300g.

src/gallium/auxiliary/util/u_blitter.c

index 1e7f374abffb703357c79756c61c72991a0eb034..64a3dcf3aed0bbd78c75b9474ff084ed3404f55e 100644 (file)
@@ -704,7 +704,7 @@ static void blitter_set_texcoords(struct blitter_context_priv *ctx,
                                         /* pointer, stride in floats */
                                         &face_coord[0][0], 2,
                                         &ctx->vertices[0][1][0], 8,
-                                        TRUE);
+                                        FALSE);
    } else {
       set_texcoords_in_vertices(coord, &ctx->vertices[0][1][0], 8);
    }