Skip to content

Commit

Permalink
Fix build error on arm64 architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
ueshita committed Jul 11, 2024
1 parent 1464d80 commit 080c15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dev/Cpp/Effekseer/Effekseer/SIMD/Int4_NEON.h
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ inline Int4 Int4::Mask()
static_assert(Z >= 2, "indexZ is must be set 0 or 1.");
static_assert(W >= 2, "indexW is must be set 0 or 1.");
const uint32_t in[4] = {0xffffffff * X, 0xffffffff * Y, 0xffffffff * Z, 0xffffffff * W};
return vld1q_u32(in);
return vreinterpretq_s32_u32(vld1q_u32(in));
}

inline uint32_t Int4::MoveMask(const Int4& in)
Expand Down

0 comments on commit 080c15f

Please sign in to comment.