Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int y = 0; y < 16; ++y)
- {
- for (int x = 0; x < 16; ++x)
- {
- const int offset = computeTilingLayout(x, y); // some magical hardware architecture specific formula
- dest[offset] = source[index++];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement