diff options
author | Marcin Kościelnicki <koriakin@0x04.net> | 2009-09-10 18:26:42 +0000 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2009-09-10 21:06:48 +0200 |
commit | 18882f4d30afcc849dca33ff93dbcd5ca45664b8 (patch) | |
tree | 1d6c58e8d53ce5398fb82cf8c0aead38bd1d6d36 /src/gallium/drivers/nv50/nv50_miptree.c | |
parent | 36dd53a3cded9d003ec418732b7fc93c1476aa9b (diff) |
nv50: Fix tiling mode for lower mipmap levels.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_miptree.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_miptree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_miptree.c b/src/gallium/drivers/nv50/nv50_miptree.c index 03b9243b82..93479a0314 100644 --- a/src/gallium/drivers/nv50/nv50_miptree.c +++ b/src/gallium/drivers/nv50/nv50_miptree.c @@ -148,6 +148,7 @@ nv50_miptree_blanket(struct pipe_screen *pscreen, const struct pipe_texture *pt, mt->image_nr = 1; mt->level[0].pitch = *stride; mt->level[0].image_offset = CALLOC(1, sizeof(unsigned)); + mt->level[0].tile_mode = bo->tile_mode; nouveau_bo_ref(bo, &mt->base.bo); return &mt->base.base; |