46258 Commits
Author SHA1 Message Date
Henrik Rydgård 59a21e11fd Code cleanup and improvements in ImGe 2026-06-12 23:51:43 +02:00
fp64 2e290e0133 Fix VFPU dot bug
Fix rounding-overflows-into-next-exponent bug in vdot pointed out in
https://github.com/hrydgard/ppsspp/issues/21070#issuecomment-4692749931
(unless I messed up again).
2026-06-12 23:28:57 +03:00
Henrik Rydgård 484b94c3f3 Build and warning fixes 2026-06-12 17:28:52 +02:00
Henrik Rydgård 37e00f616e Clean up logging in scePowerSetClockFrequency 2026-06-12 12:23:36 +02:00
Henrik Rydgård 1d32f68869 Remove an unnecessary callback mechanism 2026-06-12 12:19:31 +02:00
Henrik Rydgård f3e590b059 Experiment with a compat flag that forces shader depal 2026-06-12 12:19:17 +02:00
Henrik Rydgård 9c8317f661 Merge pull request #21815 from fp64/vmuldiv-bitwise
Implement (hopefully) bitwise-exact vmul/vdiv
2026-06-11 16:11:13 +02:00
fp64 3f154fb24e Implement (hopefully) bitwise-exact vmul/vdiv
See https://github.com/hrydgard/ppsspp/issues/21070#issuecomment-4621393701
for details.

The implementation is not wired to anything currently, this is
just for reference purposes.

The alternative FTZ logic from
https://github.com/hrydgard/ppsspp/issues/21070#issuecomment-4642348708
is not implemented (i.e. this uses original double-based logic).

