Commit Graph

3113 Commits

Author SHA1 Message Date
baldurk a49b753bfe Change overlay message for platforms without keyboard input 2016-05-14 20:54:47 +02:00
baldurk d7fcdc4285 Don't #ifdef ANDROID creating RemoteAccessServerThread.
* Will need to see what the reason for this was, and either fix or find
  better way around.
2016-05-14 01:53:53 +02:00
baldurk 61ad2a6b1f Add error for unknown platforms 2016-05-14 01:53:52 +02:00
baldurk 863dc1d259 Split 'linux' os-specific code into 'posix' and then 'linux'/'android'
* And eventually probably 'apple' as well.
2016-05-14 01:53:51 +02:00
Michael Rennie 86fc393435 vkCreateDevice returned by RenderDoc vkGetInstanceProcAddr 2016-05-14 01:53:50 +02:00
Michael Rennie 771a4aecd2 Change output record directory on Android. 2016-05-14 01:53:50 +02:00
baldurk c3d30eb09a Compile fix initialising array for android 2016-05-14 01:53:49 +02:00
Chia-I Wu 3503f8a9c6 Android: Get RenderDoc compiling 2016-05-14 01:53:43 +02:00
baldurk 9c15dfc6c9 [Coverity] Don't dereference draw if it may be null 2016-05-13 23:46:44 +02:00
baldurk 5f6884c6b9 Remove copy-pasted wrong enum in API docs 2016-05-12 18:53:56 +02:00
baldurk d77108a787 Update prompting in dist.sh a bit 2016-05-12 18:53:56 +02:00
baldurk 13858088a2 When clearing multisampled images for initial states, check format
* Color and Depth images need to be cleared in different ways!
2016-05-12 07:53:11 +02:00
baldurk 68228db199 Add a "single flush validate" mode, to track device lost errors
* It tries to submit commands one at a time (except those replayed from
  the log) and flushes and checks status after each one.
2016-05-12 07:52:50 +02:00
baldurk c6b1307da5 handle a vertex buffer stride of 0 2016-05-11 08:54:27 +02:00
baldurk 76a872252c Add a set of search paths to look up when locating unstripped shaders
* This allows the application to embed/runtime set a relative path
  instead of needing an absolute path
2016-05-10 22:36:40 +02:00
baldurk 91afc2b391 Add a way for UI to pass arbitrary settings strings into the core module 2016-05-10 22:35:48 +02:00
baldurk d65bacc118 Add an editor dialog for ordered lists of items (text or paths) 2016-05-10 22:34:58 +02:00
baldurk 4beb7352b6 If filename specified is "", default to "shader" so it's not unnamed 2016-05-10 19:15:48 +02:00
baldurk ebeaa935af Implement copy-paste handlers for shader debugging reg windows 2016-05-09 22:22:37 +02:00
baldurk a08eaad93e Tighten check to match only precisely renderdoc.dll, not just a suffix 2016-05-09 22:07:56 +02:00
baldurk dfbd22de65 Remove a weird VS warning about file paths on SciLexer*.dll 2016-05-09 22:06:52 +02:00
baldurk 945f423cde Don't let the user undo the initial text added to a Scintilla editor 2016-05-09 22:00:31 +02:00
baldurk c79e4b847f Check explicitly for renderdoc.dll when ignoring hooks
* This means even an exe named "RenderDoc Test Case.exe" would be hooked
2016-05-09 21:51:57 +02:00
baldurk 281a3c93da Don't prompt to close a logfile if there's not one loaded 2016-05-09 21:50:10 +02:00
baldurk 36468bb666 Bump version information to v0.30 2016-05-08 20:52:56 +02:00
baldurk 3ba4ea4cd1 Ignore NumRTVs = 0xfffffff (D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL) v0.29 2016-05-08 19:06:47 +02:00
baldurk e65af430c5 Make sure to mark input layouts as referenced now they separate records 2016-05-08 18:59:46 +02:00
baldurk e5357d51f8 Handle NULL RTVs list without crashing 2016-05-08 18:41:15 +02:00
baldurk cf2bebadac Bump version number to v0.29 that I forgot to do earlier! 2016-05-08 16:54:42 +02:00
baldurk 37109981ce Fix tabs in file with space indentation 2016-05-08 15:34:46 +02:00
baldurk 8a94d76d22 Linux compile fix - removed file 2016-05-08 09:35:39 +02:00
baldurk 9c492bfc86 When filtering device extensions, also add our own provided extensions 2016-05-07 14:11:47 +02:00
baldurk 31f717a238 Update RenderDoc's json file to report the VK_EXT_debug_marker extension 2016-05-07 14:11:47 +02:00
baldurk 1318129a80 Fix missing multiply by sizeof(Vec4f) fetching flattened cbuffer data 2016-05-07 14:11:46 +02:00
baldurk 2553abc944 When available, use loader-provided function to set dispatch table
* Also remove SetMagicNumberOverDispatchTable, as the same effect (but
  more portable) can be achieved just by setting dispatch table on the
  wrapped object *after* wrapping, so magic number etc is copied through
  to wrapper to meet loader expectations up the chain
2016-05-07 14:11:46 +02:00
baldurk 27ae3b6fbf Remove VK_LUNARG_DEBUG_MARKER, change support to VK_EXT_debug_marker 2016-05-07 14:11:45 +02:00
baldurk feb98503fe Update vk_layer.h to the latest version 2016-05-07 10:26:32 +02:00
baldurk 074eab464f Update to latest header (2016-05-07) with VK_EXT_debug_marker extension 2016-05-07 09:59:10 +02:00
baldurk 6437137aba [Coverity] Fix uninitialised members in replay API structures 2016-05-06 23:15:42 +02:00
baldurk 2486936742 Remove assert that fires often when descriptor sets are unbound 2016-05-05 16:15:31 +02:00
baldurk 5361654bbf Add problems noticed during reading to debug messages list 2016-05-05 16:15:31 +02:00
baldurk 38cb1d796a Use the right (updated during reading) set of descriptor sets 2016-05-05 16:11:43 +02:00
baldurk 396e31850a Get the proper filename for windows callstacks (currently unused) 2016-05-05 15:44:21 +02:00
baldurk 188779e298 Add debug message catching & serialising to all relevent chunks
* i.e. any chunk that could actually become an EID and where we can get
  the debug messages before serialising (which excludes vkUnmapMemory)
2016-05-05 15:44:21 +02:00
baldurk d200af4995 Re-arrange draw functions so draw, dispatch, copy, clear are together 2016-05-05 15:44:20 +02:00
baldurk 6d73a12118 Rearrange some code for tidiness 2016-05-05 15:44:20 +02:00
baldurk 774340edf5 Save debug messages per-call in per-thread storage and serialise out
* In each entry point we declare a local variable that stays in scope
  while we call the real function, in the report callback we fill it up
  with any messages, then when serialising that function we save those
  messages and on replay restore it out and filter it all back up.
2016-05-05 15:44:19 +02:00
baldurk b3114bd21d Modify vkCreateInstance requested extensions to add DEBUG_REPORT
* This only happens if we have DebugDeviceMode enabled, but it lets us
  listen to anything the validation layers report.
2016-05-05 12:45:22 +02:00
baldurk c1651e6362 Process capture options when first setting env vars for vulkan 2016-05-04 22:11:53 +02:00
baldurk 274dbcd4ef Remove unnecessary double-calls of OnLogfileLoaded(). Refs #267 2016-05-04 21:52:31 +02:00