baldurk
d8d6557feb
Add support for file includes from custom shaders. Closes #2275
2021-05-17 13:47:58 +01:00
baldurk
331db5b4ba
Fix custom shader edits to write the exact editor contents to disk
2021-05-17 13:47:58 +01:00
baldurk
4a9d32db3f
Sort GL read/write bindings by bindpoint and use mapping properly
...
* We need to use the bindpoint mapping to ensure we look up the correct usage
information. Also iterating over the unsorted shader resources potentially
gives us out-of-order bindings, so we resort by bindpoint (which was sorted
into binding order in the implementation).
2021-05-17 13:47:58 +01:00
baldurk
c715d2c7ad
Pre-populate selected text in shader find dialog when pressing ctrl-f
2021-05-13 15:01:54 +01:00
baldurk
39ec6da668
Remove unused lambda capture
2021-05-11 17:35:36 +01:00
baldurk
4ba5c326af
Add missing Qt include
2021-05-11 16:21:38 +01:00
baldurk
b4ec703d97
Expose shader printf messages in the UI
2021-05-11 16:15:31 +01:00
baldurk
c6c133bdd0
Add icons for texture viewer pixel history/debug buttons
2021-05-11 16:15:31 +01:00
lizj
5fde0ad90d
Fix incorrect backcolorPick button state after cancellation
2021-05-10 14:18:19 +01:00
baldurk
93f0997c12
Fix crash on 32-bit index buffers that are less than 4 bytes in size
2021-04-29 10:25:18 +01:00
baldurk
52612c1f66
Apply out-of-bounds index count clamping to VS output
2021-04-28 10:36:59 +01:00
baldurk
96afe77914
Disable hover pipeline thumbnails on remote replay
...
* Most remote replay links are slow enough that the lag introduced by
synchronously fetching and displaying these thumbnails would be annoying for
simple mouse-over scenarios.
2021-04-22 15:52:14 +01:00
baldurk
d6c483a255
Hide tooltip thumbnail instead of making it 0x0
2021-04-20 14:44:04 +01:00
baldurk
e3eb2ee754
Fix sorting for texture viewer texture list
2021-04-20 13:51:41 +01:00
baldurk
6f25063eb2
Add icon for context menu item to open in resource inspector
2021-04-20 13:51:41 +01:00
baldurk
9d3f7169ed
Add thumbnails to texture tooltips in pipeline state view
...
* If there would be no tooltip otherwise, it just shows the thumbnail. Otherwise
any tooltip text (like view parameters or image layout) is displayed below the
thumbnail
2021-04-20 13:51:41 +01:00
baldurk
270d4e5b07
Add resource usage entries into context menu in pipeline state viewer
2021-04-19 16:44:19 +01:00
baldurk
da66701649
Don't mark bufferless constant buffers as empty due to stage masks
...
* These aren't present for push constants etc, so we ignore it
2021-04-16 13:55:38 +01:00
baldurk
eac94b74f6
Allow cbuffer previewer to apply custom format to non-buffer-backed CBs
...
* This in particular means push constants and specialization constants on vulkan
but also applies to root-value cbuffers on D3D12.
* GL bare uniforms are not feasible to expose in this way.
2021-04-14 18:59:12 +01:00
baldurk
6271f010cc
Don't hardcode font size/width calculating margin sizes. Closes #2227
2021-04-12 13:04:02 +01:00
baldurk
95e6a4a971
Respect font scale for fixed-width fonts
2021-04-12 13:04:02 +01:00
baldurk
6a6b7f68e1
Display thumbnails for empty resources
2021-04-12 13:04:02 +01:00
baldurk
61382d36a3
Don't show preserve option for alpha mapping in save dialog
2021-03-22 18:37:10 +00:00
baldurk
da288830c0
Fix display of doubles in mesh output
2021-03-22 18:37:10 +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
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
9290ed926b
Display VRS state in D3D12 pipeline state viewer
2021-02-10 14:20:46 +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
baldurk
40b86b63fb
Update code for new SSL libraries in new Qt version
2021-01-27 17:06:09 +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
e6601672ec
Delete net worker when net manager thread completes
2021-01-22 14:57:48 +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
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