baldurk
fb2c09a4d9
Fix crash if APIInspector::RevealParameter is called for hidden object
...
* There's nothing to expand for hidden objects so make sure we don't crash or
expand the wrong item.
2025-08-15 12:56:26 +01:00
baldurk
bd193696b8
Prevent infinite recursion if python class doesn't override all methods
...
* We shouldn't require 'pure virtual' functions in CaptureViewer implementations
in python, so detect when the derived class methods point to the base class
pass-throughs, and skip them in that case.
2025-08-15 12:56:26 +01:00
baldurk
9bfcb76e0b
Try to de-elevate after applying an update to not run UI as admin
2025-07-31 17:10:14 +01:00
baldurk
799a9a8452
Report and display descriptor buffer state in pipeline view
2025-07-30 22:10:25 +01:00
baldurk
9545e6f27b
Add specific annotation for GPU address serialised values
2025-07-30 22:10:22 +01:00
baldurk
01115b3126
Detect cases where vectors are misaligned only in arrays. Closes #3644
...
* Scalar layout is required for vectors to straddle 16-byte boundaries but this
may not be detected if they are naturally aligned within an otherwise mis-
aligned struct.
2025-07-15 11:28:15 +01:00
baldurk
18cb138aa3
Do not allow error reports on fatal error from dev/unoffiical builds
2025-06-03 14:20:33 +01:00
baldurk
1564c7f44e
Handled typed pointers with bare scalar types not structs
2025-05-16 16:00:55 +01:00
baldurk
0f019eafb9
Add option to make shader search paths non-recursive
...
* For very large shader symbol stores especially those on network drives, the
bad behaviour that PIX has to recursively search all possible subdirectories
and enumerate all files can be really slow. Most of the time a file is
identified by its hash filename and looked up directly - if that isn't a hit,
in many cases users would rather a fast exit to having no symbols.
2025-04-16 17:39:51 +01:00
baldurk
2322e165de
Update copyright years to 2025
2025-03-14 18:54:37 +00:00
baldurk
86e8909b1e
Display colour swatch when showing cbuffer values as RGB. Closes #3533
2025-03-06 16:07:49 +00:00
baldurk
959d330488
Treat RGB display of float values as in linear space always. Refs #3533
2025-03-06 16:07:49 +00:00
Jake Turner
f9adb41bc3
Changed tool tip display for Shader array types to be { ... }
...
Matches the display for struct types
2025-03-06 10:54:00 +00:00
baldurk
5e03c30684
Properly initialise and teardown replay during qrenderdoc unit tests
2025-03-05 09:50:48 +00:00
baldurk
fc8c806dd6
Silence function cast warning on clang-19. Closes #3551
2025-03-04 11:11:02 +00:00
baldurk
46f83c15a4
Ensure replay loop is cancelled before window is hidden
...
* See also f56a989e4f - we don't want to make the replay loop always on
top though
2025-02-21 14:38:54 +00:00
baldurk
31d29fcea1
Add python function to clear replay cache
2025-02-21 14:19:12 +00:00
baldurk
a9cc63904e
Catch and print errors properly if unregister() fails
2025-02-21 13:46:59 +00:00
baldurk
783e7d47a5
Make python extension loading more robust to missing register/unregister
2025-02-21 13:46:59 +00:00
baldurk
875cd36f9d
Detect up to python 3.15
...
* Future proofing I guess
2025-02-21 13:46:59 +00:00
baldurk
1a6f62cecf
Workaround new windows SDK not compiling on VS2015
2025-02-19 13:35:51 +00:00
baldurk
26e575f4e0
Improve display of root buffers in D3D12 pipeline state view
...
* When they're 'structured' but with no structure, still prefer the basic type
declared in the shader reflection over the descriptor (which can't do better).
2025-02-19 13:35:51 +00:00
baldurk
b691f2421e
Update vkconfig check
2025-02-06 17:55:07 +00:00
Stefano Bonicatti
a0e52feba1
Fix stack-use-after-scope reading QT_QPA_PLATFORM env var
...
Setting QT_QPA_PLATFORM with putenv from a local variable
causes the environment to later still refer to it when it's out of scope.
Use setenv instead, as it copies the values provided.
2025-02-05 15:40:15 +00:00
baldurk
74a6e28f5a
Improve ability to redeclare buffer formats from struct definitions
2025-01-07 16:11:32 +00:00
baldurk
7edcbfbdbc
Fix bitfields not being resolved before structure uses
2025-01-07 15:10:44 +00:00
baldurk
79be74a8ec
Only modify bitfield properties if bitfields are active
2025-01-07 14:43:19 +00:00
baldurk
73b52dafb8
Resolve pending bitfield packing before applying specified field offsets
2025-01-07 13:19:28 +00:00
baldurk
55d939cdd8
Respect bitfield packing when generating format string for struct
2025-01-07 13:19:28 +00:00
baldurk
6261cb42d3
Fix missing indent for declared buffer structures
2025-01-07 13:19:28 +00:00
baldurk
7d6ecd1b3d
On main UI interface classes add a back-link at where they are retrieved
...
* E.g. this documents on the ExtensionManager that it's retrieved from
CaptureContext.Extensions()
2024-12-13 16:48:16 +00:00
baldurk
e189c0efd0
Manually link to callback types in docstrings
...
* The auto-type in parameters does not get linked, but we can manually link it
in the docstring text.
2024-12-13 16:48:16 +00:00
baldurk
d37b0ee00b
Fix issue with iterating actions via previous/next in python
...
* We keep parent references when returning child objects via reference/python
object wrappers rather than copying. But when iterating a linked list like the
actions this can produce an incredibly long parent chain and then on
destruction we can stack overflow if the chain is long enough.
2024-12-03 15:01:58 +00:00
baldurk
fa03d19088
Treat an AsyncInvoke with empty tag like no tag
...
* Otherwise such an invoke could delete untagged events out of the queue which
is definitely not what we want. Where is my draw? was doing this and it caused
internal untagged events which must not be dropped to be removed.
2024-11-24 00:58:50 +00:00
baldurk
ec261a2f85
Use API entry point not source entry point when decompiling source
2024-11-05 10:12:16 +00:00
baldurk
ec7ecf6896
Fix buffer declaration not properly declaring structs
2024-11-05 10:12:16 +00:00
baldurk
b4403b2d8d
Test different whitespacing around pointers
2024-10-31 13:04:25 +00:00
baldurk
89ee55bd0c
Fix matching variable-less buffer formats
...
* It's convenient and we sometimes automatically create formats that are just
'xint' so make sure they parse correctly.
2024-10-31 12:57:12 +00:00
baldurk
f4d579ffaa
Allow specifying tighter alignment than natural for odd buffer cases
2024-10-30 10:33:40 +00:00
baldurk
c2912fb259
32-bit compile fixes
2024-10-19 10:30:28 +01:00
baldurk
6408799b5d
Allow specifying scalar pointers in buffer formatter
2024-10-19 01:21:48 +01:00
baldurk
ac1a680b47
Redeclare bitfields in structs when declaring types
2024-10-19 01:21:47 +01:00
baldurk
c6c5702d74
Fix calculation of offsets with bitfields when aligning for pointers
2024-10-19 01:21:47 +01:00
baldurk
f0aecfbfa3
Add a log message when vkconfig is detected and warned about
2024-10-19 01:21:47 +01:00
baldurk
ce6b999995
Fix typo in warning message
2024-09-23 14:04:46 +01:00
baldurk
0cea7aae41
Add warning to users when vkconfig is detected
...
* This causes quite a few crashes on startup during Vulkan initialisation.
2024-09-20 13:30:32 +01:00
Cam Mannett
de07e66728
Use GLSL 460 for built-in spirv-cross -> GLSL calls
...
spirv-cross defaults to 450 but will not parse shaders containing the RayQuery capability unless the version is set to 460.
This change modifies the built-in GLSL cross tool to set `--version 460`. This change does not affect user-specified spirv-cross configurations.
2024-09-10 12:16:08 +01:00
baldurk
d5cc1cf626
Import threading on python context startup on main thread for debuggers
2024-07-15 16:22:38 +01:00
Aliya Pazylbekova
9ebd796cd8
Remove GGP support
2024-07-08 14:19:42 +01:00
baldurk
2b40a17f8a
Add packing rule for bitfield packing/straddling a la #pragma pack(1)
2024-06-27 13:54:41 +01:00