Commit Graph

1366 Commits

Author SHA1 Message Date
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
baldurk c2c0433999 Fix logic/blend enabled being wrong way around on D3D12 too 2018-06-05 21:08:06 +01:00
baldurk fe8cbfcc8c Handle different actual indices vs. displayed indices exporting VS Out
*  For VS Out data the actual offsets may be different than displayed, so we
  calculate manually rather than querying the model for each index.
2018-06-04 20:12:27 +01:00
Jake Turner e8c5cc7628 Fix -Wunused-lambda-capture warning errors on xocde93 2018-06-01 09:07:58 +01:00
baldurk 8dd69268ba As a last fallback in replay loop, use biggest colour rendertarget 2018-05-25 18:32:31 +01:00
baldurk 01a31b51d8 Print error if GUIInvoke is called with NULL object 2018-05-25 14:21:17 +01:00
baldurk 858b02480b Pass command-line args as 'intent args' when launching apk. Refs #987 2018-05-24 21:42:29 +01:00
baldurk 206e0f1188 Add quality-of-life/convenience accessor functions to SDObject 2018-05-24 21:42:29 +01:00
baldurk b3bc00738d Don't enumerate window titles when we just need a list of PIDs 2018-05-23 17:28:56 +01:00
baldurk ab9a212b8d Update qprocessinfo to 0d591f19f17805d65ef4880c3fc51021523003df 2018-05-23 17:28:42 +01:00
baldurk 0a041601f8 Update toolwindowmanger to d602babc98639c5d8206f1667f95062b2f3709fc 2018-05-23 17:22:18 +01:00
baldurk 851a88133a Remove the 'save all initials' option. Behave as if it's always enabled
* This option has always been a mixed bag - when originally written captures
  weren't compressed at all so saving the cost of a initial contents on a
  gbuffer would have a significant savings.
* Now with compression the savings are lesser, and it's a source of
  bugs/confusion for the case where either a bug is caused by leaking data from
  the previous frame or worse still the contents are discarded incorrectly.
* D3D11 will now behave as the other APIs will - saving initial contents
  whenever needed even if they seem like they might not be used.
2018-05-23 16:08:44 +01:00
baldurk 85b35cd352 Set usage panel in resource inspector to auto-resize columns to fit data 2018-05-17 15:04:40 +01:00
baldurk 72eb734964 Correctly pass selected primitive to DebugPixel from pixel history 2018-05-17 01:35:26 +01:00
baldurk d8a64c4172 Fix compilation on GCC 8. Closes #984 2018-05-15 19:44:17 +01:00
baldurk afb7ea5dab Improve python wrapping of WindowingData
* If we make WindowingData an empty struct not an opaque one, it won't leak memory
* Similarly we need typemaps to allow python to pass plain ints and have them cast to pointers
2018-05-15 19:44:17 +01:00
baldurk 757671b97f Add custom right-click menu to texture tabs in texture viewer 2018-05-15 11:27:34 +01:00
baldurk f12b8b5ee1 Check resource name cache ID to avoid unnecessary model resets
* Prevents annoying focus loss when selecting resources when no name has actually changed
2018-05-15 11:27:12 +01:00
baldurk 8a05e29e86 Fix QRenderDoc project filters - some files weren't included properly 2018-05-14 16:42:34 +01:00
baldurk b213d54c1d Account for added Divisor column when setting up vulkan pipeline state 2018-05-14 16:41:25 +01:00
baldurk 5c26270de0 Implement __hash__() for ResourceId 2018-05-14 16:40:58 +01:00
baldurk f1dcb785a1 Fix implementation of array_setsubscript when deleting a range 2018-05-14 16:40:45 +01:00
baldurk 5c40914c32 Set disassembly view to NULL when it's deleted 2018-05-13 10:13:49 +01:00
Hans-Kristian Arntzen 50dc1d6faa Support A2B10G10R10_SNORM in buffer viewer. 2018-05-11 01:04:45 +01:00
baldurk d7b0807875 Ignore MultiDraw markers when checking if the capture has markers 2018-05-09 13:05:00 +01:00
baldurk 4ade1187aa Fix linux compilation - pass parent QObject* to GUIInvoke 2018-05-08 19:10:28 +01:00
baldurk 2efce90591 [Coverity] Fix incorrect logic identified by deref-before-NULL-check 2018-05-08 12:47:28 +01:00
baldurk 8ef0d847ce [Coverity] Remove redundant if() check where both branches are identical 2018-05-08 12:39:10 +01:00
baldurk 42979bfeb3 [Coverity] Add some handling for return values in UI code 2018-05-08 12:32:56 +01:00
baldurk a45c222941 [Coverity] Remove redundant if() comparisons 2018-05-08 12:10:19 +01:00
baldurk 082ab4d75d GUIInvoke takes a QObject* to avoid callbacks after object lifetime
* The GUIInvoke object takes a QObject, and uses QPointer to check that
  it hasn't been deleted when the callback fires. This prevents delayed
  callbacks from executing after the object has been deleted and
  crashing.
* In most cases the pointer is just 'this'.
2018-05-08 11:54:34 +01:00
Josh Groves 8d9193aef8 Correct typo 2018-05-06 19:39:55 +01:00
baldurk 3380379aac Fix copy-pasted tooltips mistakenly saying "Save Shader SPIR-V" 2018-05-04 13:36:43 +01:00
baldurk 70f879ad7a Export AmdPowerXpressRequestHighPerformance to encourage use of dGPU 2018-05-03 15:35:01 +01:00
baldurk b1008ceb82 Add index buffer binding offset to byte offset when opening buffer view 2018-05-03 14:25:37 +01:00
baldurk 644217bcbf Workaround for QTBUG-14949, eliding multi-line itemview items breaks 2018-05-03 12:35:49 +01:00