Commit Graph
1063 Commits
Author SHA1 Message Date
capitalistspz aa20e2f86e debugging: Fix the MEMPTR pretty printer and add a CafeString pretty printer (#2089) 2026-10-10 00:35:26 +02:00
Crementif fced55a9de Latte: Fix texture readback heuristics for more games
This was found to be a fix for Cars 3's showing a black screen. Might be applicable to similar games made with the engine, such as Disney Infinite, though it has yet to be tested. At least Cars 3 uses the texture readback in some kind of dynamic exposure system.

I think its decently niche enough to not really cause a huge performance bottleneck.
2026-10-06 21:58:19 +02:00
Crementif cc6fea125a PPCRec: Lower optimized single-precision stores to SINGLE_FTZ 2026-10-04 03:08:42 +02:00
Crementif aa5032cc22 PPCRec: Optimize single-precision stores on AArch64 2026-10-04 03:08:42 +02:00
Crementif 091a711fd7 coreinit: Disable default NaN mode on ARM 2026-10-04 03:08:42 +02:00
Crementif c9c4373768 PPCRec: Use a single 64-bit store for x64 stfd 2026-10-04 03:08:42 +02:00
Crementif 7326b8f285 PPCRec: Speed up stfs for values already rounded to single precision 2026-10-04 03:08:42 +02:00
Crementif 9cbb00a274 PPCRec: Fix division by zero and signed overflow 2026-10-04 03:08:42 +02:00
Crementif fe6720c5c4 PPCRec: Fix x64 memory accesses using R12
The address was incorrectly encoded as base + base + offset
2026-10-04 03:08:42 +02:00
Crementif 278500f557 PPCRec: Fix stfs conversion on ARM64 2026-10-04 03:08:42 +02:00
Crementif 22a2a3ee26 PPCRec: Fix stfs conversion on x64 2026-10-04 03:08:42 +02:00
Crementif 908f10cc93 PPCRec: Add x64 helpers for stfs conversion 2026-10-04 03:08:42 +02:00
Crementif c174b2ddcc PPCRec: Allow cold code after the main code 2026-10-04 03:08:42 +02:00
Crementif c78e776626 Common: Check whether PEXT is fast on the current CPU 2026-10-04 03:08:42 +02:00
Crementif c231df4771 PPCRec: Separate stfs from paired-single stores 2026-10-04 03:08:42 +02:00
Crementif 32e6628a6a Latte: Support burst for vertex exports
Previously we only supported the 0th index basically. This fixes a few shaders generated by CafeGLSL.
2026-10-02 22:11:02 +02:00
Crementif 9a3f9b79a4 Latte: Fix SAMPLE_G texture offsets
This wasn't really aimed at a specific game that I know of yet.
2026-10-02 22:11:02 +02:00
Crementif a079f55c3e Latte: Fix SAMPLE_LB texture offsets
This should fix a shader compilation error that occurred in a Cars 3 shader.
2026-10-02 22:11:02 +02:00
Crementif 0a2b6ff7db Latte: Fix shader loop regression and improve break accuracy 2026-10-01 17:42:38 +02:00
Crementif 4e3c824faa Latte: Many rendering/shader corrections for Latte, Vulkan, Metal and OpenGL (#2080) 2026-09-30 14:51:43 +02:00
capitalistspz c717fcab1c general: More MEMPTR operators should be const (#2072) 2026-09-24 16:17:01 +02:00
Crementif 5e09ec72a4 UI: Various (macOS) UI fixes (#2064) 2026-09-23 16:48:31 +02:00
oltolm d3d16f7a23 UI: Clean up (#2069) 2026-09-23 07:51:32 +02:00
goeiecool9999 b1fe77e995 Refactor ELF reader class
also properly interpet the mmap failure condition
2026-09-22 21:16:05 +02:00
Crementif e24374a137 coreinit: fix OSTicksToCalendarTime accuracy w/ leap years 2026-09-21 19:12:48 +02:00
Exzap 0314ec915c GX2: Set correct shader mode default 2026-09-20 13:37:00 +02:00
Exzap 71d92f66fc Vulkan: Fix imgui leaking viewport/scissor state into game rendering 2026-09-20 11:05:38 +02:00
Exzap 0d8ff87b6b GX2: Check actual connection status in GX2SetDRCConnectCallback
Fixes Just Dance 2018 not reacting to any GamePad input
2026-09-20 09:29:08 +02:00
Exzap 14e74ea33f nsysnet: Avoid CPU starvation when games call select in a loop
Fixes Just Dance 2018 getting stuck on a black screen during early boot
2026-09-20 05:04:21 +02:00
Exzap 3277f9f9c2 coreinit: Fix export module for OSAllocFromSystem/OSFreeToSystem 2026-09-20 04:34:56 +02:00
Exzap 0a2df05943 Latte: Copying a cubemap slice should create the target as 2D/2D_ARRAY 2026-09-20 04:34:02 +02:00
Exzap 00bd6c96d3 Latte+GX2: Improve GX2SetShaderModeEx and handle uniform mode
Cemu was more lenient than the actual hardware and allowed both uniform registers and uniform blocks use at the same time. We now handle DX9_CONSTS set via GX2SetShaderMode correctly and will try to zero out the disabled uniform type
2026-09-20 04:34:02 +02:00
Exzap fc0a841c9b Latte: Very minor optimization for vertex buffer binding 2026-09-20 04:34:02 +02:00
Exzap c12284f1da Latte: Refactor texture and vertex fetch constants into unified enum 2026-09-20 04:34:02 +02:00
Exzap 3d5881ac6e util: Added small frame based CPU benchmark helper 2026-09-20 04:34:02 +02:00
shinra-electric c43303e920 CI: Bump macOS runner version from 14 to 15 (#2065) 2026-09-20 04:17:35 +02:00
Crementif e33db57f94 Latte: Use the Wii U overflow value for MOVA
The Wii U returns -256 when MOVA goes out of range.
Cemu clamped large positive values to 255 instead.
2026-09-19 18:31:32 +02:00
Lain 54ffbed26a Latte: Handle edge cases in texture hashing for 16-byte compressed texture formats (#2051) 2026-09-19 05:39:54 +02:00
Exzap 3310f3b8b1 Vulkan: Experimental barrier skip when the game does not request it 2026-09-10 13:52:55 +02:00
Exzap 57c89d62c1 Latte: Fix barriers and feedback loop disabling too early 2026-09-10 13:52:48 +02:00
Exzap fad88fd336 Latte: Fix endianness of UINT texture formats 2026-09-10 13:52:48 +02:00
Exzap 9743a32005 Latte: Add non-zero mip support to texture readback + refactor
y
2026-09-10 13:52:48 +02:00
Exzap afb97632f0 Latte: Use correct surface width/height when creating tex copy target 2026-09-10 13:27:23 +02:00
Exzap 303915a61e Latte: Rehash texture immediately if it switches to GPU-updated mode 2026-09-10 13:27:23 +02:00
Exzap bda380dd33 Latte+GX2: Improve GX2Invalidate and implement basic tex invalidation 2026-09-10 13:27:23 +02:00
Exzap c25dbdf86d Latte: Partial support for mips in texture readback 2026-09-10 13:27:23 +02:00
Exzap 8a471c8933 docs: Move contribution guidelines to separate file + text tweaks 2026-09-10 13:27:23 +02:00
Exzap a81a28ccf8 RPL: Refactor RPL loader + robustness improvements 2026-09-10 13:27:23 +02:00
Exzap 89af543211 debugging: Added RPX dump option 2026-09-10 13:27:23 +02:00
Exzap f0009d8e61 TCL: Yield thread when waiting for ringbuffer space 2026-09-10 13:27:23 +02:00