Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vcacheoptimizer: Tweak condition to help MSVC generate branchless code (
#639) gcc/clang lower the condition to cmov sequence but MSVC uses branches here; it's important to use branchless lowering as these branches are difficult to predict. This change makes optimizeVertexCache ~7% faster on MSVC on large meshes.
- Loading branch information