projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c27c670
)
i965simple: remove pipe_texture::compressed reference
author
Brian Paul
<brianp@vmware.com>
Thu, 9 Apr 2009 21:09:42 +0000
(15:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 9 Apr 2009 21:33:09 +0000
(15:33 -0600)
src/gallium/drivers/i965simple/brw_tex_layout.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965simple/brw_tex_layout.c
b/src/gallium/drivers/i965simple/brw_tex_layout.c
index f44bd17451b4813f89b8748cdf2c7d588a6b0da5..8aea8c05581fdeeb9a77e06f6248eff26278e71b 100644
(file)
--- a/
src/gallium/drivers/i965simple/brw_tex_layout.c
+++ b/
src/gallium/drivers/i965simple/brw_tex_layout.c
@@
-240,7
+240,7
@@
static boolean brw_miptree_layout(struct brw_texture *tex)
nblocksx = pf_get_nblocksx(&pt->block, width);
nblocksy = pf_get_nblocksy(&pt->block, height);
- if (p
t->compressed
) {
+ if (p
f_is_compressed(pt->format)
) {
pack_y_pitch = (height + 3) / 4;
if (pack_x_pitch > align(width, align_w)) {