Skip to content

Commit 062ce7b

Browse files
author
kevyuu
committed
Remove some constraint in morton::code::create
1 parent 51e35cf commit 062ce7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/builtin/hlsl/morton.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ struct code
326326
* @param [in] cartesian Coordinates to encode. Signedness MUST match the signedness of this Morton code class
327327
*/
328328
template<typename I>
329-
NBL_CONSTEXPR_STATIC enable_if_t<is_integral_v<I> && is_scalar_v<I> && (is_signed_v<I> == Signed) && (8 * sizeof(I) >= Bits), this_t>
329+
NBL_CONSTEXPR_STATIC enable_if_t<is_integral_v<I> && is_scalar_v<I> && (is_signed_v<I> == Signed), this_t>
330330
create(NBL_CONST_REF_ARG(vector<I, D>) cartesian)
331331
{
332332
this_t retVal;

0 commit comments

Comments
 (0)