Commit Graph

7476 Commits

Author SHA1 Message Date
Remi Palandri 891b1f61ef add multi context support for GL, and VR support to select only one 2018-06-11 19:18:02 +01:00
baldurk 3fd0707641 Check for KHR_debug and ensure ClientMemoryIBO is fully created 2018-06-07 19:27:57 +01:00
baldurk 6ceccb678b Fix race in vulkan code if QueueSubmit overlaps start/end capture 2018-06-07 18:20:42 +01:00
baldurk 9b25f3948e Fix copy-paste error of shader output values in wrong places in history 2018-06-07 16:08:28 +01:00
baldurk 6e06e6f338 Mark RTVs as used when they are allocated 2018-06-07 14:49:32 +01:00
baldurk 3ffbaac987 Account for stream-out counter when calculating output size 2018-06-07 14:49:20 +01:00
baldurk 72b40769b5 Add support for D3D12 up to D3D12.3. Closes #966 2018-06-07 14:49:07 +01:00
baldurk 4de23d8d8b Fetch enough data even for odd vertex attribute offsets. Closes #1007 2018-06-05 21:08:06 +01:00
baldurk 0e826a9263 Pass -n when launching android activity to process arguments. Refs #987 2018-06-05 21:08:06 +01:00
baldurk 09f0c537bd Give client-memory buffers obvious names 2018-06-05 21:08:06 +01:00
baldurk 892bc28772 To be backwards compatible with older captures, create global fake VAO 0 2018-06-05 21:08:06 +01:00
baldurk 0c47ee322b Expand backwards compatibility check for fake FBO 0 2018-06-05 21:08:06 +01:00
baldurk c2c0433999 Fix logic/blend enabled being wrong way around on D3D12 too 2018-06-05 21:08:06 +01:00
baldurk 21b7c0265a Account for an array as the last element of an SSBO struct, when padding 2018-06-05 21:08:06 +01:00
baldurk c36b4e1ef6 Attempt to fix missing diagnostic logs in crash reports 2018-06-05 21:08:06 +01:00
Amit Prakash d838109f25 Add to enable VK_AMD_gpa_interface extension 2018-06-05 15:26:54 +01:00
baldurk fe8cbfcc8c Handle different actual indices vs. displayed indices exporting VS Out
*  For VS Out data the actual offsets may be different than displayed, so we
  calculate manually rather than querying the model for each index.
2018-06-04 20:12:27 +01:00
baldurk 66d915d68b Don't crash if GS/TES shader reflection failed to fetch 2018-06-04 20:11:39 +01:00
baldurk 1f18b2ef4e Support NULL pRootSignature when creating pipelines. Closes #997
* Seemingly if NULL, the embedded blob is used in the shaders (which must be
  present in at least one shader, and must match exactly if present in multiple
  shaders).
2018-06-04 19:23:26 +01:00
Józef Kucia a38498b32f Export unsupported GL functions on Linux.
This fixes apps which load legacy GL functions using dlsym(). Some apps
load legacy GL functions unconditionally, even if they have no intention
of calling them.
2018-06-04 10:15:11 +01:00
Józef Kucia 4d8e14f73b Use proper names for unsupported GL functions. 2018-06-04 10:15:11 +01:00
Hans-Kristian Arntzen ac3efb681e Make As*() functions const-correct. 2018-06-04 10:14:29 +01:00
Jake Turner e8c5cc7628 Fix -Wunused-lambda-capture warning errors on xocde93 2018-06-01 09:07:58 +01:00
Remi Palandri dc920abf39 add vrapi_submitframe hook back and disable vr markers if it's used 2018-05-31 09:44:48 +01:00
Remi Palandri 6768cd96ee code formatting for the glDebugInsert commit 2018-05-31 09:44:48 +01:00
Remi Palandri 83ba2e95e7 add support for VR end-of-frame markers via glDebugMessageInsert 2018-05-31 09:44:48 +01:00
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