-
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.
Fix 'udiv' opcode handler for constants.
Was doing double applySwizzle on the opcodes, which doesn't work for constant values. So, now copy the opcodes and make a second copy of the src0 and src1 assigns to be certain that the swizzle applies. Documentation is unclear on whether swizzle must be the same or can vary between halves, so this is the safe approach. Also fix a problem with a buffer in applySwizzle that was too small to handle input parameters with array outputs. Set all character arrays to the 128 character opcodeSize, for consistency.
- 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