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:
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
f44bd17
..
8aea8c0
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)) {