Commit Graph
1980 Commits
Author SHA1 Message Date
baldurk f02fbd7ffa Fix cases where function tooltip would stick around too long 2026-08-13 17:46:45 +01:00
baldurk 4f3dab116b Properly update docstrings with optional/default parameters 2026-08-13 17:46:45 +01:00
baldurk 567b0228aa Call OnCaptureClosed for capture viewers before resetting capture info 2026-08-13 17:46:45 +01:00
baldurk 7fab2e0e0a Add a forwarding ReplayController wrapper for python that auto invokes 2026-08-13 17:46:44 +01:00
baldurk a665def9d9 Add a simple wizard to create a new empty extension 2026-08-13 17:46:44 +01:00
baldurk c97850e39b Allow customisation of VS Code executable 2026-08-13 17:46:44 +01:00
baldurk 459bfb2592 Add a project explorer to the python scripting window
* This displays the current UI extension files, some built-in examples, and
  recently opened loose files
2026-08-13 17:46:44 +01:00
baldurk b846705c0b Handle python scripts via drag-and-drop to the window 2026-08-13 17:46:43 +01:00
baldurk c95a69c8a1 Returning const arrays forces a copy
* This doesn't cover all cases but helps with 'pythonic' cases where a list
  returned from a function should be expected to be mutable. Modifying direct
  'members' can still modify through const.
2026-08-13 17:46:43 +01:00
baldurk 0bab6e4059 Fix cases where syntax checking timer wouldn't properly be started
* We let it run after any change unconditionally rather than stopping/starting
  it. Instead if it fires and we ar in the middle of an autocomplete we just
  ignore that instance.
2026-08-13 17:46:43 +01:00
baldurk 88782bea97 Use reflection script for autocomplete and help in python shell
* Also add syntax checking via parse attempts.
2026-08-13 17:46:43 +01:00
baldurk 2aff86b678 Change python scripting panel to allow multiple editor windows
* We also remove the old completion/help functionality as it will be replaced.
2026-08-13 17:46:43 +01:00
baldurk 94c4e656d6 Move RDToolTip into separate file independent of tree view 2026-08-13 17:46:43 +01:00
baldurk 23ca2cf053 Show syntax errors when editing in python script editor 2026-08-13 17:46:41 +01:00
baldurk a70ee3a2eb Watch python extensions for changes on disk and update status bar
* We show a button to quickly reload changed extensions.
2026-08-13 17:46:41 +01:00
baldurk 22444aa44d Disable python debugging buttons if it's not supported 2026-08-13 17:46:41 +01:00
baldurk c0b47ee48c Don't enable output/debug buttons for unloaded extensions 2026-08-13 17:46:41 +01:00
baldurk a995ded466 Add quick-helper to view extension output from manager dialog 2026-08-13 17:46:41 +01:00
baldurk 02ead51303 Add a status entry showing loaded python extensions & debugger status 2026-08-13 17:46:40 +01:00
baldurk 3c6dfd23b4 Add a drop-down for the script output panel to switch context
* By default we still display all messages, but this allows users to switch to
  just seeing the output from one extension if desired.
2026-08-13 17:46:40 +01:00
baldurk 768d8fa615 Add a static context for connecting Qt signals for python extensions 2026-08-13 17:46:40 +01:00
baldurk 836a5da7fa Re-organise python shell to be dockable and dock REPL at bottom 2026-08-13 17:46:40 +01:00
baldurk 3ff393c91f Add option to launch/wait for debugger on python contexts 2026-08-13 17:46:40 +01:00
baldurk d71827d6a1 Load debugpy when possible to allow python debugging in-program 2026-08-13 17:46:39 +01:00
baldurk 965d788fe5 Add a settings window entry to add extra python stubs paths 2026-08-13 17:46:39 +01:00
baldurk ef73eb2205 Allow matching debug variables directly before processing path
* Debug info could theoretically contain names which include path like
  characters including '.' or '[]' even though these wouldn't be valid
  identifier names. We assume this will not happen with names that are part of
  structures/arrays themselves but instead only happen if there's a single
  matching path.
