Commit Graph
17339 Commits
Author SHA1 Message Date
baldurk ce50614f0e Reduce number of error log prints when an extension fails to load 2026-09-11 15:03:59 +01:00
baldurk 2ada3ed28d Fix order of operations in shutdown
* When calling OnCaptureClosed now this is book-ended so called *while* the
  capture is opened. Do not refresh and repopulate EventBrowser cache.
2026-09-11 15:03:59 +01:00
baldurk 60c83d0483 Add mkdir for wsl build 2026-09-11 10:47:15 +01:00
baldurk 7282ec87a7 Explicitly call msiexec.exe as WSL doesn't auto-check .exe suffix 2026-09-11 09:57:48 +01:00
Jeremy Gebben 7323b3f946 Add missing barrier between fill and copy in ReplayIndirectCB
Transfer writes are not implicitly ordered, so without a barrier the fill could
complete after the copy. This was causing intermittent failures in the
VK_Indirect test when running with KosmicKrisp.

Synchronization validation reports this error:

```
vkCmdCopyBuffer(): WRITE_AFTER_WRITE hazard detected. vkCmdCopyBuffer writes to
VkBuffer [m_IndirectBufferActionCB], which was previously written by
vkCmdFillBuffer[Drawcall callback replay (drawCount=1)].
```
2026-09-11 02:46:41 +09:00
baldurk db6440a859 Check that zip and msi contents match in build process 2026-09-10 11:39:39 +01:00
wangshuo-lalala a75a19e0e4 Fix back-face dynamic stencil state replay 2026-09-10 18:56:05 +09:00
baldurk 903447260a Fix copy-paste error in 64-bit installer 2026-09-10 10:55:04 +01:00
baldurk 7e5452d7d2 Add rare potential extra failures to process dying on startup 2026-09-09 22:53:29 +01:00
baldurk 6a61a89797 Add missing libffi/shiboken2 files to installer manifests 2026-09-09 22:50:46 +01:00
Jake Turner 033ce407b4 VK_Resource_Usage tweaks
- give names to: Queue, Framebuffer, Swapchain Image, Swapchain Image View, Shader Modules
- rename "barrerCmdSubmitFence" -> "barrierCmdSubmitFence"
- add a marker "Barrier Command Submit Fence"
2026-09-09 15:24:59 +01:00
Jake Turner 30c78d389a Add VulkanGraphicsTest::setName() overload for VkQueue & VkShaderModule 2026-09-09 15:24:59 +01:00
Jake Turner d08b53fd64 In Vk_Resource_Usage Python compute EIDs and reduce hard coded EIDs 2026-09-09 15:24:59 +01:00
Jake Turner 4eae579b45 Do not add an empty Vulkan APIEvent for SystemChunk::CaptureEnd
Does not change the existing behaviour to an action if the preceding chunk is not vkQueuePresentKHR
2026-09-09 15:18:12 +01:00
Jake Turner 0c69b86d7c D3D12_Execute_Indirect: skip checking all overlays inside the large EI
Inside the large EI draw with a count of 256: only check a few EIDs at the start and end of that EI.
Reduces the test time and the EIDs being skipped are not exercising different code paths during replay.
2026-09-09 15:17:00 +01:00
Jeremy Gebben 3fbf0d871c Add missing pipeline barrier in Apply_InitialState()
The commands to initialize srcBuf must complete before it is copied. Sync
validation reports this as a READ_AFTER_WRITE hazard.  This also fixes a
VK_Image_Layouts test failure when running with KosmicKrisp.
2026-09-09 04:11:01 +09:00
Jake Turner 8a15c19d6b Add more clarity to Vk InsertEventNodes Indirect finalise code
Use similar variable names as D3D12 EI finalise code
2026-09-06 19:48:14 +01:00
Jake Turner 5c0dd5acb5 D3D12 Fix up EI inserting extra event nodes during loading 2026-09-06 19:48:14 +01:00
Jake Turner 356684b378 D3D12_Execute_Indirect Increase count buf draw count to 256
A small stress test to exercise RenderDoc resolving of EI actions during loading
2026-09-06 19:48:14 +01:00
baldurk b6270982de Only assign global m_DebugPy when initialisation is successful
* Prevents use on other threads e.g. python status check while partially
  initialised.
