Commit Graph

8017 Commits

Author SHA1 Message Date
baldurk a6714f4e82 Use correct context to flush with 2018-10-11 11:14:05 +01:00
baldurk ccf85076b7 Add context flush to MSAA -> Array copy. Refs #1119
* The previous flush was in Array -> MSAA which is not used during capture.
2018-10-11 11:09:37 +01:00
baldurk b9b194aa9e Fix natvis for structured data 2018-10-11 11:09:37 +01:00
baldurk d7b4609cbe When formatting storage buffers in vulkan there's no root struct to skip 2018-10-11 11:09:37 +01:00
baldurk 873d6e4d0a Set previous/next pointers on marker drawcalls
* Even if marker drawcalls aren't themselves in the linked list, it's very
  convenient to have their previous/next link to the next node on the list
  itself, so that if you search and find one from the list of drawcalls you'll
  still be able to iterate normally.
2018-10-11 11:09:37 +01:00
baldurk dbf1ca9ffe Allow KHR_shader_atomic_int64 and KHR_driver_properties extensions
* These are pass-through, needing no co-operation to capture and nothing needed
  for replay.
2018-10-11 11:09:37 +01:00
baldurk 2260ff3a75 Update vulkan headers to 1.1.87 2018-10-11 11:09:37 +01:00
baldurk 0282c9a685 Fix pipeline state highlighting of disabled input attributes
* Using the row index is not accurate when some input attributes are disabled,
  because they won't match up to the original index in the attributes list.
2018-10-11 11:09:36 +01:00
baldurk b91d19e316 Generate better buffer format strings when opening VB or IB buffer views 2018-10-11 11:09:36 +01:00
baldurk 5472319025 When opening buffer textures, auto-generate a reasonable buffer format. 2018-10-11 11:09:36 +01:00
baldurk 0863371852 Ensure re-usable cbuffers are large enough for all uses
* The overdraw ramp was too large!
2018-10-11 11:09:36 +01:00
tabi.katalin 369d93b99c Cycle active window with button
A new button is added to the UI so that we can cycle the currently active window when there are more windows to capture.  It's like pressing the F11 button but it works on Android too.
2018-10-10 10:19:43 +01:00
baldurk c132142723 Remove unused lambda capture variable 2018-10-08 19:30:56 +01:00
baldurk a4c60f9f5b Remove RGP source from CMakeLists.txt 2018-10-08 18:48:50 +01:00
baldurk cd1e9c2fb8 Experimentally flush GPU after each part of MS<=>Array copy. Refs #1119 2018-10-08 18:47:25 +01:00
baldurk 1dd4eb4410 Fetch computer shader thread/group declared inputs to input signature
* This helps match up inputs for shader debugging when high-level variables have
  to match up to a particular fixed input.
2018-10-08 17:45:09 +01:00
baldurk 615b743b8e Make shader debugging soft-blocking, pop up progress bar while working
* This prevents the user from accidentally triggering some other process while
  the debug is still on-going, if it's taking a while.
2018-10-08 17:24:00 +01:00
baldurk 4deb5dae60 Don't display progress dialog if process has already finished. 2018-10-08 17:20:38 +01:00
baldurk 41d1acc47a When tracking state, only track current command buffer. Closes #1123
* In particular, when tracking a secondary command buffer we don't want to
  accidentally track state changes to the primary command buffer that may have
  happened after the secondary was recorded and should not override its state.
2018-10-08 15:37:50 +01:00
baldurk 16b73001d9 Explicitly free descriptor sets in PostVS fetch to help tracking 2018-10-08 15:18:43 +01:00
baldurk a6dda66c57 Remove compiled-in DevDriverAPI, load dll to access API 2018-10-08 14:07:44 +01:00
baldurk a41d1c89c0 Unwrap resource when replaying SetResourceMinLOD 2018-10-08 11:45:06 +01:00
baldurk b39fa104cc Use atomic flag to prevent any recursion during dlopen. Refs #1120 2018-10-08 10:52:42 +01:00
baldurk b39c59f612 Fix copy-paste error that prevented loading version 5 D3D12 captures 2018-10-08 10:33:25 +01:00
baldurk 1624a3c96a Fix compilation on 32-bit 2018-10-05 19:08:54 +01:00
baldurk 045192bf9d Invoke renderdoccmd as root on linux to install vulkan layer, not Qt UI
* On linux sometimes you can't invoke a GUI application as root. To work around
  this, we use renderdoccmd to register the layer if it's available, or fail if
  it isn't.
2018-10-05 18:17:00 +01:00
baldurk 1bd014247d Add -- separator when running kdesudo or gksudo 2018-10-05 18:17:00 +01:00
baldurk 046ca0ad12 Document RenderDoc controlling API validation while active. Closes #1121 2018-10-05 18:17:00 +01:00
baldurk 1f961f44d1 Apply backbuffer view format fixup to UAVs. Closes #1104 2018-10-05 18:17:00 +01:00
baldurk 159a67b853 Implement MSAA to Array colour copies. Closes #1023 2018-10-05 18:16:59 +01:00
baldurk b6894185a9 Set CachedBlobSizeInBytes to 0 on reading 2018-10-05 18:16:59 +01:00
baldurk 8004bef8d0 Return S_OK for recognised UUIDs in ID3D12Device::GetDevice() 2018-10-05 18:16:59 +01:00
Adam Sawicki 6b101335e6 StatisticsViewer::AppendShaderStatistics: Fixed typo. 2018-10-05 14:57:37 +01:00
baldurk c8ffe1831d Linux compile fix 2018-10-04 18:53:30 +01:00
baldurk 920bc98f0c Fix D3D11 ClearBeforeDraw overlay not respecting visible range control 2018-10-04 17:35:15 +01:00
baldurk d281e9674b Improve ability to run a replay output with no backing window
* This is useful for scripts where we want access to the contextual output
  operations like overlays, pixel picking, etc.
2018-10-04 16:53:39 +01:00
baldurk b7855d371f Grab linux library callbacks locally before calling them. Refs #1120
* This should prevent recursive calls from re-processing the same list of
  callbacks
2018-10-04 16:15:05 +01:00
baldurk 7a6580bb0f Fix compilation of all debug shaders on GLES 2018-10-04 16:07:38 +01:00
baldurk cf41950897 Reset GLES status to false when loading a proper GL capture
* This prevents us from acting like we're on a GLES context if we had previously
  loaded a GLES capture.
2018-10-04 16:07:37 +01:00
baldurk bbafa5cd4d Fix GLES display of wireframe overlay for non-indexed draws 2018-10-04 16:07:37 +01:00
baldurk 11cba8d36b Disable quad overdraw overlay on GLES 2018-10-04 16:07:37 +01:00
baldurk ec165964bc Fix some pedantic GLSL compilation problems 2018-10-04 16:07:36 +01:00
baldurk 91ac88d6b5 Add an '(Active)' suffix on active APIs to be clearer about it 2018-10-04 16:07:36 +01:00
baldurk 995caa2636 Implement empty-marker hiding options for event browser 2018-10-04 16:07:36 +01:00
baldurk 8879d9a9bf Don't add API Calls dummy draws inside regions for only marker API calls
* On Vulkan/D3D12 we only do this for actual regions, for command buffer
  boundaries we always insert the dummy draw.
2018-10-04 16:07:36 +01:00
baldurk 92feb1013b Don't require an extra descriptor set for vulkan postvs fetch 2018-10-04 16:07:35 +01:00
baldurk b87792f721 Store map offset in GPUBuffer so we only flush the mapped range 2018-10-04 12:54:51 +01:00
baldurk d31457b4ae Add CGL header to VS project 2018-10-03 16:41:46 +01:00
baldurk b99aeee640 Merge OpenGL framework headers into cgl.h. Closes #1106
* The latest OpenGL.h headers from apple have deprecation warnings-as-errors.
  Rather than disabling them, bring the headers into the source tree since a
  future mac release might delete the headers entirely.
2018-10-02 19:25:30 +01:00
baldurk 30ece375e1 Submit wait semaphores when rendering vulkan overlay. Closes #1110 2018-10-02 19:00:53 +01:00