baldurk
e8b183b7e8
Speculative workaround for DXGI bug
...
* DXGI sometimes seems to return DXGI_INVALID_CALL when retrieving backbuffers.
In this case we want to gracefully handle it instead of crashing and hope it
will fix itself next time we try.
2021-02-08 14:05:04 +00:00
baldurk
20e91d8bd5
Reserve more space for descriptor set initial contents
...
* We need enough room for chunk overhead (e.g. array size space as well as
array, etc).
2021-02-08 14:05:04 +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
baldurk
3da41af1a9
Don't use constant buffer alignment rules on D3D for SRV/UAV structs
...
* In particular matrices and array elements are padded to float4 in cbuffers but
*not* in structured buffers
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
52a5b35027
Properly hook glXCreateNewContext. Refs #2170
2021-02-02 19:10:05 +00:00
baldurk
31c45634be
Fix linux injected process incorrectly detecting debugger. Closes #2170
...
* We use ptrace to detect child processes reliably, but that makes us look like
a debugger to the child. * There isn't a reliable and simple way to pass down
a PID to ignore (environment variables are the only simple option I can see,
and they can't be reliably inherited, ptrace to poke data would require lots
of work to figure out _where_ to poke that data).
* So instead we use a semi-heuristic - if the debugger PID is found but it
contains executable pages mapped from librenderdoc.so assume we're still being
ptrace setup'd, and check again next time we want to know if a debugger is
connected.
2021-02-02 18:40:01 +00:00
baldurk
7e6a785055
Add test of vulkan dedicated allocations
2021-02-01 14:43:43 +00:00
baldurk
0513914c42
Test that correct root-constant entry is used for cbuffer values
2021-02-01 13:39:09 +00:00
baldurk
2333cfa2a1
Test that UAV reads in shader debugging read data prior to event
2021-02-01 13:31:23 +00:00
baldurk
6b12864a7b
Ensure pixel pack/unpack buffers don't break overlays on GL
2021-02-01 13:22:40 +00:00
baldurk
28bf213382
Test APIs where scissor can be disabled doesn't affect overlays
2021-02-01 13:14:28 +00:00
baldurk
13ead841a4
Add tests of cubemaps on GL
...
* GL treats cubemaps in a more special/different way than other APIs
2021-02-01 12:49:02 +00:00
baldurk
cf3dc150cb
Test compute bindless feedback on vulkan
2021-02-01 11:55:54 +00:00
Steve Karolewics
b9c82bd4fb
Split large pending cmd batches to prevent device removal on load
2021-02-01 11:42:54 +00:00
baldurk
2629a8b096
Fix AMD shader extensions test to check for tuples
2021-01-29 10:57:39 +00:00
baldurk
85e767b969
Increment D3D12 initial state batch index
...
* This was missing so we'd never break batches
2021-01-28 20:24:33 +00:00
Marcin Ślusarz
4adbf00af0
Fill in information about units of Intel performance counters.
2021-01-28 16:41:31 +00:00
baldurk
263cf0778f
Fixes for structured exporting multisampled textures on GL
2021-01-28 15:49:28 +00:00
baldurk
22636f673b
Fix bug when no DXIL reflection information is present
...
* We generate a simple uint array but we were doubling up with a trailing ubyte
array.
2021-01-28 15:25:57 +00:00
baldurk
410bcf2744
Fix crash if DXIL phi references itself
2021-01-28 15:25:25 +00:00
baldurk
3ac5b9a842
Allow any UUID in DXGI swapchain GetBuffer()
...
* The only requirements are that we can get the interface as the one we want
(ID3D11Texture or ID3D12Resource) so we query it straight away as that first.
Then we also need to be able to convert from that to whatever the user
requested, so we do that as a second step.
* Because this is all undocumented it's unknown if there's any combination of
UUIDs that would fail this but might make sense in a different order (e.g.
queried as the user's UUID first and then we fetch our interface off that).
2021-01-28 12:29:16 +00:00
baldurk
76fabedbe6
Fix false positive matching @EID on text containing foo@2x.png
2021-01-28 12:01:37 +00:00
baldurk
1481f80d35
Bump version to 1.13
2021-01-27 19:23:00 +00:00
baldurk
40b86b63fb
Update code for new SSL libraries in new Qt version
v1.12
2021-01-27 17:06:09 +00:00
baldurk
bddbc53226
Fix compile error in official builds
2021-01-27 16:56:47 +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
dabd2a803a
Give specific instructions on writing UI extensions
...
* This goes through a worked example of a simple extension.
2021-01-27 16:05:03 +00:00
baldurk
ea51a816ed
Give ResourceId.Null a proper return type
2021-01-27 16:05:03 +00:00
baldurk
9424b8a3fe
Add documentation on setting up python dev environment
2021-01-27 16:05:03 +00:00
baldurk
ae96b674c9
Update docs to reference VK_EXT_debug_utils
...
* VK_EXT_debug_marker still works fine but is deprecated.
2021-01-27 13:03:16 +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
34dca01cb2
Don't rely on creation info during capture, it isn't populated
...
* On capture when we need the buffer size we can get it from the resource
record.
2021-01-27 00:29:46 +00:00
baldurk
58ef496c8a
Conservatively clamp number of samples when saving texture
...
* No actual texture should be returned with 0 samples but if there are problems
we want to avoid crashing by dividing by 0 later.
2021-01-27 00:29:46 +00:00
baldurk
cf2b0abaf8
Filter out spammy libc messages on android
2021-01-27 00:29:46 +00:00
baldurk
2ab4051140
Don't access graphics pipeline info when doing compute feedback
...
* This would crash if there's no renderpass set.
2021-01-27 00:29:46 +00:00
baldurk
e270d76347
Use the correct default profile version for GLES shaders in glslang
...
* We need to pass 100 for GLES and 110 for desktop for proper default parsing
without #version
2021-01-27 00:29:46 +00:00
baldurk
56c5c18aac
Tweak leak threshold on vulkan test
...
* It seems like some drivers don't free some memory from the resident set until
a certain point, meaning the peak memory is higher after a couple of captures
then goes down. This isn't a true leak and us checking the entire process's
working set size is a very poor litmus test, so bumping this value is fine.
2021-01-27 00:29:46 +00:00
JohnnyonFlame
ca4bbc0530
Fix asm/ptrace.h include order
2021-01-27 00:29:14 +00:00
JohnnyonFlame
58a760cc16
Fixed missing ARM_pc define on armhf target.
2021-01-27 00:29:14 +00:00
baldurk
435ef86adf
Only set shader ext UAV on DXBC bytecode if it's present
...
* For DXIL bytecode we don't attempt to nicely fixup the disassembly, but we
still want to remove the reflected UAV if present.
2021-01-25 21:29:09 +00:00
baldurk
0dde721ad5
Fix reading matrix stride from correct place when reading whole structs
2021-01-25 17:06:02 +00:00
baldurk
176ad2313d
Fix check for nan/inf in SPIR-V shader debugging
2021-01-25 16:51:59 +00:00
baldurk
1c37bfa02e
Fix painting issues when scrolling with pinned columns
2021-01-25 16:14:03 +00:00