2026-09-05 15:05:41 +01:00
baldurk ca7db72a5b Check for immutable samplers in push descriptor updates
* Because these fields can be randomly garbage
2026-09-03 10:11:00 +01:00
baldurk dff9454bbb Fix bad indentation in docstring 2026-09-02 23:51:27 +01:00
baldurk 2b1ef6efd3 Fix look upwards for function scope in SPIR-V disassembly 2026-09-02 22:57:07 +01:00
baldurk ca9bde9a98 Add proper optional argument defaults for optional callbacks 2026-09-01 12:28:09 +01:00
baldurk 32d852d659 Bump version to v1.47 2026-08-31 15:21:11 +01:00
baldurk e4bd23b671 Fix bounds check in internal parser v1.46 2026-08-31 12:30:22 +01:00
baldurk 1aac7afdf1 Add helper function for appending text to a textedit 2026-08-31 12:13:26 +01:00
baldurk 0690269cb7 Add shortcuts for using user's preferred fixed font in MiniQtHelper 2026-08-31 11:27:30 +01:00
baldurk da8132b69c Add MiniQtHelper functions for scrolling widgets 2026-08-31 11:26:05 +01:00
baldurk 6b02191629 Try to break potential deadlock between UI and replay threads
* During capture shutdown on Python < 3.13 the replay thread will try to remove
  itself as a debuggable thread which requires being able to run python (holding
  the GIL). If the UI thread is the one triggering the capture shutdown and is
  running a call from a python script it may hold the GIL while waiting for the
  replay thread to close, deadlocking.
* To alleviate this, while the UI thread is about to block on the replay thread
  we try to release the python state if we are holding it so that the replay
  thread can run python code if needed.
* We already do this in a manual wrapper around BlockInvoke.
2026-08-31 11:13:35 +01:00
baldurk c98181bb9f Add warning about implementing CaptureViewer interface 2026-08-31 10:32:36 +01:00
baldurk 1d4cde2d6e Don't add extensions to output filters multiple times in python shell 2026-08-31 10:30:37 +01:00
baldurk cbeb5804cf Ensure blocking controller invokes onto UI thread if using context 2026-08-28 15:53:47 +01:00
baldurk a1b76c231e Improve the workflow for extensions that fail on import 2026-08-28 15:46:23 +01:00
baldurk f5240a4a47 Add missing function implementations to blocking ReplayController 2026-08-28 15:46:23 +01:00
baldurk 81bec684a3 Expose proper capture closing function to python extensions 2026-08-28 15:46:23 +01:00
baldurk 6237238cf7 Put python version in about dialog 2026-08-28 13:18:26 +01:00
Wehrwolfmann 762ec04267 Add Russian translations to the desktop entry 2026-08-28 02:02:50 +09:00
baldurk 61d9aafb1b Set net manager thread to delete itself on close
* Due to the way Qt works, the owning object acts as if it lives on the thread
  which in this case is running an event loop that tries to delete itself.
2026-08-27 17:29:38 +01:00
baldurk 1e06175da7 Mitigate environment variables being utterly terrible
* Environment variables are not thread safe on linux, but unfortunately linux is
  obssessed with them so we must hold our nose and interact with them.
* This change tries to move some modifications earlier into init before anything
  else happens to reduce the risk of clashes, as well as removing some reads
  that are unnecessary.
2026-08-27 17:17:58 +01:00
baldurk 572fda459d Use localtime_r instead of localtime 2026-08-27 16:58:47 +01:00
baldurk 45b5f1ad1d Remove debug print 2026-08-27 16:34:36 +01:00
baldurk fa5af1bf7c Remove extra ) 2026-08-27 15:29:03 +01:00
baldurk d015c0619a Fix race when initialising help context 2026-08-27 15:27:09 +01:00
baldurk 8cccd45e5b More unused lambda captures 2026-08-27 14:33:53 +01:00
baldurk 675484a382 Remove unused lambda capture 2026-08-27 14:12:36 +01:00
baldurk b100e05053 Add autocomplete for python help entry 2026-08-27 13:43:14 +01:00
baldurk 9a2ec4aa19 Use python invoker wrapper everywhere for pyrenderdoc
* This includes in the parameters of extension callbacks.
2026-08-27 12:45:52 +01:00
baldurk 3026718788 Handle an empty title as "Untitled script" in python editor wrapper 2026-08-27 12:44:00 +01:00
baldurk 72db77ae7c Allow inserting tabs at the start of the REPL input
* If there is no non-whitespace input, we shouldn't try to autocomplete
2026-08-27 12:43:22 +01:00