Also fixes space->tab for `vfpu_dot`.
2026-06-11 16:40:06 +03:00
Henrik Rydgård 6a4774f1e6 Merge pull request #21798 from fp64/vdot-bitwise
Implement (hopefully) accurate vdot instruction
2026-06-11 14:28:58 +02:00
Henrik Rydgård 669e253d59 Merge pull request #21814 from hrydgard/more-shader-depal
Add support for using in-shader CLUT (palette) lookups for regular textures
2026-06-11 14:28:15 +02:00
Henrik Rydgård 87cc608df1 Add the necessary logic to use in-shader CLUT lookups for regular textures 2026-06-11 12:42:16 +02:00
Henrik Rydgård 4f925fa5f2 Minor code cleanup 2026-06-11 11:59:00 +02:00
Henrik Rydgård 0bf1d12053 Prepare for shader depal (CLUT palette lookup) for ordinary textures 2026-06-11 11:58:58 +02:00
Henrik Rydgård d33425d01d Split out the CLUT texture cache from "TextureShaderCache" 2026-06-11 10:57:30 +02:00
Henrik Rydgård f034cb45bb Unify UpdateCurrentClut between D3D11 and Vulkan (GLES is still different) 2026-06-11 10:40:21 +02:00
Henrik Rydgård a875af17a0 Merge pull request #21813 from hrydgard/optimize-shader-depal
Optimize shader-based palette lookups
2026-06-11 10:36:49 +02:00
crashGG 6a5aacd339 MMPX Advanced :Fix another subtle bug
Fix another subtle bug
2026-06-11 10:36:35 +02:00
Henrik Rydgård 73fbea4b3b Make the shader compilation test for D3D happy 2026-06-11 00:24:21 +02:00
Henrik Rydgård c9623374b1 Fix some issues with sprite border fix for RECT primitives 2026-06-10 15:29:18 +02:00
Henrik Rydgård 63a51dc6c2 Minor code cleanup 2026-06-10 15:10:03 +02:00
Henrik Rydgård ef111c0297 FragmentShader: Add support for two more shader depal formats: CLUT8 and DEPTH16. Unused.. but maybe not for long. 2026-06-10 15:09:56 +02:00
Henrik Rydgård 83d82dcf66 Shader depal: Don't generate a big switch in the shader, generate specialized shaders instead. 2026-06-10 12:22:11 +02:00
Henrik Rydgård 8faf6d9a3d Oops, fix regression from previous PR 2026-06-10 11:42:24 +02:00
Henrik Rydgård f6117c5dbb Merge pull request #21811 from hrydgard/simplify-fragment-shader
Simplify various shaders
2026-06-10 11:25:43 +02:00
Henrik Rydgård cd0802b9c8 Remove redundant flag from vertex shader IDs 2026-06-10 10:46:05 +02:00
Henrik Rydgård 5c340ccd09 Remove the concept of scaled/offset depth buffers. 2026-06-10 10:41:30 +02:00
Henrik Rydgård 5265422c0e Remove the old "Fragment ubershader" setting. It's been on by default for years and is not really an ubershader. 2026-06-10 09:54:52 +02:00
Henrik Rydgård 7202b26059 Merge pull request #21808 from hrydgard/texture-cache-work
Texture cache: Smarter re-hashing of textures
2026-06-10 09:27:05 +02:00
Henrik Rydgård d5e426d11e Enable secondary texture cache for Gran Turismo (temporary, it will soon be enabled universally) 2026-06-09 23:49:54 +02:00
Henrik Rydgård 9c9e709bfa Restore and plug back in some of the texture invalidation logic. Fixes GT, not much other impact. 2026-06-09 23:49:54 +02:00
Henrik Rydgård e8a1638c8d Cleanup 2026-06-09 23:49:54 +02:00
Henrik Rydgård ce7da78b17 Invalidate texture hashes on readbacks 2026-06-09 23:49:54 +02:00
Henrik Rydgård 5691440442 Clean out some more stuff we don't need anymore 2026-06-09 23:49:54 +02:00
Henrik Rydgård 1781f693b5 Implement the new SyncDomain concept for texture hashing, remove minihash 2026-06-09 23:49:54 +02:00
Henrik Rydgård 36bdde68f9 Delete the "Lazy texture cache" option 2026-06-09 23:49:54 +02:00
Henrik Rydgård 79a81186a6 Add some new stats (enqueues, stall address updates) 2026-06-09 23:49:54 +02:00
Henrik Rydgård 0b2b61e5ac Merge pull request #21809 from crashGG/mmpx-adv
MMPX Advanced :Fix a subtle bug
2026-06-09 22:52:43 +02:00
crashGG d0193fb82f MMPX Advanced :Fix a subtle bug
Fix a subtle bug,can cause unnecessary glitches
2026-06-09 22:52:31 +03:00
Henrik Rydgård 9489a7176a Merge pull request #21806 from hrydgard/more-texture-refactor
TextureCache: Refactor the texcache struct a bit, for easier changes and smaller size
2026-06-09 15:17:25 +02:00
Henrik Rydgård c300c8fa82 Shrink the TexCacheEntry struct a bit 2026-06-09 11:25:51 +02:00
Henrik Rydgård a38c52601c Turn TexCacheEntry::TexStatus into an enum class 2026-06-09 11:25:51 +02:00
Henrik Rydgård 7ced074154 Rearrange the texture status flags, rename Full alpha to Solid alpha for textures 2026-06-09 11:25:50 +02:00
Henrik Rydgård ec6c7b08f5 Add a common TextureAlpha enum, replacing CheckAlphaResult and ReplacedTextureAlpha. 2026-06-09 11:25:50 +02:00
Henrik Rydgård fdcf923c75 TexCache: Stop bitpacking the hash status into the status flags 2026-06-09 11:25:50 +02:00
Henrik Rydgård 67fb9ffc4e Merge pull request #21805 from hrydgard/texture-refactor-work
Minor texture refactor work, color bugfix
2026-06-09 10:54:25 +02:00
Henrik Rydgård 54d5c1d5e3 Improve some initialization in CrossSIMD.h. Add comments about CLUT variants 2026-06-09 10:15:08 +02:00
Henrik Rydgård f65b3f7a6b Fix LoadU8Norm in CrossSIMD
Caused breakage in the previous PR.
2026-06-08 23:06:41 +02:00
Henrik Rydgård e0a961ddc5 Just some basic code cleanup in TextureCacheCommon. 2026-06-08 22:51:00 +02:00
sum2012 d6477e808f Fix setAudioStream 2026-06-08 23:04:29 +08:00
sum2012 9c78c886e1 Fix multi-stream handling system that supports both selective ignoring and active stream switching
Fix #15606
But bypasses all  setAudioStream , MediaEngine state-changing or data-consuming calls.
2026-06-08 23:00:36 +08:00