Skip to contentSkip to conversation

Any ideas for the most efficient algoritm to reshuffle tiles based on this description.

DISCUSSION Maarten Maathuis 1 participant 2 messages Mar 14, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 6d4bc9fc0903131903x37c7f664vec8a733b00e9d9b1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw

I can add that in all likelyhood this reshuffling of 32x4 tiles happens regardless of the largest tile size.

Maarten.