From a9eacff1e193758da50c4ac2dc4c9d212bc5bd88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 28 Sep 2026 14:45:40 -0600 Subject: [PATCH] SoftGPU: Keep the compile flushes on builds without the JIT Skipping them is only a speed-up, but it changes how states get batched and optimized, which changes the rendered output (NBA 2K13 and Virtua Tennis frame dumps). Keep the old behaviour until that's understood. Co-Authored-By: Claude Opus 5.5 (1M context) --- GPU/Software/DrawPixel.cpp | 4 ---- GPU/Software/Sampler.cpp | 4 ---- 2 files changed, 8 deletions(-) diff --git a/GPU/Software/DrawPixel.cpp b/GPU/Software/DrawPixel.cpp index 822757de2a..d008d7d256 100644 --- a/GPU/Software/DrawPixel.cpp +++ b/GPU/Software/DrawPixel.cpp @@ -854,10 +854,6 @@ void PixelJitCache::Flush() { } SingleFunc PixelJitCache::GetSingle(const PixelFuncID &id, BinManager *binner) { -#if !(PPSSPP_ARCH(AMD64) && !PPSSPP_PLATFORM(UWP)) - // Compile() is a no-op here, so don't flush the binner for nothing. - return nullptr; -#endif if (!g_Config.bSoftwareRenderingJit) return nullptr; diff --git a/GPU/Software/Sampler.cpp b/GPU/Software/Sampler.cpp index 90d924cdfb..263670794a 100644 --- a/GPU/Software/Sampler.cpp +++ b/GPU/Software/Sampler.cpp @@ -164,10 +164,6 @@ void SamplerJitCache::Flush() { } NearestFunc SamplerJitCache::GetByID(const SamplerID &id, size_t key, BinManager *binner) { -#if !(PPSSPP_ARCH(AMD64) && !PPSSPP_PLATFORM(UWP)) - // Compile() is a no-op here, so don't flush the binner for nothing. - return nullptr; -#endif std::unique_lock guard(jitCacheLock); NearestFunc func;