On Tue, Nov 16, 2010 at 11:35 AM, Keith Whitwell
<[email protected]> wrote:
> On Mon, Nov 15, 2010 at 9:46 PM, Alex Deucher <[email protected]> wrote:
>> On Mon, Nov 15, 2010 at 4:41 PM, Tilman Sauerbeck <[email protected]> 
>> wrote:
>>> piglit/fbo-readpixels still passes for me.
>>>
>>> Signed-off-by: Tilman Sauerbeck <[email protected]>
>>> ---
>>>
>>> Please review. And someone please tell me where those 512 and 256 bytes
>>> are coming from :)
>>
>> The alignment depends on the type of tiling in use (linear, 1d, 2d).
>> See this drm patch for more info:
>> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=fba4312e223f1187efc8c083daed70e57fa9c9d3
>> The info needed can be queried via the tiling info ioctl.
>
> I found the documentation on this pretty hard to follow, but the
> kernel code seems to make sense.
>

Also, mipmap pitch needs to be aligned to group size as well.

Alex

> Keith
>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to