-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Decompiler bugs for udiv and ld.
UDiv was generating multiple src0, src1 params, so those were moved to the top for single dcl_temps time declaration. The swizzle could in theory be / or % independent, so this allows for those variants as safest. Removes the saturate test, as udiv is documented to not support saturate. For _LD, removed the op3 swizzle, as it would generate errors. The size is known by the texure size itself apparently, so removing the swizzle allows it to compile to same code.
- Loading branch information
Showing
1 changed file
with
33 additions
and
22 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