Updated built-in
This commit is contained in:
@@ -101,7 +101,6 @@ namespace detail
|
|||||||
};
|
};
|
||||||
|
|
||||||
# if(GLM_ARCH != GLM_ARCH_PURE) && (GLM_COMPILER & (GLM_COMPILER_VC | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM))
|
# if(GLM_ARCH != GLM_ARCH_PURE) && (GLM_COMPILER & (GLM_COMPILER_VC | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM))
|
||||||
|
|
||||||
template <typename genIUType>
|
template <typename genIUType>
|
||||||
struct compute_findLSB<genIUType, 32>
|
struct compute_findLSB<genIUType, 32>
|
||||||
{
|
{
|
||||||
@@ -123,8 +122,7 @@ namespace detail
|
|||||||
return IsNotNull ? int(Result) : -1;
|
return IsNotNull ? int(Result) : -1;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
# endif//GLM_ARCH != GLM_ARCH_PURE
|
||||||
# endif
|
|
||||||
|
|
||||||
template <typename T, glm::precision P, template <class, glm::precision> class vecType, bool EXEC = true>
|
template <typename T, glm::precision P, template <class, glm::precision> class vecType, bool EXEC = true>
|
||||||
struct compute_findMSB_step_vec
|
struct compute_findMSB_step_vec
|
||||||
@@ -161,7 +159,6 @@ namespace detail
|
|||||||
};
|
};
|
||||||
|
|
||||||
# if(GLM_ARCH != GLM_ARCH_PURE) && (GLM_COMPILER & (GLM_COMPILER_VC | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM))
|
# if(GLM_ARCH != GLM_ARCH_PURE) && (GLM_COMPILER & (GLM_COMPILER_VC | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM))
|
||||||
|
|
||||||
template <typename genIUType>
|
template <typename genIUType>
|
||||||
GLM_FUNC_QUALIFIER int compute_findMSB_32(genIUType Value)
|
GLM_FUNC_QUALIFIER int compute_findMSB_32(genIUType Value)
|
||||||
{
|
{
|
||||||
@@ -195,9 +192,7 @@ namespace detail
|
|||||||
return detail::functor1<int, T, P, vecType>::call(compute_findMSB_64, x);
|
return detail::functor1<int, T, P, vecType>::call(compute_findMSB_64, x);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
# endif//GLM_ARCH != GLM_ARCH_PURE
|
||||||
# endif
|
|
||||||
|
|
||||||
}//namespace detail
|
}//namespace detail
|
||||||
|
|
||||||
// uaddCarry
|
// uaddCarry
|
||||||
|
|||||||
Reference in New Issue
Block a user