baldurk
4e752c4c4e
Add a 'TDR' style timeout when debugging shaders
...
* When debugging hits 100k cycles we consider that we're likely in an
infinite or very long running loop. This is about the limit for then
loading the trace in the UI in a semi-reasonable time, so prompt the
user to just abort and view what we have (up to the 100,000th cycle).
2016-09-06 18:29:01 +02:00
baldurk
3aeefc802f
Fixed some missing backwards compatibility code when flattening logs
2016-09-06 18:29:01 +02:00
baldurk
888d82b571
Remove Sleep(500) with global hook - was causing process creation stalls
...
* This was for no good reason anyway. You absolutely shouldn't be
creating threads in DllMain... but if you do, don't delay return from
it to wait on those threads, as they won't even start until you've
returned. Ooops.
2016-09-06 18:29:01 +02:00
baldurk
6c1b60ef56
Don't count empty markers when thinking about faking profile markers
2016-09-06 18:29:01 +02:00
baldurk
446874e70a
Check for NULL textures array in glBindTextures (acts like array of 0s)
2016-09-06 18:29:01 +02:00
baldurk
06831aeaea
Re-add accidentally removed drawcall for ExecuteCommandList
2016-09-06 18:29:01 +02:00
baldurk
020c7e327a
Add note in CONTRIBUTING.md about removing merge commits from PRs
2016-09-06 18:29:01 +02:00
baldurk
f500e9b175
Add web IRC link to README.md, remove talk of beta builds, add docs link
2016-09-06 18:29:01 +02:00
Baldur Karlsson
812a5bfede
Merge pull request #348 from Anteru/patch-1
...
Fix DockPanel link.
2016-09-06 12:37:40 +02:00
Matthäus G. Chajdas
bf1c2dc165
Fix DockPanel link.
2016-09-06 12:31:00 +02:00
baldurk
d53f1c632c
Fix 32-bit compile warning
2016-09-05 20:53:23 +02:00
baldurk
33b0a7f93b
Compile fixes for VS2015 on appveyor - variable shadowing warnings
2016-09-05 20:38:01 +02:00
baldurk
78ef96b2e7
Set up capturing to flatten/deinterleave deferred context recording
2016-09-05 20:12:40 +02:00
baldurk
1bd55068e3
Remove workaround for UpdateSubresource add deferred contexts on replay
...
* It's still needed during capture, but we no longer replay on deferred
contexts, so the bug will not be triggered anymore.
2016-09-05 20:12:40 +02:00
baldurk
bef02d3081
Don't make FinishCommandList/ExecuteCommandList setmarker events
2016-09-05 20:12:39 +02:00
baldurk
aa55426cbb
Enable 'debug text' and set chunk lookup on flattened serialiser
2016-09-05 20:12:38 +02:00
baldurk
b36475cf9c
Remove now-unused functionality, context filter and deferred events
2016-09-05 17:55:12 +02:00
baldurk
c4784c4f6b
Add de-interleaving and flattening of deferred context captures
2016-09-05 17:33:32 +02:00
baldurk
7566f9baf0
Comment out #extension GL_ARB_derivative_control if GLSL 450 isn't there
2016-09-05 14:05:24 +02:00
baldurk
6544fb3470
Fix GL function pointer debug printing, loop was using wrong counter
2016-09-05 14:05:08 +02:00
baldurk
2f2afa820b
Add new chunk to store the params to IDXGISwapChain::Present. Refs #356
2016-09-05 13:33:17 +02:00
baldurk
68cb108995
Only warn about no connection to delete/save for non-local captures
2016-09-05 13:25:26 +02:00
baldurk
e39209c194
Don't try and read values from NULL, use implicit 0s. Refs #347
2016-09-05 13:08:20 +02:00
baldurk
1a2b2cca85
Mark resources as dirty when possibly written to in command buffers
2016-09-05 12:54:01 +02:00
baldurk
a85c5f6a27
Add VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT if not already there. Refs #345
2016-09-02 18:25:55 +02:00
baldurk
6d14b187c6
Give the drawcall column a range as well (min-max drawcall ID)
2016-09-02 18:01:48 +02:00
baldurk
9acd1777cd
Fully initialise structure
2016-09-02 14:48:07 +02:00
baldurk
cec838fe5d
Print more useful error message for unexpected cbuffer types
2016-09-01 17:54:30 +02:00
baldurk
f0d4547480
Don't try and bind a non-layered texture with a specific layer to an FBO
2016-09-01 17:45:57 +02:00
baldurk
e83bb9d7e9
Look up a real Window from a GLXWindow so we can do XGetGeometry
2016-09-01 17:45:57 +02:00
baldurk
20c6a461bb
Make sure to export the full GLX API set of functions
...
* This helps fix capture on glfw on linux
2016-09-01 17:45:57 +02:00
baldurk
e96f980e66
Handle renderpasses with implicit attachment transitions. Closes #212
...
* We need to make sure we track these transitions, both during capture
(so we have the right initial image states at frame begin), and during
replay.
* Likewise when repurposing a renderpass for isolating a drawcall, we
need to make sure the image layouts aren't transitioned - especially
from UNDEFINED - otherwise we'd end up with garbage data.
2016-09-01 17:45:57 +02:00
baldurk
9c0f20c6b0
Take parameter as const to emphasise that it's read-only
2016-09-01 17:45:57 +02:00
baldurk
f873ac57be
Comment out mostly harmless assert that first on UE4 constantly
2016-09-01 17:45:57 +02:00
Baldur Karlsson
87cd2b43f0
Merge pull request #343 from michaelrgb/master
...
Fix replaying on 32bit ARM devices.
2016-08-31 22:36:21 +02:00
Michael Rennie
0ab8627353
Fix deserialising uint64_t on 32bit ARM device.
2016-08-31 18:06:04 +01:00
Michael Rennie
8a5efd8c8d
Handles are typed on 32bit, so cant take pointers.
...
"error: passing NULL to non-pointer argument"
2016-08-31 17:56:10 +01:00
baldurk
5715731894
Prompt to add if an env var is being edited when the dialog is closed
2016-08-30 17:54:21 +02:00
baldurk
1faf46ddc5
Handle StaticExports.GetVersionString() being missing
...
* If the user is somehow running a really new UI with old DLL, handle
the exception and continue to allow the user to update without
crashing.
2016-08-30 17:37:06 +02:00
baldurk
bb5f8c9bec
Pick up UAV byte address buffers when guessing resources. Refs #342
2016-08-30 17:25:33 +02:00
baldurk
b6c4e3c612
Don't trash view from tag, to avoid aliasing multiple views of same buf
2016-08-30 17:05:16 +02:00
baldurk
6a7ccb9670
Check if views have the raw flag first before checking struct size
2016-08-30 16:58:39 +02:00
baldurk
fb418f883e
Add a button to pipeline state view to save shader raw contents to file
...
* The exact contents depend on the API - on D3D11 this is the bytecode
blob, on Vulkan it's the SPIR-V. On OpenGL it is just a concatenation
of all the source files passed in sequence.
2016-08-30 16:43:52 +02:00
baldurk
c587e24509
Add documentation of network capture & replay workflow
2016-08-30 14:39:04 +02:00
baldurk
4c3dc549d1
Remove mention of beta builds
2016-08-30 14:38:45 +02:00
baldurk
4573c9c20f
Update docs of in-application API to 1.1.1
2016-08-30 14:38:35 +02:00
baldurk
226ce7a5ce
Remove line about missing features that are now implemented
2016-08-30 14:38:07 +02:00
baldurk
8ad29b1bce
Add documentation for local-replay option
2016-08-30 14:37:42 +02:00
baldurk
a35c88e577
Close some minor UX holes when live-connected but without replay context
...
* If there's no replay context we can still use the live connection to
copy and delete captures remotely. Try to use that whenever possible
and warn the user when it's not possible (i.e if the program has been
closed and there's no replay context, we have no way to access the
files anymore).
* If the user tries to open a remote log without a replay context,
prompt them either to swithc to a replay context on that host or to
save the log locally.
2016-08-30 11:55:36 +02:00
baldurk
279aa72064
While cross-compiling, force a host-side build of include-bin
2016-08-30 10:49:23 +02:00