-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vertexcodec: Minor cleanup for rotations
- We don't really need to mask off the bit rotation; the out of range values are invalid and should never be encoded. - We could replace switch/case using a macro similar to how we do the rest of the work for SIMD; this makes it possible to move the computation closer to where it's needed to avoid relying too much on compiler reordering. - Validate the channel after estimation vs valid encoding range.
- Loading branch information
Showing
1 changed file
with
13 additions
and
26 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