Commit Graph

3014 Commits

Author SHA1 Message Date
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
Jake Turner c14d404f2c Add warning text to CrashDialog if capture contains embedded files
"Warning: The capture file includes data from <N> embedded files."
2025-12-11 11:13:29 +13:00
Jake Turner 8c25651162 Add Tools Menu Option for externally referenced dependent files
"Embed external files into Capture"
"Remove external files from Capture"
2025-12-11 11:13:29 +13:00
Jake Turner cf4e8b15fc ICaptureContextx APIs for externally referenced dependency files
void EmbedDependentFilesIntoCapture();
void RemoveDependentFilesFromCapture();
2025-12-11 11:13:29 +13:00
Jake Turner a9d98f9526 Compute BBOX correctly when viewing Mesh Shader draw 2025-12-09 07:58:59 +13:00
Jake Turner f42e03b079 Set current stage to TaskOut instead of VSIn when viewing Mesh Shaders 2025-12-09 07:58:27 +13:00
baldurk a059764b74 Fix default identification of raster out stage 2025-12-08 18:24:19 +00:00
baldurk 188007eb46 Exclude modifier/toggle keys from key bindings 2025-12-08 18:24:19 +00:00
baldurk bae6f79dee Catch conflicting binds and warn to ensure no duplicates 2025-12-08 18:24:19 +00:00
baldurk f86aa4a2b7 On windows/linux convert known native scancodes to default keys
* This lets us have more helpful behaviour for default keys rather than being
  all-or-nothing, and display which keys are which.
2025-12-08 18:24:19 +00:00
baldurk dbb8b2d022 Fix flycam and arcball not having same reset parameters
* Both were centring around the AABB but arcball had a scale applied to the
  distance
2025-12-08 18:24:19 +00:00
baldurk 45eabffb54 Update mesh viewer to allow better customisation. Closes #1811 2025-12-08 18:24:19 +00:00
baldurk 5b1b57d703 Add a dialog for configuring unprojection parameters 2025-12-08 15:50:17 +00:00
baldurk b0b14c1b7b Add a dialog for customising camera controls in mesh viewer 2025-12-08 15:50:17 +00:00