projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dfbd1b
)
softpipe: fix double-minify in texture layout
author
Keith Whitwell
<keithw@vmware.com>
Fri, 4 Dec 2009 11:49:42 +0000
(11:49 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 4 Dec 2009 11:49:42 +0000
(11:49 +0000)
src/gallium/drivers/softpipe/sp_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_texture.c
b/src/gallium/drivers/softpipe/sp_texture.c
index
bd65321
..
4f946cc
100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_texture.c
+++ b/
src/gallium/drivers/softpipe/sp_texture.c
@@
-67,7
+67,7
@@
softpipe_texture_layout(struct pipe_screen *screen,
spt->level_offset[level] = buffer_size;
- buffer_size += (pf_get_nblocksy(pt->format,
u_minify(height, level)
) *
+ buffer_size += (pf_get_nblocksy(pt->format,
height
) *
((pt->target == PIPE_TEXTURE_CUBE) ? 6 : depth) *
spt->stride[level]);