aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-06-08 06:31:36 -0700
committerChris Robinson <[email protected]>2014-06-08 06:31:36 -0700
commitc07fb7b45c1e345dbaa439882250de5b2213026f (patch)
treec4089d2c61ff183d6414a10feb858d48ca92dd03 /Alc
parent8ca1f4f37151a202b60a45e5303816c5bba2e3ed (diff)
Print CPU extensions that are unavailable but requested
Diffstat (limited to 'Alc')
-rw-r--r--Alc/helpers.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index ff28bf0d..e1220fd4 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -168,12 +168,12 @@ void FillCPUCaps(ALuint capfilter)
caps |= CPU_CAP_NEON;
#endif
- TRACE("Got caps:%s%s%s%s%s\n",
- ((caps&CPU_CAP_SSE) ? ((capfilter&CPU_CAP_SSE) ? " SSE" : " (SSE)") : ""),
- ((caps&CPU_CAP_SSE2) ? ((capfilter&CPU_CAP_SSE2) ? " SSE2" : " (SSE2)") : ""),
- ((caps&CPU_CAP_SSE4_1) ? ((capfilter&CPU_CAP_SSE4_1) ? " SSE4.1" : " (SSE4.1)") : ""),
- ((caps&CPU_CAP_NEON) ? ((capfilter&CPU_CAP_NEON) ? " Neon" : " (Neon)") : ""),
- ((!caps) ? " -none-" : "")
+ TRACE("Extensions:%s%s%s%s%s\n",
+ ((capfilter&CPU_CAP_SSE) ? ((caps&CPU_CAP_SSE) ? " +SSE" : " -SSE") : ""),
+ ((capfilter&CPU_CAP_SSE2) ? ((caps&CPU_CAP_SSE2) ? " +SSE2" : " -SSE2") : ""),
+ ((capfilter&CPU_CAP_SSE4_1) ? ((caps&CPU_CAP_SSE4_1) ? " +SSE4.1" : " -SSE4.1") : ""),
+ ((capfilter&CPU_CAP_NEON) ? ((caps&CPU_CAP_NEON) ? " +Neon" : " -Neon") : ""),
+ ((!capfilter) ? " -none-" : "")
);
CPUCapFlags = caps & capfilter;
}