mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
CrossSIMD: Fix more no-simd fallbacks. The depth rasterizer now works in TEST_FALLBACK mode.
This commit is contained in:
1 parent
2e5f901574
commit
fd88f79d07
5 files changed
+38
-36
No files matched your search
@@ -40,6 +40,7 @@
|
||||
#include "Common/File/FileUtil.h"
|
||||
#include "Common/File/VFS/VFS.h"
|
||||
#include "Common/Log/LogManager.h"
|
||||
#include "Common/Math/CrossSIMD.h"
|
||||
#include "Common/OSVersion.h"
|
||||
#include "Common/System/Display.h"
|
||||
#include "Common/System/System.h"
|
||||
@@ -140,6 +141,11 @@ std::string DefaultLangRegion() {
|
||||
}
|
||||
|
||||
static int DefaultDepthRaster() {
|
||||
#ifdef CROSSSIMD_SLOW
|
||||
// No SIMD acceleration for the depth rasterizer.
|
||||
// Default to off.
|
||||
return (int)DepthRasterMode::OFF;
|
||||
#endif
|
||||
|
||||
// For 64-bit ARM and x86 with SIMD, enable depth raster.
|
||||
#if PPSSPP_ARCH(ARM64_NEON) || PPSSPP_ARCH(SSE2)
|
||||
|
||||
Reference in new issue
Block a user