search for: 9f54187

Displaying 1 result from an estimated 1 matches for "9f54187".

2009 Dec 26
2
[MESA PATCH] Fix nv40_miptree_layout pitch
...urthermore, wide_pitch is set for any kind of texture usage, so maybe it should be made unconditional (what's the point of allocating a texture that the GPU can't use in any way?). diff --git a/src/gallium/drivers/nv40/nv40_miptree.c b/src/gallium/drivers/nv40/nv40_miptree.c index b974e68..9f54187 100644 --- a/src/gallium/drivers/nv40/nv40_miptree.c +++ b/src/gallium/drivers/nv40/nv40_miptree.c @@ -31,8 +31,8 @@ nv40_miptree_layout(struct nv40_miptree *mt) } for (l = 0; l <= pt->last_level; l++) { - if (wide_pitch && (pt->tex_usage & NOUVEAU_TEXTURE_USAGE_LINEAR))...