aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer/mixer_sse.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-12-11 02:24:44 -0800
committerChris Robinson <[email protected]>2019-12-11 02:24:44 -0800
commit053de623987c7ca6b1e44e781bc5228825622f70 (patch)
tree04fa2c1925898a407123921df861189ee23bc46b /alc/mixer/mixer_sse.cpp
parent7d0c01050ae9acfe0121ce80475d657953689ec9 (diff)
Don't force the HRIR length to a rounded value
The coefficient and accumulation buffers are guaranteed large enough for the full size, and the SIMD handlers will behave the same either way.
Diffstat (limited to 'alc/mixer/mixer_sse.cpp')
-rw-r--r--alc/mixer/mixer_sse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/mixer/mixer_sse.cpp b/alc/mixer/mixer_sse.cpp
index aaf37df6..4458f9a0 100644
--- a/alc/mixer/mixer_sse.cpp
+++ b/alc/mixer/mixer_sse.cpp
@@ -20,7 +20,7 @@ inline void ApplyCoeffs(float2 *RESTRICT Values, const ALuint IrSize, const Hrir
{
const __m128 lrlr{_mm_setr_ps(left, right, left, right)};
- ASSUME(IrSize >= 4);
+ ASSUME(IrSize >= MIN_IR_LENGTH);
/* This isn't technically correct to test alignment, but it's true for
* systems that support SSE, which is the only one that needs to know the
* alignment of Values (which alternates between 8- and 16-byte aligned).