[Nouveau] [MESA PATCH] Fix nv40_miptree_layout pitch

Luca Barbieri luca at luca-barbieri.com
Sat Dec 26 19:04:46 PST 2009


On Sun, Dec 27, 2009 at 2:25 AM, Younes Manton <younes.m at gmail.com> wrote:
> On Sat, Dec 26, 2009 at 1:22 AM, Luca Barbieri <luca at luca-barbieri.com> wrote:
>> I just coded a patch that does this and seems to work fine. It must be
>> fixed since it breaks OpenGL (or the state tracker can be changed, but
>> it seems better to do it in the driver).
>>
>> The patch also fixes NV20 and NV30 in the same way. They compile but
>> are untested.
>>
>> I would guess that using the 3D engine is faster for the larger
>> levels, but the 2D engine is faster for the smaller ones (and lacks
>> this issue).
>
> Hi, this patch and the other swizzle related one seem to have been
> mangled, they're wrapped with hard line breaks so I can't apply them.
> Can you resend? The cmp/scs one applied fine.
>

Sorry, I hoped gmail wouldn't mangle it, but apparently was wrong.

Attached the patch, will test once I get the message back.

I'll post the other patch in reply to the other message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp.patch
Type: text/x-diff
Size: 12590 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/nouveau/attachments/20091227/729627b3/attachment.patch 


More information about the Nouveau mailing list