From: Marek Olšák Date: Sun, 16 Mar 2014 02:40:54 +0000 (+0100) Subject: gallium/u_blitter: don't adjust cubemap coordinates by a small number X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ab7bb4707ae5fb6e5e841f0f2e369c14b5ffbea;p=mesa.git gallium/u_blitter: don't adjust cubemap coordinates by a small number It may cause issues with mipmap generation. I think it was used to make some piglit tests pass on r300g. --- diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 1e7f374abff..64a3dcf3aed 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -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); }