Maarten Maathuis
2009-Mar-14 02:03 UTC
[Nouveau] Any ideas for the most efficient algoritm to reshuffle tiles based on this description.
This was exactracted from a 8192x4 texture, with 32x4 tiles. 4 patterns appears, each 8x128 bytes long. these patterns are repeated, and one is always left out. So 123, 234, 134, 124. The repetetive cycle is therefore 4x3x8x128 = 12288 bytes long. I've included the color code ods file, which contains the normal -> actual position. I have no idea how this goes for larger tiles (is the process applied to the large tiles or always to the small ones?). Maarten. -------------- next part -------------- A non-text attachment was scrubbed... Name: layout.ods Type: application/vnd.oasis.opendocument.spreadsheet Size: 13383 bytes Desc: not available Url : http://lists.freedesktop.org/archives/nouveau/attachments/20090314/7c3449bd/attachment.ods