baldurk
94694e0923
Fix processing of --updatedone
...
* Mark update as not available before starting up and creating main window.
2018-07-24 17:49:32 +01:00
baldurk
b08e9c76c0
Fix incorrectly reversed check for progress of capture transfers
2018-07-24 15:51:30 +01:00
baldurk
b470141322
Denote updates to prevent wasteful repeated work adding usage entries
2018-07-13 20:06:57 +01:00
baldurk
201dd1c9b4
Don't sort while inserting data into performance counter viewer table
2018-07-13 20:06:57 +01:00
baldurk
10b82e6255
Fix possible race condition with capture loading
...
* The event browser called SetEventID from OnCaptureLoaded, which would then
call OnEventChanged on all viewers, which if they kicked off work could happen
at the same time as the later call to OpCaptureLoaded for them.
* In the mesh viewer this seemed to lead to a race condition and had a chance to
corrupt memory.
2018-07-13 15:43:55 +01:00
baldurk
85cddfff07
Fix display calculation overflowing for large scrollbars
2018-07-12 15:33:50 +01:00
baldurk
b955ef0b52
Support a NULL window for functions that only need it for dialogs
...
* Primarily useful for Python where threading can cause problems, and there's no
need.
2018-07-11 19:32:16 +01:00
baldurk
650a80db47
When searching start at selected not current event. Closes #1030
...
* When selecting a marker region, the more intuitive search is to find children
of the marker first before searching onwards, even if the 'current event' is
at the end of the marker region.
2018-07-09 16:28:03 +01:00
baldurk
1c510cb3a3
Don't crash if RemoteHost hostname is empty or short
2018-07-09 16:28:00 +01:00
baldurk
8c93750b00
Fix crash if texture tabs were open when restoring state.
2018-07-09 16:28:00 +01:00
baldurk
eeeba59058
Remove unnecessary GL/EGL link in qrenderdoc
2018-07-07 00:00:03 +01:00
baldurk
06d14ff62b
Define safe comparisons for python bindings
...
* In particular this means that it's safe to compare a ResourceId or similar
against None. It is always not-equal but it's useful to have the comparison
work and return the expected result instead of throwing a null reference
exception.
2018-07-06 22:44:17 +01:00
Dzmitry Malyshau
9c9e61a95e
Remove unused this in lambdas of ShaderViewer
2018-07-03 22:08:28 +01:00
baldurk
0604d037e6
Fix incorrect allocation not allowing space for pathname
2018-06-25 18:14:05 +01:00
baldurk
f0c8efe24d
Change colors on timeline bar pips to be color blind friendly.
2018-06-23 10:10:49 +01:00
baldurk
89637d8b35
32-bit compile fix
2018-06-22 21:36:06 +01:00
baldurk
286446b008
Fix threading memory corruption with remote host probe
2018-06-22 19:28:35 +01:00
baldurk
ec2806df06
Add context menu for manipulating watch panel
2018-06-22 19:28:34 +01:00
baldurk
fc3e527181
If D3DCOMPILE_SKIP_OPTIMIZATION is set, prefer source-level debugging
2018-06-22 19:28:34 +01:00
baldurk
04f214c768
Add toolbar button to switch between HLSL and assembly debugging
...
* This hopefully makes the HLSL debug mode more obvious to people.
2018-06-22 19:28:34 +01:00
baldurk
c5689827a9
Allow clicking anywhere in rX.xyzw to highlight register
2018-06-22 19:28:34 +01:00
baldurk
c0317855f8
Show tooltips for known local variables and constants
2018-06-22 19:28:34 +01:00
baldurk
2a6a0f0f95
Support local variables in watch expressions
2018-06-22 19:28:34 +01:00
baldurk
1761f5ab36
Highlight variables/registers that have changed
2018-06-22 19:28:33 +01:00
baldurk
5b3a12cd0c
Save and restore tree expansion state when repopulating locals widget
2018-06-22 19:28:33 +01:00
baldurk
cb0df2c844
Combine together structs/arrays in HLSL locals panel
2018-06-22 19:28:33 +01:00
baldurk
880f529fda
Change mapping representation to be gather-based per variable
...
* Instead of having an N:N mapping of parts of variables to parts of registers,
instead we gather everything together under each variable and it has a list of
registers that comprise it.
* Any gaps are represented as undefined register mappings, for components that
aren't available in any register.
2018-06-22 19:28:33 +01:00
baldurk
8b5ab06da7
Rename variables panel to registers
2018-06-22 19:28:32 +01:00
baldurk
06b7e39c26
Don't crash if stepping back from last instruction
2018-06-22 19:28:32 +01:00
baldurk
377715a61f
Don't create tabs for completely empty files in shader viewer
2018-06-22 19:28:32 +01:00
baldurk
2b7d9aea38
Create a line-to-instruction map to allow breakpoints/cursor-run in HLSL
2018-06-22 19:28:30 +01:00
baldurk
52e9a6c01d
Pass through line-mapping information for each instruction to UI
...
* This lets the UI highlight the source line as stepping happens, as well as
allowing stepping purely in HLSL.
2018-06-22 19:28:30 +01:00
baldurk
ff9f5675e9
Display high-level language locals corresponding to registers
2018-06-22 19:28:30 +01:00
baldurk
e2dcd902cd
Gather and display callstack information during shader debugging
2018-06-22 19:28:30 +01:00
baldurk
24adf08a75
Remove references to deleted CommonPipelineState
2018-06-21 17:46:15 +01:00
baldurk
f1318b0961
Don't use LastCaptureFilePath for import file browser
2018-06-21 17:46:15 +01:00
baldurk
c4c4c4b67d
Display multiview state in vulkan pipeline state viewer
2018-06-19 20:48:30 +01:00
baldurk
53364adeef
Support mesh output from different view indices on vulkan
...
* When using VK_KHR_multiview you can select which view to view the mesh data from.
2018-06-19 20:48:30 +01:00
baldurk
e87eacb2a0
Fix switching between pipeline state viewers
2018-06-19 12:38:18 +01:00
baldurk
0dda96a045
Change previous/next/parent IDs in DrawcallDescription to pointers
...
* This is a legacy holdover from the C# interop not being able to preserve
pointers easily.
2018-06-18 18:39:06 +01:00
baldurk
14e3a3d360
Move API-agnostic pipeline state wrapper into core interface
...
* There's no need for this to be in the UI, and moving it allows it to be used
from script which is very useful.
2018-06-18 18:39:06 +01:00
baldurk
45c3c27923
Rename DrawFlags::UseIBuffer to DrawFlags::Indexed
2018-06-15 19:40:54 +01:00
baldurk
4561b55464
Persist a default browse directory for file dialogs, if none is provided
...
* This provides a slightly more sensible default than the application working
directory.
* The default is shared across all dialogs and open/save.
2018-06-15 19:40:54 +01:00
baldurk
093e8a6b40
Support NewFloatingArea and LastUsedArea properly in AddDockWindow
2018-06-14 17:57:31 +01:00
baldurk
bf70aeb64d
Handle None being passed from Python for a QWidget pointer
2018-06-14 17:56:18 +01:00
baldurk
2c8674790c
Add spacers in pipeline view for if all groups are collapsed
2018-06-13 09:17:03 +01:00
baldurk
d9bab79dbc
Allow clicking on labels of collapse group boxes to toggle
2018-06-13 09:17:03 +01:00
baldurk
9b25f3948e
Fix copy-paste error of shader output values in wrong places in history
2018-06-07 16:08:28 +01:00
baldurk
72b40769b5
Add support for D3D12 up to D3D12.3. Closes #966
2018-06-07 14:49:07 +01:00
baldurk
4de23d8d8b
Fetch enough data even for odd vertex attribute offsets. Closes #1007
2018-06-05 21:08:06 +01:00