2026-08-07 16:26:34 +01:00
baldurk a99a02c51b Add 'bind' to display of samplers in shader debugger
* If there is no set/space and no array index, a single number is unclear of
  what it actually means (when there is no sampler object, we don't have
  anything to refer to except the binding).
2026-08-07 16:26:33 +01:00
baldurk 0cb1000f26 In buffer viewer show tooltip on headers and elide from middle
* This helps with long names (e.g. structname.member) on scalars where the width
  of the data is not enough to show the full header name.
2026-08-05 10:46:13 +01:00
baldurk caa6977a13 Add support for VK_EXT_image_sliced_view_of_3d 2026-07-24 17:52:49 +01:00
baldurk 40570791a4 Add support for VK_EXT_depth_bias_control 2026-07-21 16:05:07 +01:00
baldurk ca199a4a19 If a capture fails to load, do not close connection panel 2026-07-02 16:13:45 +01:00
baldurk 2fc0bc04cb Ignore swizzles on resources and ensure no OOB swizzles are processed 2026-07-01 11:17:07 +01:00
baldurk 08e10b0230 Fix typo in button tooltip 2026-06-29 11:08:38 +01:00
baldurk 7bb5c135df Display relevant slot when independent blend is off on D3D. Closes #3842
* On D3D11 the runtime handled this for us via query of the DESC struct, but on
  D3D12 we'd get whatever the user provided. To make things more clear we
  display only the active blend state slot and label it 'all' instead of 0 on
  both D3D11 and D3D12.
2026-05-29 14:03:45 +01:00
baldurk 482a0f3080 Sort entries under Window menu
* These had never been in a good order, but as new windows have been added it's
  even harder to see one you want at a glance
2026-05-15 13:16:19 +01:00
baldurk 177ac34102 Add some missing HTML exported vulkan pipeline state values 2026-04-16 14:00:58 +01:00
baldurk 748aeee584 Fix inconsistencies in exports D3D12 html state. Closes #3823 2026-04-16 14:00:58 +01:00
Jake Turner 05f773971c Tweak C++ ShaderVariable consistency checks to match validate_trace
Ignore empty before/after for resource ShaderVariables in SHADER_VARIABLE_CHANGE_CONSISTENCY_CHECKS
2026-04-14 14:18:16 +01:00
baldurk 286e07140d Use better wording for subexpressions in event browser filter 2026-02-27 13:09:59 +00:00
baldurk f42b33479b Improve debug toggle log button 2026-02-25 16:29:49 +00:00
baldurk ab4f22f107 Ensure buffers are deleted if async processing is aborted 2026-02-20 13:38:49 +00:00
baldurk c67969d6ce Special-case and handle reported corrupt bug reports 2026-02-13 13:11:21 +00:00
Jake Turner 0cf4706333 Only prompt to reload shader debug infomation for local replays 2026-02-10 11:03:38 +00:00
Jake Turner ba60ac46d0 UI to ask if want to reload all shader debug information in the capture
Triggered after closing the Shader debug search paths dialog
2026-02-06 11:59:17 +13:00
Jake Turner 82cdd8047c Add a UI panel to ShaderViewer to show the shader debug loading log
A button toggles the logging panel open/closed
2026-02-06 10:39:11 +13:00
baldurk fcf298cff9 Implement support for predication on D3D12. Closes #2095 2026-02-04 22:33:57 +00:00
baldurk a139a9faec Fix $annot() filter not properly parsing expressions 2026-01-29 17:14:51 +00:00
Jake Turner a72067cca5 AsyncInvoke operations related to embedded dependencies 2026-01-29 11:05:10 +13:00
Jake Turner 3da3c24f34 AsyncInvoke check for AMDRGPProfile Section in OnCaptureLoaded 2026-01-29 11:05:10 +13:00
baldurk 3454404a55 Clear current annotation in resource inspector on capture close 2026-01-28 14:42:10 +00:00