projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3158cc7
)
r600g: change the cross over point for 2d->1d
author
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 23:14:01 +0000
(09:14 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 23:30:24 +0000
(09:30 +1000)
this fixes some rendering in the fbo-generatemipmap-formats test on
my rv610.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_texture.c
b/src/gallium/drivers/r600/r600_texture.c
index ed7cc3964df1089b414ea9119febbcaad9666c22..483292198ec96765ab18f2b840950eaac9d117aa 100644
(file)
--- a/
src/gallium/drivers/r600/r600_texture.c
+++ b/
src/gallium/drivers/r600/r600_texture.c
@@
-226,7
+226,7
@@
static void r600_texture_set_array_mode(struct pipe_screen *screen,
w = mip_minify(ptex->width0, level);
h = mip_minify(ptex->height0, level);
- if (w <
tile_width || h <
tile_height)
+ if (w <
= tile_width || h <=
tile_height)
rtex->array_mode[level] = V_0280A0_ARRAY_1D_TILED_THIN1;
else
rtex->array_mode[level] = array_mode;