-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Numerous problems with the previous version, this rewrites it completely using the BinaryCompiler flags as much as possible. This uses temporary registers defined at the top, to hold the return values, because this instruction GetDimension does not have a return value, only parameters. Those parameters are then assigned to what the output was defined to be. Should handle the swizzle properly. Not 100% sure, it's fairly gnarly. Definitely handles both float and uint variants, and should generate a non-compiling error for cases that don't work, instead of generating bad code. Also added some code to the BinaryCompiler, copied from the newest version on Git, to handle the resinfo flags that were not previously decoded.
- Loading branch information
Showing
4 changed files
with
142 additions
and
10 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
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
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
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