mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
i965simple: remove pipe_texture::compressed reference
This commit is contained in:
parent
c27c670ad8
commit
a35e745826
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue