Commit graph

638 commits

Author SHA1 Message Date
Henrik Rydgård
0f840e6240 Move JPEG error codes to the big enum, some include cleanup 2025-03-21 20:44:46 +01:00
Henrik Rydgård
1f5cfe82ed Fix issue with hleLogDebugOrError where the return value argument got repeated.
Not good when the argument is a function call..
2025-03-05 11:24:44 +01:00
Henrik Rydgård
2b2d2396f1 Fix miscounting of prim calls when stepping by draw 2025-03-03 14:47:14 +01:00
Henrik Rydgård
3ae469a4f8 Remove an indentation level for clearer code 2025-03-03 14:47:00 +01:00
Henrik Rydgård
7d852b456d Crazy Taxi workaround. See #19894 2025-01-20 11:55:19 +01:00
Henrik Rydgård
6d539cc5e0 More fixes 2024-12-28 23:50:42 +01:00
Henrik Rydgård
aec17d8829 Actually queue up depth draws 2024-12-28 23:21:54 +01:00
Henrik Rydgård
5326d87f9c Rename CrossSIMD to SIMDHeader, but also keep CrossSIMD.h (will have a future use) 2024-12-19 15:15:43 +01:00
Henrik Rydgård
4dd3621fa0 Remove some unnecessary <algorithm> includes. 2024-12-18 17:04:27 +01:00
Henrik Rydgård
df6ed8cfc9 Do some cleanup of #includes in GPU 2024-12-18 13:57:26 +01:00
Henrik Rydgård
ee297e974d Move more code into SoftwareTransformCommon, cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
0b06cd1379 Actually avoid looking up the vertex decoder more than once 2024-12-17 22:42:07 +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
3a97479116 Correct prim counting when stepping 2024-12-17 10:58:23 +01:00
Henrik Rydgård
e1e9047de2 Some renaming 2024-12-17 09:56:46 +01:00
Henrik Rydgård
96cab3f267 Rework the log manager to be more robust 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
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
17e0680c12 ImGeDebugger: Show the stall address (if any) in red. 2024-12-15 11:21:09 +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
6baaa2607a GE debugger: Cleaner resume from steps. Fixes GE debugging in God of War. 2024-12-13 20:36:31 +01:00
Henrik Rydgård
9a3cc7546b One more bit of simplification 2024-12-13 19:35:40 +01:00
Henrik Rydgård
7643d38700 Inline InterpretList into ProcessDLQueue. Makes it easier to understand the flow. 2024-12-13 19:29:06 +01:00
Henrik Rydgård
3465993af9 Minor code cleanups 2024-12-13 19:24:11 +01:00
Henrik Rydgård
4a8a87764c Remove unused state 2024-12-13 19:15:33 +01:00
Henrik Rydgård
58eaa3bad8 Move out checking for bad PC from InterpretList 2024-12-13 18:45:18 +01:00
Henrik Rydgård
024cb73716 Simplify collecting time into debug counters 2024-12-13 18:26:55 +01:00
Henrik Rydgård
74b750e30d Comments 2024-12-13 18:12:09 +01:00
Henrik Rydgård
a858032e46 Remove obsolete accounting for time spent stepping the GE (we no longer block) 2024-12-12 18:54:46 +01:00
Henrik Rydgård
c756842b7b Im Ge debugger: Gray out disabled state (state that belongs to disabled features) 2024-12-10 16:38:36 +01:00
Henrik Rydgård
b2a8b4168b Core: Minor changes to stepping (and some log changes) 2024-12-10 01:06:19 +01:00
Henrik Rydgård
c842e3f137 Fix discrepancy between stepping and running across frame endings. Add some more menu options in the ImDebugger 2024-12-10 01:06:04 +01:00
Henrik Rydgård
5f83e48280 Move the ge debugger window back out from GPUCommon 2024-12-06 09:50:00 +01:00
Henrik Rydgård
2c8e78408b Add basic vertex data viewer (with the same flaws as the old one) 2024-12-06 09:29:12 +01:00
Henrik Rydgård
51ae6ce898 Small simplification 2024-12-05 10:55:19 +01:00
Henrik Rydgård
21997784bf Extract FormatStateRow() from the Win32 GE debugger to GPU/Debugger/Registers 2024-12-05 10:07:29 +01:00
Henrik Rydgård
37f61bff5d Remove unused code. Activate split syscalls (for Ge stepping) when the Ge debugger is "active" 2024-12-05 00:52:21 +01:00
Henrik Rydgård
474e7acf54 Hook up the new (bare-bones) ImGui debug window to GPU stepping, fix stepping. 2024-12-05 00:51:59 +01:00
Henrik Rydgård
f8af4906f5 Ge debugger: Better solution for draw notifications 2024-12-05 00:36:49 +01:00
Henrik Rydgård
9ed8d8871e Ge stepping without wait: Tex/Prim stepping works. Draw/Single have issues. 2024-12-05 00:36:48 +01:00
Henrik Rydgård
c25e6b3933 Add "Split syscall" mechanism 2024-12-05 00:05:39 +01:00
Henrik Rydgård
e977906d75 Lift out running the display list to the callers.
This has one tricky case though...
2024-12-03 22:35:36 +01:00
Henrik Rydgård
63c0305301 Delete unused enum, add a new parameter bool 2024-12-03 22:35:36 +01:00
Henrik Rydgård
9b1d077943 Comment updates 2024-12-03 22:35:36 +01:00
Henrik Rydgård
5d0316db6f Tune some log verbosity, remove timestamp on outputdebugstring logs 2024-12-03 22:11:01 +01:00
Henrik Rydgård
0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00