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) <[email protected]>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-09-29 09:35:17 -06:00
1 parent 056fd05231
commit a9eacff1e1
2 files changed
-8

No files matched your search

-4
View File
@@ -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;
-4
View File
@@ -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<std::mutex> guard(jitCacheLock);
NearestFunc func;