3027 Commits

Author SHA1 Message Date
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
baldurk d32b8a0371 Fix compatibility with python 3.14 2026-03-13 13:07:44 +00:00
baldurk 34b2cfdc40 Copy qrenderdoc dependencies if different during build 2026-03-13 13:07:44 +00:00
baldurk 09bce82078 Always try to use exception-based thread naming
* VS2015 doesn't support the windows 10 thread naming so we want to do both if
  possible
2026-03-13 11:40:17 +00:00
baldurk eeb4bf9f04 Fix extra checkbox added for ordered list editors 2026-03-05 16:35:04 +00: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 2d1c7653f5 Add an analytic flag for use of custom annotations API 2026-01-28 14:42:11 +00:00
baldurk 352b88b344 Allow double clicking on resource annotations 2026-01-28 14:42:11 +00:00
baldurk 58eb49ce5b Expand RDTreeWidget to allow per-item go column
* This lets us use the existing logic for hovering columns, to get things like
  the hand cursor, while still only showing it for resource entries.
2026-01-28 14:42:11 +00:00
baldurk 2dd3df5aa1 Resize annotation key column to fit contents
* All other space is used by the value
2026-01-28 14:42:11 +00:00
baldurk 73f441f6c3 Ensure annotations are displayed for default event on capture load 2026-01-28 14:42:11 +00:00
baldurk 070177c232 Use natural sort to sort children in annotations 2026-01-28 14:42:11 +00:00
baldurk 3454404a55 Clear current annotation in resource inspector on capture close 2026-01-28 14:42:10 +00:00
Remi Palandri 772e697fed Allows more than 3 lines per annotation to be shown 2026-01-28 14:42:10 +00:00
Remi Palandri aaf19a128c add metadata support to annotationviewer for buffers 2026-01-28 14:42:10 +00:00
Remi Palandri ec24a6ca4b read __rd_format as default format if none other are available 2026-01-28 14:42:10 +00:00
Remi Palandri 8f9705333a hide empty annotations
Only displays annotations when they're not an empty node (struct only) with empty children. Needs to look at children recursively, as deleting foo.bar.baz would keep foo and foo.bar alive.
2026-01-28 14:42:10 +00:00
baldurk 4afe5017b0 Add a right-click handle to show an annotation in the event browser 2026-01-28 14:42:10 +00:00
baldurk 13ad7875f2 Add annotation display in resource inspector and as standalone panel 2026-01-28 14:42:10 +00:00
baldurk 1bec491d90 Add annotation filter function to event browser filters 2026-01-28 14:42:10 +00:00
Remi Palandri 50a0d9c425 automatically show annotation column if requested 2026-01-28 14:42:09 +00:00
baldurk 5c8a4f144b Add a custom annotation column to the event browser 2026-01-28 14:42:09 +00:00
Jake Turner 811c6c6ecc ShaderViewer uses GetShaderDebugVariable() when matching resource vars
This matches how debug variables are matched
This supports source mapping to resources which are a child member of a ShaderVariable i.e. an array element
2026-01-26 10:49:09 +13:00
qwmnerbvqwmn 67a6f20b6e Support #pragma once and multiple inclusions in HLSL editing 2026-01-23 03:02:57 +09:00
baldurk 9bef60d6c3 Display source variables mapped to OpUndef as <undefined value>
* Undefined values are still 0xccccccccc, since that value can propagate through
  operations. But source variables mapped directly to an OpUndef are displayed
  in a more semantically clear way.
2026-01-19 13:34:58 +00:00
qwmnerbvqwmn d32454e8ff Use UTF-8 encoding in shader viewer to fix character corruption 2026-01-19 19:20:14 +09:00
Jake Turner 075870caf5 Fix replace all message showing N+1 replacements instead of N 2026-01-08 06:58:56 +13:00
Sharlock93 2a1b67eeb6 Sorting array members in the Watch and High Level Variables window
This sets the offset of the VariableTag for array members in the watch
window. This ensures they are sorted correctly when displayed.
This also adds sorting by sourceVarIdx if the memebers are
globalSourceVars which fixes the sorting in the High Level Variables
window for built-in Variables
2026-01-06 02:31:07 +00:00
baldurk 856c838def Update copyright years to 2026 and fix copyright ranges
* In a previous update in 2021 many copyright ranges were truncated
  accidentally, and some files have been copy-pasted with wrong years. These
  dates have been fixed based on git history and original copyright messages.
2026-01-05 14:17:28 +00:00
baldurk f333d08bb4 Rename function to not use automatic-slot naming 2025-12-28 11:48:26 +00:00
Jake Turner 411cb89106 Default current stage to VSIn when viewing Vertex Shaders 2025-12-22 07:49:09 +13:00
Jake Turner 3c407eee51 GetParentMarker: Search children if first child is less than eventId
Handle case where action->eventId > eventId but the action contains the event being searched for
2025-12-20 07:26:26 +13:00