Skip to content

Commit

Permalink
gne
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-lunarg committed Jan 18, 2024
1 parent 76bedc9 commit 71022f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions glm/detail/func_integer_simd.inl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace detail

__m128i const set1 = _mm_set1_epi32(static_cast<int>(Mask));
__m128i const and1 = _mm_and_si128(set0, set1);
__m128i const sft1 = _mm_slli_epi32(and1, Shift);
__m128i const sft1 = _mm_slli_epi32(and1, static_cast<int>(Shift));

__m128i const set2 = _mm_andnot_si128(set0, _mm_set1_epi32(-1));
__m128i const and2 = _mm_and_si128(set0, set2);
Expand All @@ -35,7 +35,7 @@ namespace detail

__m128i const set1 = _mm_set1_epi32(static_cast<int>(Mask));
__m128i const and0 = _mm_and_si128(set0, set1);
__m128i const sft0 = _mm_slli_epi32(set0, Shift);
__m128i const sft0 = _mm_slli_epi32(set0, static_cast<int>(Shift));
__m128i const and1 = _mm_and_si128(sft0, set1);
__m128i const add0 = _mm_add_epi32(and0, and1);

Expand Down
1 change: 0 additions & 1 deletion test/gtc/gtc_quaternion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ static int test_quat_slerp()
float sqrt2 = std::sqrt(2.0f)/2.0f;
glm::quat id(static_cast<float>(1), static_cast<float>(0), static_cast<float>(0), static_cast<float>(0));
glm::quat Y90rot(sqrt2, 0.0f, sqrt2, 0.0f);
glm::quat Y180rot(0.0f, 0.0f, 1.0f, 0.0f);

// Testing a == 0
// Must be id
Expand Down

0 comments on commit 71022f5

Please sign in to comment.