summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2014-06-04 02:57:13 -0700
committerChris Robinson <[email protected]>2014-06-06 07:15:00 -0700
commitfc0be88c0f8d3d8887edd2afac915840f4e3f5e4 (patch)
treedbe626f58eff02c0b34ddaa7ec09fa3de4c10f35 /OpenAL32/Include
parent3b2fcb3ef6f00d026f06ca154060b29ded3eb3fc (diff)
Add SSE2 and SSE4.1 linear resamplers
Currently the only way SSE 4.1 is detected is by using __get_cpuid, i.e. with GCC. Windows' IsProcessorFeaturePresent does not report SSE4.1 capabilities.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 57b08113..232c438c 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -887,7 +887,8 @@ extern ALuint CPUCapFlags;
enum {
CPU_CAP_SSE = 1<<0,
CPU_CAP_SSE2 = 1<<1,
- CPU_CAP_NEON = 1<<2,
+ CPU_CAP_SSE4_1 = 1<<2,
+ CPU_CAP_NEON = 1<<3,
};
void FillCPUCaps(ALuint capfilter);