Commit Graph

7450 Commits

Author SHA1 Message Date
baldurk 569f11b757 Make sure to get eglTerminate function pointer
* Fixes 100% crash on startup introduce by #993
2018-05-26 14:41:39 +01:00
baldurk 8dd69268ba As a last fallback in replay loop, use biggest colour rendertarget 2018-05-25 18:32:31 +01:00
baldurk 1569a6f0dd Serialise all structs in pNext and discard at replay time
* Rather than not serialising structs that we aren't interested in, we serialise
  them (as best as we can in some cases) so that the information is available to
  the user. Also if in future we decide to replay them they are available.
* We also now replay dedicated allocation extension use.
2018-05-25 18:32:31 +01:00
baldurk f548846463 Report no support for protected content on Vulkan 2018-05-25 17:34:18 +01:00
baldurk 69df1348c0 Store the size of the push constant range in the vulkan pipeline state 2018-05-25 14:37:37 +01:00
baldurk b235d03701 Bump Vulkan serialise version silently
* We just need to prevent new serialised captures from being loaded in old
  versions of RenderDoc.
2018-05-25 14:21:46 +01:00
baldurk 01a31b51d8 Print error if GUIInvoke is called with NULL object 2018-05-25 14:21:17 +01:00
baldurk f493cd1ea1 Update DevDriverTools repository to be880fc81 2018-05-25 08:33:12 +01:00
baldurk 7fe45cee05 Suppress technically accurate but annoying warning about unused member 2018-05-24 23:16:38 +01:00
baldurk ec356da027 Fix accidentally copy-pasted docstring 2018-05-24 22:50:43 +01:00
baldurk 9702d214c0 Fix GCC8 compile warning 2018-05-24 21:53:42 +01:00
Amit Prakash c82ff2de93 Move DX12 debug layer flag out of common code
Change-Id: I5c0a80c772b470be7970abe428cfd2f7a7ea17dd
2018-05-24 21:42:30 +01:00
Amit Prakash 288e0239c2 Fix Baldur review
Change-Id: I4430d0ec658ec9859226086a879c3e134a20b5e4
2018-05-24 21:42:30 +01:00
Amit Prakash 6cf36322c1 Add GPA-v3.0
* Currently GPA is disabled for DX12 debug version

Change-Id: Id942f32c809e30e502f7513b03b72e4a9dbec0a7
2018-05-24 21:42:30 +01:00
baldurk 6c8789723c Gracefully error if vulkan device fails to create 2018-05-24 21:42:30 +01:00
baldurk c6ae93e1c7 Expose raw pushconstants values as part of vulkan pipeline state
* Not used directly in the UI, but can be useful for script access
2018-05-24 21:42:30 +01:00
baldurk 66d29073e7 Add simple wrapper implementation of DXGI 1.6. Closes #864 2018-05-24 21:42:30 +01:00
baldurk 246e379c52 Update to D3D11.4 interfaces. Refs #864
* This is just a pass-through implementation as fences do not have to be
  serialised.
2018-05-24 21:42:30 +01:00
baldurk 1e5ffb4dff Update official DXGI, D3D11, D3D12 headers to latest 2018-05-24 21:42:29 +01:00
baldurk 858b02480b Pass command-line args as 'intent args' when launching apk. Refs #987 2018-05-24 21:42:29 +01:00
baldurk 24d8e2f18a When running processes, change env vars before launch. Closes #989
* When we inject we still change the env vars on injection after the fact, but
  changing the env here allows PATH to change before the program starts.
2018-05-24 21:42:29 +01:00
baldurk 76b51e3acf Ensure back compat with D3D11 captures saved with omitted init states 2018-05-24 21:42:29 +01:00
baldurk 206e0f1188 Add quality-of-life/convenience accessor functions to SDObject 2018-05-24 21:42:29 +01:00
baldurk 53be1d3509 If Android build is skipped due to an error, print it to the terminal 2018-05-24 21:42:29 +01:00
baldurk 40544a59dc Pass a description to signtool when signing
* This is used when the MSI installer runs and generates a temporary file for
  the UAC prompt, so it will display "RenderDoc" instead of "hj782.msi".
