OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0817182
)
gallium/u_blitter: don't adjust cubemap coordinates by a small number
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 16 Mar 2014 02:40:54 +0000
(
03:40
+0100)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blitter.c
b/src/gallium/auxiliary/util/u_blitter.c
index
1e7f374
..
64a3dcf
100644
(file)
--- 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,
-
TRU
E);
+
FALS
E);
} else {
set_texcoords_in_vertices(coord, &ctx->vertices[0][1][0], 8);
}