Complete CrossSIMD non-simd fallback (although buggy, it seems). Minor ARM64 opt.

This commit is contained in:
Henrik Rydgård
2025-01-28 10:54:43 +01:00
parent 2aaa1e5379
commit acd5b24924
3 changed files with 84 additions and 1 deletions
+11
View File
@@ -140,11 +140,22 @@ std::string DefaultLangRegion() {
}
static int DefaultDepthRaster() {
// For 64-bit ARM and x86 with SIMD, enable depth raster.
#if PPSSPP_ARCH(ARM64_NEON) || PPSSPP_ARCH(SSE2)
#if PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(IOS)
return (int)DepthRasterMode::LOW_QUALITY;
#else
return (int)DepthRasterMode::DEFAULT;
#endif
#else
// 32-bit ARM or no SIMD, the depth raster will be too slow.
return (int)DepthRasterMode::OFF;
#endif
}
std::string CreateRandMAC() {