2018-05-24 21:42:29 +01:00
baldurk 929bd3af49 Properly zero-initialise local variable 2018-05-24 21:42:29 +01:00
tabi.katalin d2cdca45a5 Fix bad alloc error when creating window surface
The screen doesn't refresh when changing between captures during replay on remote Android device because it fails to display the splash screen and the new preview window.
2018-05-24 10:45:46 +01:00
baldurk 9e3a454a18 Unwrap resources passed to IDXGIDevice::Reclaim/OfferResources* 2018-05-23 22:29:05 +01:00
baldurk 6cfdd09774 Allow specifying a NULL bytecode with a non-0 bytecode length
* Apparently D3D12 warns about this but still creates the PSO
2018-05-23 19:29:10 +01:00
baldurk ebe7ffca80 Don't divide by zero when picking if a vertexbuffer has a stride of 0 2018-05-23 17:39:53 +01:00
baldurk b3bc00738d Don't enumerate window titles when we just need a list of PIDs 2018-05-23 17:28:56 +01:00
baldurk ab9a212b8d Update qprocessinfo to 0d591f19f17805d65ef4880c3fc51021523003df 2018-05-23 17:28:42 +01:00
baldurk 0a041601f8 Update toolwindowmanger to d602babc98639c5d8206f1667f95062b2f3709fc 2018-05-23 17:22:18 +01:00
baldurk df6a95edf0 For backwards compatibility, bind fake backbuffer FBO instead of 0
* In newer captures we should always serialise an actual correct ID for the
  backbuffer, but in older captures an empty resource ID will be serialised, so
  we should pick this up and bind the backbuffer.
2018-05-23 17:08:39 +01:00
baldurk 6e3a173c7f Fetch ordinal names if we emergency-fetch module in GetProcAddress 2018-05-23 16:08:44 +01:00
baldurk 851a88133a Remove the 'save all initials' option. Behave as if it's always enabled
* This option has always been a mixed bag - when originally written captures
  weren't compressed at all so saving the cost of a initial contents on a
  gbuffer would have a significant savings.
* Now with compression the savings are lesser, and it's a source of
  bugs/confusion for the case where either a bug is caused by leaking data from
  the previous frame or worse still the contents are discarded incorrectly.
* D3D11 will now behave as the other APIs will - saving initial contents
  whenever needed even if they seem like they might not be used.
2018-05-23 16:08:44 +01:00
baldurk 54ce79d8ae Don't change an already sized internalformat. Closes #990 2018-05-23 16:08:44 +01:00
baldurk 921d5b7266 Fall back to using PLT hooking on android if interceptor-lib fails
* This started happening recently with eglSwapBuffers for unknown reasons.
2018-05-23 11:22:06 +01:00
baldurk 474491c991 Fix missing close-bracket on vkCmdDispatchIndirect name 2018-05-18 09:31:52 +01:00
baldurk d90d1d81e6 Handle empty/no value defines in command-line HLSL definitions 2018-05-17 15:04:40 +01:00
baldurk 85b35cd352 Set usage panel in resource inspector to auto-resize columns to fit data 2018-05-17 15:04:40 +01:00
baldurk f8ced4c0ee Update SPDB handling to use cvinfo, and store more/better data
* This gives us local ranges accurately, as well as fixes bugs with not
  getting inline sites. Closes #969
2018-05-17 15:04:40 +01:00
baldurk e4a15d0ecb Don't discard short lines (particularly closing braces) 2018-05-17 15:04:26 +01:00
baldurk e4dcfb7c28 ReadVarLenUInt is available as CodeViewInfo::CVUncompressData 2018-05-17 15:04:26 +01:00
baldurk 941c307e86 Minor changes to cvinfo.h to compile cleanly 2018-05-17 15:04:26 +01:00
baldurk 80724f7130 Add cvconst.h / cvinfo.h from microsoft-pdb repository for SPDB decoding
* This will be used to replace/improve the old reverse-engineered decoding.
2018-05-17 15:04:26 +01:00
baldurk df0246ab68 Remap SPDB line-numbers after sorting filenames 2018-05-17 15:04:23 +01:00
baldurk 7b686d0105 Split SPDB/SDBG processing out into separate files 2018-05-17 01:36:06 +01:00
baldurk bf09eb59a3 Update DevDriverTools repo to 21c93b7230c4188 2018-05-17 01:36:06 +01:00
baldurk 72eb734964 Correctly pass selected primitive to DebugPixel from pixel history 2018-05-17 01:35:26 +01:00