projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847a24c
)
r300g: fix mipmapped texture3D size calculation
author
Marek Olšák
<maraeo@gmail.com>
Tue, 27 Apr 2010 10:22:23 +0000
(12:22 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 27 Apr 2010 10:25:23 +0000
(12:25 +0200)
I accidentally inverted the condition. :(
Broken since the commit
2579fe4044012a552c8be222ffae76b48de13592
.
FDO bug #27851.
src/gallium/drivers/r300/r300_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_texture.c
b/src/gallium/drivers/r300/r300_texture.c
index cfa61b0b3f675a8bb4e938ff9fe8b943404637af..bffda846d70b23cfaf339117f1d232b04320a066 100644
(file)
--- a/
src/gallium/drivers/r300/r300_texture.c
+++ b/
src/gallium/drivers/r300/r300_texture.c
@@
-767,7
+767,7
@@
static void r300_texture_3d_fix_mipmapping(struct r300_screen *screen,
unsigned i, size;
- if (screen->rws->get_value(screen->rws, R300_VID_DRM_2_3_0) &&
+ if (
!
screen->rws->get_value(screen->rws, R300_VID_DRM_2_3_0) &&
tex->b.b.target == PIPE_TEXTURE_3D &&
tex->b.b.last_level > 0) {
size = 0;