Commit Graph

9567 Commits

Author SHA1 Message Date
Henrik Rydgård fec232f8a8 GPU: Move things around a little, out of DrawEngine. 2024-12-17 19:13:38 +01:00
Henrik Rydgård abb2558535 When overriding skinning in sw transform mode, don't write/restore member variables 2024-12-17 18:52:49 +01:00
Henrik Rydgård 20ecbfdf57 Pass the VertexDecoder pointer around 2024-12-17 18:24:26 +01:00
Henrik Rydgård e74101a2fb applySkinInDecode belongs in the VertexTypeID, not in the options. 2024-12-17 18:24:18 +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 b5ed3051e5 Add rudimentary block transfer visualization (in text form) 2024-12-17 11:35:04 +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 c073b449a1 Workaround for GE debugging in Syphon Filter. Fix some stepping misbehavior. 2024-12-17 09:43:32 +01:00
Henrik Rydgård e567a58684 Remove StdioListener 2024-12-16 12:33:58 +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 111d0c872d Global rename of FBChannel to Aspect, also make it a class enum 2024-12-15 22:24:05 +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 190af89d9f Plumb in a GPUCommon pointer in the draw engines. (Hopefully can get rid of this later) 2024-12-15 13:53:27 +01:00
Henrik Rydgård b47c9b6dd2 Remove redundant call to SetColorUpdated 2024-12-15 13:44:35 +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 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 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 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 6a375b0ddc TextureReplacer: Load the ini, even if just saving. 2024-12-13 13:49:09 +01:00
Henrik Rydgård 5aeef924d2 Implement vertex preview in the new Ge debugger 2024-12-12 23:36:29 +01:00
Henrik Rydgård 60e244291a Enable a dockspace, so you can dock windows to the sides of the screen 2024-12-12 23:01:40 +01:00
Henrik Rydgård fa3321ca0c ImDebugger: Switch "Dear Imgui" to the Docking branch, enable the feature 2024-12-12 22:50:51 +01:00
Henrik Rydgård 8d1fbe9522 Move more utility functions from the Win32 GE debugger to the common code 2024-12-12 19:36:55 +01:00
Henrik Rydgård 4020fd8ec5 Move the last of the vertex preview code to State.cpp 2024-12-12 19:26:33 +01:00
Henrik Rydgård 4b36664dd6 Move more things to State.cpp/h, break out some stuff into a function 2024-12-12 19:26:33 +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 01b4eb41be Merge pull request #19719 from hrydgard/im-ge-draw-preview
ImGeDebugger framebuffer preview, plus many small changes
2024-12-11 13:04:18 +01:00
Henrik Rydgård 27122a9e64 Work on previews 2024-12-10 22:09:51 +01:00
Henrik Rydgård ec19c47b89 Add special texture hashing mode solving the Tag Force problem.
Don't want to build some complicated rule-based thing until we have more
use cases, so this is quite specialized.

See #19714
2024-12-10 19:24:20 +01:00
Henrik Rydgård 61d2459e94 Minor code cleanup 2024-12-10 19:24:02 +01:00
Henrik Rydgård d3789367a4 ImGeDebugger: Implement the new state viewer 2024-12-10 17:21:30 +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