Commit Graph

1281 Commits

Author SHA1 Message Date
baldurk 152db57598 Default A8 textures to show the alpha channel only 2020-07-15 11:50:56 +01:00
baldurk bc4a803605 Add usage entries for discards. Closes #1951 2020-07-12 10:52:10 +01:00
baldurk 0d026a43d6 Remove CompType::Double
* This is a leftover artifact from before we had general extended type support
  and double was the only non-32 bit type we handled. Now we support most type
  formats so doubles are just CompType::Float with 8 byte width
2020-07-12 10:52:10 +01:00
baldurk a0b3bffda6 Display slices in texture details in GL pipeline state view 2020-07-12 10:52:10 +01:00
baldurk 88591c35fd Collapse large arrays if no dynamic use information is available 2020-07-12 10:52:10 +01:00
baldurk 9f2fdd6d64 Show view in vulkan pipeline state view when significant 2020-07-06 13:27:10 +01:00
baldurk 3f089b0c92 Don't treat binds with 0 stageMask as completely empty
* We can still highlight them as empty the same as we do for insufficiently
  sized constant buffers, but we should display the proper resource contents.
2020-07-06 13:26:49 +01:00
baldurk c10089c94b Invert y display for vulkan with negative viewport height. Closes #1971 2020-07-06 11:20:23 +01:00
baldurk 35854957db Add support for VK_EXT_extended_dynamic_state 2020-07-03 15:43:00 +01:00
baldurk d2557d3966 Fix linux compilation 2020-06-30 21:53:32 +01:00
baldurk e5e9a9c94b Use QDoubleSpinBox for partial 64-bit int support. Closes #1952
* Actually creating a 64-bit spinbox is not feasible without constructing it
  almost from scratch due to how much QAbstractSpinBox depends on private
  internals that can't be overridden. Instead use a QDoubleSpinBox with no
  decimals since we don't need the full 64-bit range, and the mantissa of a
  double is enough.
2020-06-30 12:34:52 +01:00
baldurk dfc82b3bd2 Prevent debugging graphics stages if no drawcall is selected 2020-06-29 18:34:07 +01:00
baldurk ed7d774fd4 Fix crash opening non-buffer-backed unused constant buffers 2020-06-29 13:10:50 +01:00
baldurk ad10f9ac01 Store shader profile in ShaderCompileFlags for D3D 2020-06-19 14:45:44 +01:00
baldurk d4ddb565d0 Add a per-shader debuggable flag to allow finer grained status
* E.g. on D3D12 we can debug DXBC shaders but not DXIL shaders. On vulkan this
  will allow us to have the UI work better when encountering shaders with
  unsupported capabilities or extensions.
2020-06-18 17:22:45 +01:00
alex 9414beaed2 Support multiple custom shaders directories for Texture Viewer 2020-06-16 11:47:52 +01:00
alex c1612f5d46 Add Texture Viewer custom shaders directory setting 2020-06-16 11:47:52 +01:00
baldurk 9805c9d662 Fix calculation of index buffer offset. Closes #1948 2020-06-15 15:44:09 +01:00
Steve Karolewics 99bfc41caa Add bounds checks for resources in shader viewer UI 2020-06-12 13:39:50 +01:00
Philip Rebohle 59282698d6 Add QPainterPath include 2020-06-06 10:44:33 +01:00
baldurk 60b710f24a Fix display of matrices inside source variable-mapped structures 2020-06-05 12:44:38 +01:00
baldurk 88231cbe41 Disable stages in vulkan pipeline state view if raster discard is on 2020-06-04 16:17:31 +01:00
baldurk c451bdc22c Add extra error checking into VirtualFileDialog 2020-06-03 18:41:11 +01:00
windog18 d59147ba9d Fixed hlsl cbuffer variable gen bug 2020-06-03 18:40:49 +01:00
baldurk 7a821c20bd Add custom context menu for all tree views with expand/collapse and copy 2020-05-29 20:09:13 +01:00
baldurk a0a373a8e1 Fix handling of buffer truncation and zero-sized buffers 2020-05-29 17:26:29 +01:00
Daniel Craig 4ad21c4198 Fix HWND resize timing issue
* There was a race condition where the newly created HWND surface could
  be resized during swap chain creation. This causes a
  `VK_ERROR_DEVICE_LOST`, but is very timing dependent.
