projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1d8b6c
)
nv50: hack surface alloc a bit for now
author
Ben Skeggs
<skeggsb@gmail.com>
Thu, 18 Sep 2008 03:15:55 +0000
(13:15 +1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Thu, 18 Sep 2008 03:15:55 +0000
(13:15 +1000)
src/gallium/drivers/nv50/nv50_miptree.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_miptree.c
b/src/gallium/drivers/nv50/nv50_miptree.c
index b0e8fe2f0b724d63719e77715bf67a314349ba59..28a8bdc0fab06526d2f7369f8b08612cecd7ddc4 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_miptree.c
+++ b/
src/gallium/drivers/nv50/nv50_miptree.c
@@
-48,6
+48,8
@@
nv50_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *pt)
}
pitch = ((pt->width[0] + 63) & ~63) * pt->block.size;
+ /*XXX*/
+ pitch *= 2;
mt->buffer = ws->buffer_create(ws, 256, usage, pitch * pt->height[0]);
if (!mt->buffer) {