Skip to content

Commit

Permalink
Buildfix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Dec 9, 2023
1 parent 1711548 commit 19d4772
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 2 additions & 8 deletions Common/Math/CrossSIMD.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,9 @@

// Basic types

#if PPSSPP_ARCH(SSE2)

#elif PPSSPP_ARCH(ARM_NEON)

#else

#endif
#if PPSSPP_ARCH(ARM64_NEON)

#if PPSSPP_ARCH(ARM_NEON64)
// No special ones here.

#elif PPSSPP_ARCH(ARM_NEON)

Expand Down
5 changes: 3 additions & 2 deletions GPU/Common/DrawEngineCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,9 @@ bool DrawEngineCommon::TestBoundingBoxFast(const void *vdata, int vertexCount, u
);
inside = _mm_or_ps(inside, _mm_cmpge_ps(planeDist, _mm_setzero_ps()));
}
u8 mask = _mm_movemask_ps(inside);
return mask == 0xF; // 0xF means that we found at least one vertex inside every one of the planes. We don't bother with counts, though it wouldn't be hard.
// 0xF means that we found at least one vertex inside every one of the planes.
// We don't bother with counts, though it wouldn't be hard if we had a use for them.
return _mm_movemask_ps(inside) == 0xF;
#elif PPSSPP_ARCH(ARM_NEON)
const float32x4_t worldX = vld1q_f32(gstate.worldMatrix);
const float32x4_t worldY = vld1q_f32(gstate.worldMatrix + 3);
Expand Down

0 comments on commit 19d4772

Please sign in to comment.