Henrik Rydgård and Claude Opus 5.5
24017a1ba4
GE debugger: Fix the stepping request handshake
...
- Wait on actionComplete instead of a bare condition variable wait, which
could miss the wakeup and hang until resume.
- Serialize requesters, so two debuggers can't overwrite each other's
action, and make SetCmdValue/FlushDrawing wait too.
- Give up and withdraw the request when stepping ends, instead of waiting
forever (this deadlocked game shutdown against the Win32 GE debugger).
- Run requests during CPU stepping, which already accepted them.
- Clear the stepping state on Core_Resume from GE stepping and on
GPU_Shutdown.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected] >
2026-09-29 09:49:10 -06:00
Henrik Rydgård
c5e4d0d90d
Rename the get-memory-pointer functions to make it clear where CPU exceptions can happen.
2026-08-12 14:06:16 +02:00
Henrik Rydgård
e9a3449ede
More MIPSState * plumbing (manual)
2026-08-12 14:02:19 +02:00
Henrik Rydgård
4d8a5d74e7
Merge pull request #22086 from hrydgard/read-u32-more
...
Some fixes to Claude's paranoia, more memory access function cleanup
2026-08-11 23:52:17 +02:00
Henrik Rydgård
a44c2c0bde
Replace System_SendDebugOutput with a registered callback
...
I normally try to avoid registrations when not needed, but in this case
only headless uses this, so it's motivated.
2026-08-11 22:36:47 +02:00
Henrik Rydgård
0596ee97f6
More memory access cleanup
2026-08-11 20:14:01 +02:00
Henrik Rydgård
2be4d995f2
More Read_U32 cleanup
2026-08-10 11:23:23 +02:00
Henrik Rydgård
3fd9b42f95
Fix playback of framedumps for headless
2026-07-18 19:09:46 +02:00
Henrik Rydgård
3e393d99e1
GeDebugger: Add some sanity checks in the vertex preview to avoid crashes
2026-07-14 14:15:32 +02:00
Henrik Rydgård
1b2f87bf1a
Rename GPUgstate to GEState
2026-07-02 20:34:09 +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
a7f62d763a
Make the MaxZ test a bit more lenient to fix Taiko no Tatsujin. Debugger improvement
...
Fixes #21797
2026-06-07 13:47:42 +02:00
Henrik Rydgård
d0f4e5c2d1
Visualize bounding boxes in ImGe debugger by drawing their corners
2026-06-03 13:46:30 +02:00
Henrik Rydgård
79328a99b3
Vertex preview works again in both debuggers.
2026-06-02 15:40:37 +02:00
Henrik Rydgård
c46774c923
Fix the ImGe debugger vertex list
2026-06-02 14:53:37 +02:00
Henrik Rydgård
bb573e6e0c
Well, it builds, but doesn't work yet.
2026-06-02 12:33:53 +02:00
Henrik Rydgård
a317890c08
Remove the GPUDebugInterface class
...
Just a pointless extra layer in the class hiearchy, making it
unnecessarily hard to modify the interface.
Might as well hit GPUCommon directly.
2026-06-02 11:15:08 +02:00
Henrik Rydgård
f0d715feaa
During culling, evaluate minZ,maxZ,minW,maxW, and use them to cull some things. Also, assorted vshader work.
2026-05-30 19:07:58 +02:00
Henrik Rydgård
f60e27a9b7
Just some refactoring of the GPUStatistics struct, and more use of StringWriter
2026-05-29 14:40:31 +02:00
Herman Semenoff
400d136f51
GPU: modernize use C++17 constexpr for precalculate compilation
2026-05-19 21:57:45 +03:00
Henrik Rydgård
5f7a937466
Rename ValidSize to ClampValidSizeAt
2025-12-30 20:31:07 +01:00
Henrik Rydgård
cdc3a19284
Fix exiting from framedump playback while paused inside a display list
...
Fixes #20304
2025-04-30 15:53:55 +02:00
Henrik Rydgård
c7f258f0ff
Add a check to avoid #19261
...
Fixes #19261
2025-04-15 11:34:27 +02:00
Henrik Rydgård
4d215b1f54
Cleaner exit from when stepping through a frame dump
2025-04-07 16:34:17 +02:00
Henrik Rydgård
605daf879b
Minor cleanup. Fix file handle leak when opening zip files from the main screen.
2025-04-07 15:42:51 +02:00
Henrik Rydgård
088a02bfdb
Cleanup a lot of the bootup state management.
2025-03-30 14:02:29 +02:00
Henrik Rydgård
cb1df4056c
Remove almost-empty files ThreadPools.cpp/h
2025-03-20 17:21:20 +01:00
Henrik Rydgård
2cc631338b
Correctly unload GE framedumps. Additionally, look up the title when possible and show in titlebar.
2025-03-06 14:58:33 +01:00
Henrik Rydgård
3ab625a0fa
Windows: Lock when updating the window title
2025-03-06 14:24:40 +01:00
Henrik Rydgård
ec16aa64d0
Merge pull request #20072 from hrydgard/debugger-threading-improvements
...
UI threading improvements
2025-03-03 15:19:43 +01:00
Henrik Rydgård
95cf9c2e28
Just some constification
2025-03-03 13:59:42 +01:00
Henrik Rydgård
d3a0159da6
Remove memlocking in debug vertex string formatting
2025-03-03 11:57:48 +01:00
Henrik Rydgård
85c015efb8
Remove redundant shutdown callback
2025-02-13 15:13:25 -06:00
Henrik Rydgård
ee297e974d
Move more code into SoftwareTransformCommon, cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
0af8c558a0
Fix the prim counting to act as before
2024-12-17 12:02:24 +01:00
Henrik Rydgård
db13c09c41
Add break-on-count (with rudimentary UI), break on block transfer
2024-12-17 11:24:07 +01:00
Henrik Rydgård
e567a58684
Remove StdioListener
2024-12-16 12:33:58 +01:00
Henrik Rydgård
dda3ddf6b0
Simplifications
2024-12-15 16:09:42 +01:00
Henrik Rydgård
54d18bb343
Lift some more debugging functionality into GPUCommon
2024-12-15 14:03:05 +01:00
Henrik Rydgård
11dbae3457
Remove the "DispatchFlush" mechanism, not convinced it's a win
2024-12-15 13:42:05 +01:00
Henrik Rydgård
794fa28035
Small simplification
2024-12-15 13:23:34 +01:00
Henrik Rydgård
f1e3399916
Break out the parser from RestrictPrimRanges
2024-12-15 13:18:23 +01:00
Henrik Rydgård
663131d5f8
GPUDebug: Remove lastStepTime
2024-12-15 13:13:31 +01:00
Henrik Rydgård
4223bcfae1
Move the ownership of GPU breakpoints to GPUCommon
2024-12-15 12:51:37 +01:00
Henrik Rydgård
638607d29a
Refactor: Make GPUCommon own the framedump "recorder".
2024-12-15 12:07:44 +01:00
Henrik Rydgård
9e019ae246
Remove the notion of the GPU debugger being "Active". Now it's automatic.
2024-12-15 11:12:53 +01:00
Henrik Rydgård
7b3687d79c
Replace a fiddly callback with a global bool (which later won't be global)
2024-12-15 10:49:49 +01:00
Henrik Rydgård
6c355836da
ImGeDebugger: Implement draw stepping
2024-12-15 00:40:33 +01:00
Henrik Rydgård
68f61c2add
ImGeDebugger: Highlight changes, show old value on hover
2024-12-14 11:03:18 +01:00
Henrik Rydgård
5aeef924d2
Implement vertex preview in the new Ge debugger
2024-12-12 23:36:29 +01:00