Commit Graph
3068 Commits
Author SHA1 Message Date
baldurk 3ff393c91f Add option to launch/wait for debugger on python contexts 2026-08-13 17:46:40 +01:00
baldurk 3dfd829331 Initialise debugpy on a thread to reduce startup time 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 53e5e718b1 Copy whichever libffi version the python installation needs 2026-08-13 17:46:39 +01:00
baldurk 9fc3c3cdcd Use sys.settrace instead of PyEval_SetTrace for better compatibility 2026-08-13 17:46:39 +01:00
baldurk e5f395497c Allow custom python folder to contain platform-subfolders
* This is not the default python layout but is convenient for sharing the
  standard library .zip and include folder with separate binary folders per-
  platform. The layout mirrors what we include in the repository.
2026-08-13 17:46:39 +01:00
baldurk 7e11dc9cc5 Allow loading a custom PySide2 with a customised python location
* This is expected to be in a pyside\ subfolder, with an organisation matching
  our default setup.
* We also now copy the shiboken2 python module (if it exists) as required by new
  pyside2 versions.
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 26a84363b8 Embed stubsgen.py and automatically generate stubs into user folder
* We create both a stubs folder for each specific version, and a 'latest' that
  is updated by newer RD versions.
* For development, the stubs will be regenerated any time the git commit hash
  changes for development builds.
2026-08-13 17:46:39 +01:00
baldurk a869e5c4f8 Add natvis for python 3.8 2026-08-13 17:46:38 +01:00
baldurk a23ee5f526 Change documentation for callbacks to use Callable[] 2026-08-13 17:46:38 +01:00
baldurk 7567cc11c9 Fix GC collection of python contexts 2026-08-13 17:46:38 +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 62b088319a Detect struct array strides from BDA pointer decorations 2026-08-07 16:26:33 +01:00
baldurk 5bcac1bfda Update from toolwindowmanager repository @ 984f7fb 2026-08-05 11:51:44 +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 28c6f55800 Custom render tooltip events in RDHeaderView
* Because Qt is awful at customising controls, the functions used to fetch the
  index of sections are not virtual so the internal QHeaderView version doesn't
  get the right sections when we have column grouping enabled.
2026-08-05 10:45:07 +01:00
baldurk 02e0f0983f Handle mutually recursive cycles in declared pointer types 2026-08-03 21:30:51 +01:00
baldurk c11d53b0d4 Handle mutually recursive pointer types in packing rules estimation 2026-08-03 21:15:19 +01:00
baldurk 1b9c13223f Check for all possible GL matrix types in buffer formatter. Closes #3878 2026-08-03 21:15:19 +01:00
baldurk d1c236573a Remove custom title bar close button icon. Closes #3875 2026-07-27 12:48:00 +01:00
baldurk 63b38ef8b4 Encode information for ASTC/PVRTC blocks in ResourceFormat 2026-07-27 11:22:02 +01:00
baldurk caa6977a13 Add support for VK_EXT_image_sliced_view_of_3d 2026-07-24 17:52:49 +01:00
Jake Turner f8c90b0032 Tweak terminal emulator command line for RunProcessAsAdmin
Separate the arguments instead of a single argument
Use a different execute command line parameter for different terminal tools
-e : default
-x : for gnome-terminal
2026-07-22 07:46:21 +01:00
Jake Turner baec8aa171 Fix building pcre on systems with latest automake version
The source bundle was configured using automake 1.16
2026-07-22 07:46:21 +01:00
baldurk 40570791a4 Add support for VK_EXT_depth_bias_control 2026-07-21 16:05:07 +01:00
baldurk 4edf26d6f7 Choose native VS toolset per version as with SDK version 2026-07-02 16:24:42 +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 06e8f370ba Fix handling of some formats of scalar pointers in buffer formatter 2026-06-18 21:50:51 +01:00
Vinluo46 eb8c26a11f Refactor compiler detection conditions for array iterators 2026-06-16 22:34:43 +09:00
Vinluo 4da2c3ff0a Fix Qt build with newer MSVC STL 2026-06-16 22:34:43 +09: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 75ecc6ea1a Return internal handle from sys 2026-05-15 13:15:45 +01:00
baldurk deec38b1fb Add helper to check if RDTreeWidget item is expanded 2026-05-15 13:15:32 +01:00
baldurk c9b9ee51e6 Allow configuring if tree widget items are selectable or not 2026-05-15 13:15:26 +01:00
baldurk 97cda2a241 Update from toolwindowmanager repository @ 755b795 2026-05-15 13:14:56 +01:00
baldurk 206d732ade Check serialised shader tool enums against known list
* Prevents an out of bound error from corrupt configs (or configs from the
  future!)
2026-05-15 13:09:20 +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 ecfa3f2eb3 Change copy mode for qrenderdoc dependencies to Always
* This doesn't trigger a rebuild if nothing else has changed, but it does mean
  these files can't be customised without going through the build process as
  they'll be overwritten on any rebuild. It looks like IfDifferent doesn't work
  properly or maybe isn't available on all msbuild versions.
2026-03-14 12:36:02 +00:00
baldurk 403725f69f Check global handle from correct object in extension loading 2026-03-13 18:21:33 +00:00
baldurk 109e524d5c Improve cross-module references in docstrings 2026-03-13 13:07:44 +00:00
baldurk fc85e44a06 Output stderr as warnings, not necessarily errors 2026-03-13 13:07:44 +00:00
baldurk a72ea34c6c Don't use sys.stdout to find global handle
* Instead store sys._renderdoc_internal that won't be overwritten.
2026-03-13 13:07:44 +00:00
baldurk 6e3a0201a8 Determine python version from python module directly 2026-03-13 13:07:44 +00:00