* The fix was to finish the resize, via `ResourcePreview::setActive()` /
  `QWidget::show()` before scheduling any async functions that could
  create a swapchain, namely `IReplayOutput::AddThumbnail()`.
2020-05-28 23:27:56 +01:00
baldurk 1cd32d3f61 Implement support for VK_EXT_robustness2 2020-05-28 15:54:36 +01:00
baldurk b0cd8584fb Fix placement & handling of final next page button in buffer viewer 2020-05-27 22:38:23 +01:00
baldurk b2d85982a5 Hide capture progress bar if the application disconnects mid-capture 2020-05-26 16:46:14 +01:00
baldurk 0736a977a2 Handle nested struct offsets properly in raw buffer viewer 2020-05-26 13:53:25 +01:00
baldurk 7539533cb9 Populate new child processes immediately in capture connection panel 2020-05-22 22:09:44 +01:00
baldurk e265a1bfb4 Add support for VK_EXT_inline_uniform_block 2020-05-22 14:03:47 +01:00
tabi.katalin f1bd727dff Add support for ARM counters
Adding support for ARM counters via a third-party lib.
The main target platform is Android.
2020-05-20 20:19:17 +01:00
baldurk 571b286eb3 Fix bytesize calculation of vertex output attributes 2020-05-20 11:52:24 +01:00
baldurk ad86556ceb D3D12CBufTag should refer to reflection-based index, not root sig index 2020-05-19 16:40:11 +01:00
baldurk 759fad10e3 Remove sleep accidentally left in 2020-05-19 16:35:10 +01:00
baldurk 4db10c1ab8 Use RDMenu to add keyboard shortcuts for selecting replay contexts 2020-05-16 11:14:24 +01:00
baldurk 22d5cf2313 Scroll selected pixel to centre on goto. Refs #1885 2020-05-15 20:50:55 +01:00
baldurk a81994071f Wait for shader viewer background debugging, add cancel button
* Until we properly support background debugging we need to wait for it to
  complete, otherwise the user could close the window and we'd crash.
2020-05-15 20:31:42 +01:00
baldurk ca28154fc0 Check for geometryShader feature when fetching prim ID in pixel history 2020-05-15 19:03:27 +01:00
baldurk 08cf66abce Fix racing busy signals when connecting to remote servers 2020-05-15 19:03:26 +01:00
windog18 579dec8b4b Solved cbuffer bind issue 2020-05-15 19:02:41 +01:00
baldurk 3bd09bd4a9 Fix applying offset wrongly on unclamped length 2020-05-11 18:04:22 +01:00
Steve Karolewics ef58d7e1f8 Extend info in accessed resources panel in the shader viewer 2020-05-08 20:43:04 +01:00
baldurk 90c10ea1fc Handle boolean inputs in vulkan shader parameters
* We change to use VarType instead of CompType for signature parameters which
  allows us to represent different types of variables beyond just
  unsigned/signed integer and float.
2020-05-07 22:46:41 +01:00
baldurk 9c42e886ae Pass boundaries don't have any sub-draw modifications, same as clears 2020-05-06 19:35:50 +01:00
baldurk 343944db61 Fix anisotropy being lost when applying bias to sampler 2020-05-06 19:35:50 +01:00
baldurk 4c195dd93c Fix source variables not being marked as modified 2020-05-05 18:17:43 +01:00
baldurk e2fce8cad1 Fix crash if accessed resource is unbound 2020-04-30 18:15:29 +01:00