-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One more try on the 'udiv'. Simplification.
This change removes the use of src0 and src1, and instead puts the first value into uiDest, then assigns the output at the tail. This also fixes a problem where it was getting errors converting float2 to uint4. The cast operator of (uintN) is used to force the instruction to recognize the 'udiv' and not just be a regular divide. Tested on FC4 and seems to handle all cases there, including the constant l(6) as divisor, and swizzling of inputs.
- Loading branch information
Showing
1 changed file
with
24 additions
and
18 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