Commit Graph

2218 Commits

Author SHA1 Message Date
Jake Turner 9c787bd05d Tidyup the Apple RPATH usage
Use @rpath for build and install to reference dynamic libraries
Set RPATH to "@executable_path/../lib" when linking
2021-03-14 11:17:31 +00:00
Jake Turner 769fade4cf Fixed small typo "htat" -> "that" 2021-03-14 11:17:31 +00:00
baldurk cfe3374267 Reset invalid state when letting user retry adding a shader tool 2021-03-10 10:43:00 +00:00
baldurk dce2c62bde Fix typo in shader viewer menu item. Closes #2201 2021-03-08 16:45:05 +00:00
baldurk 527c662fb2 Only flip Y co-ordinates in texture viewer when clip origin is default 2021-03-01 11:38:29 +00:00
baldurk d6e88ae4fa Remove redundant callstack member in APIEvent
* We already link to the chunk index and the chunk metadata contains the
  callstack, there's no need for a duplicate copy when there may be many
  APIEvents in a capture
2021-02-24 13:52:07 +00:00
baldurk 728fa34acc Move branch colouring to RDTreeView 2021-02-24 13:52:07 +00:00
baldurk 30dd13feb8 Pull index byte width and topology out of drawcall state
* These are treated as state on most APIs, only GL treats it as a drawcall
  parameter.
2021-02-24 13:52:07 +00:00
baldurk fd14fdbfa8 Add missing column of data to constant buffer array parent 2021-02-22 16:47:21 +00:00
baldurk c6be4f7834 Fix highlighting of active thumbnail preview
* This was broken in fa674a59b6 where the style
  overrode the widget's foreground role. Changed to only use the custom
  light/dark role when the desired role is Text (or WindowText).
2021-02-22 12:38:43 +00:00
baldurk 0f07545151 Add context menu item for toggling bookmarks on events 2021-02-18 15:41:55 +00:00
baldurk d66133d610 Fix handling of buffer length & offset in buffer viewer
* Previously the length was always being treated as buffer-relative instead of
  offset-relative.
2021-02-15 12:56:21 +00:00
baldurk 907ce48f7a Display message when no vertices or instances are present in drawcall 2021-02-15 12:56:21 +00:00
baldurk 0e86f0e320 Fix overflow setting rowOffset when numRows is 0 2021-02-15 12:56:21 +00:00
baldurk b31d7d94e8 An instanced draw with no instances has no vertices even if numIndices>0
* If we show this with vertex input data in the mesh viewer that's quite
  confusing when the draw is degenerate.
2021-02-15 12:56:21 +00:00
baldurk 218078f75f Identify stencil-only GL framebuffer attachments correctly 2021-02-15 10:30:37 +00:00
baldurk 9f6eda6e12 Don't check Qt version if not building qrenderdoc 2021-02-14 15:45:57 +00:00
baldurk 9290ed926b Display VRS state in D3D12 pipeline state viewer 2021-02-10 14:20:46 +00:00
baldurk 4c3cf74f18 Don't linkify any @123 EID text that is followed by an x
* This isn't something we generally want to support (@123 should be a separate
  word) and it can come up with shader names like `shader@0x12345` as well as
  with icon@2x.png
