diff options
author | Brian Paul <brianp@vmware.com> | 2009-04-09 15:09:42 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-04-09 15:33:09 -0600 |
commit | a35e7458264fe6f0c2f200904779516f64953c33 (patch) | |
tree | 661e316c57128c16a434ffadc0046703790e2044 /src/gallium/drivers/i965simple/brw_tex_layout.c | |
parent | c27c670ad8fc9f8276caeaff69eeb75e929dac9a (diff) |
i965simple: remove pipe_texture::compressed reference
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_tex_layout.c')
-rw-r--r-- | src/gallium/drivers/i965simple/brw_tex_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965simple/brw_tex_layout.c b/src/gallium/drivers/i965simple/brw_tex_layout.c index f44bd17451..8aea8c0558 100644 --- 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 (pt->compressed) { + if (pf_is_compressed(pt->format)) { pack_y_pitch = (height + 3) / 4; if (pack_x_pitch > align(width, align_w)) { |