-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faster swizzle/unswizzle implementation
based on https://fgiesen.wordpress.com/2011/01/17/texture-tiling-and-swizzling/ - Increment swizzled offsets, instead of calculating them from scratch for each pixel. This seems to be around 30X faster. - Add/update comments, including high-level comment on what swizzle.c is for. This improves FPS in certain areas in Fable: The Lost Chapters
- Loading branch information
Showing
1 changed file
with
51 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters