Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CollapseStages algorithm to not skip or duplicate stages.
The algorithm was wrong, but I loaded a couple of maps and didn't find any shaders which would actually be affected by this. Also, use only one temp stage instead of an array since I couldn't get gcc 4.8 to compile the array initializer without crashing.
- Loading branch information
Showing
1 changed file
with
111 additions
and
160 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