2021-02-08 14:05:04 +00:00
baldurk 15cbeef054 Fix offset calculation with declaring nested buffers in format string
* When calculating the size for a struct member we need to properly recurse
2021-02-08 14:05:04 +00:00
Mikko Rasa 69661b0cbb Clamp the current event to the actually visible region
The local eidAxisRect has its left edge moved due to panning, so use the
member variable with original values instead.
2021-02-08 11:43:37 +00:00
Mikko Rasa 19eb9bec34 Refactor drawing of lines in TimelineBar
They're now drawn as CE_StyledFrame controls, with either HLine or VLine
shape as appropriate for the orientation of the line.  This will go into
RDStyle when the light or dark UI theme is selected, allowing appropriate
colors to be used.
2021-02-08 11:43:37 +00:00
Mikko Rasa fa674a59b6 Consistently use outlineBrush() for drawing borders 2021-02-08 11:43:37 +00:00
baldurk 76fabedbe6 Fix false positive matching @EID on text containing foo@2x.png 2021-01-28 12:01:37 +00:00
baldurk 40b86b63fb Update code for new SSL libraries in new Qt version 2021-01-27 17:06:09 +00:00
baldurk f460d79968 Check for @ when initialising rich resource text
* This is used for event linking
2021-01-27 16:05:04 +00:00
baldurk 506f941a14 Don't set invalid size as minimum size on labels, set 0,0 2021-01-27 16:05:03 +00:00
baldurk 4d16c3e44c Add function to close top level windows to MiniQtHelper 2021-01-27 16:05:03 +00:00
baldurk 3f637e0d9b Link to renderdoc-contrib repository 2021-01-27 12:58:51 +00:00
baldurk 29c5965599 Update some missing entries and comments from custom shader snippets 2021-01-27 12:49:36 +00:00
baldurk 1c37bfa02e Fix painting issues when scrolling with pinned columns 2021-01-25 16:14:03 +00:00
baldurk e6601672ec Delete net worker when net manager thread completes 2021-01-22 14:57:48 +00:00
baldurk dae98c3547 Remove memset of struct that's no longer POD 2021-01-22 14:57:35 +00:00
baldurk ba06717842 Don't fetch resource lists for unbound shader stages
* This is a minor optimisation when there are large numbers of bound resources
  that are available (duplicated) to all shader stages. There's no point
  fetching them when there's no shader bound there.
2021-01-21 11:30:50 +00:00
baldurk a4fd53af8f Fix a crash if capture viewers are changed while processing SetEvent
* This could happen in particular now that thumbnails are capture viewers.
2021-01-21 11:28:23 +00:00
baldurk c002c71fe8 Don't display buffers as thumbnails in texture viewer
* This is a holdover from simpler binding times, these days it makes more sense
  to omit buffers than try to hold onto those bindings even when they don't
  contain textures.
2021-01-21 10:43:37 +00:00
baldurk 40f83cfbfd Fix lag in updating texture viewer display when selecting new draws 2021-01-20 17:15:34 +00:00
Marcin Ślusarz 309a08373b Put units in table header instead of each row. 2021-01-20 17:15:16 +00:00
baldurk 3d9bba65c8 Fix resizing issue with vulkan scissors display 2021-01-19 17:39:12 +00:00
baldurk 1fe92989b7 Fix aspect ratio calculation for negative viewport height 2021-01-19 17:10:09 +00:00
baldurk 2070e74cf1 Restore image auto-update on change feature
* This was apparently never ported over to Qt!
2021-01-18 13:22:36 +00:00
baldurk 03db0c480e Fix override warning 2021-01-15 21:40:24 +00:00
baldurk ee5d3f5837 Compile fix for linux 2021-01-15 19:32:41 +00:00
baldurk 3d52d5acaf Change window title to reflect development/release builds 2021-01-15 16:50:48 +00:00
baldurk 924c513d70 Fix cases where empty-range ellision in D3D12 pipeline state breaks
* We can't assume ranges in root signature elements map to shader binding
  arrays, there is a many:many relationship (one range can have multiple
  elements, or only part of an array, one array can have multiple ranges).
2021-01-15 14:57:34 +00:00
baldurk 6d1e37de3a Display bind array index in register name on D3D12 pipeline state 2021-01-15 14:14:50 +00:00
baldurk 1ce0958398 Add helper for setting images in labels 2021-01-15 12:36:14 +00:00
baldurk 99725b1dc4 Use devicePixelRatioF to calculate texture viewer coords. Closes #2148 2021-01-14 12:03:07 +00:00
baldurk 026da176bb Update copyright years to 2021 2021-01-13 13:56:10 +00:00
baldurk fbb17becf9 Only display base filename in loading progress dialog, not whole path 2021-01-13 12:50:34 +00:00