summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_miptree.c
diff options
context:
space:
mode:
authorMarcin Kościelnicki <koriakin@0x04.net>2009-09-10 18:26:42 +0000
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2009-09-10 21:06:48 +0200
commit18882f4d30afcc849dca33ff93dbcd5ca45664b8 (patch)
tree1d6c58e8d53ce5398fb82cf8c0aead38bd1d6d36 /src/gallium/drivers/nv50/nv50_miptree.c
parent36dd53a3cded9d003ec418732b7fc93c1476aa9b (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.c1
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;