Commit Graph

9483 Commits

Author SHA1 Message Date
baldurk 702c7cf093 Add use of ReplayOptions to python API examples 2019-09-18 13:04:38 +01:00
baldurk 7831a42ccc Fix vulkan handling of ETC2_EAC_RGBA8 to properly encode ResourceFormat
* We consider ETC2 to be the base RGB profile, optionally with punch-through
  alpha, so compCount and type gives those formats. EAC covers R11, RG11, and
  then the RGB8 + A8 mode, which is again disambiguated with compCount and type.
2019-09-18 12:41:44 +01:00
baldurk a237200cef Fix NULL being included in marker in D3D12 test 2019-09-18 11:18:38 +01:00
baldurk 62b9245215 Calculate basename by hand, for windows paths on linux 2019-09-18 11:18:28 +01:00
baldurk 52e4c6db70 If we hit EINTR in a blocking recv/send, retry instead of failing
* blocking send/recv will not be resumed after a signal handler no matter what,
  so we need to retry ourselves. This does mean extending the timeout but that's
  fine since it would be pathological to have EINTR continually arrive and
  extend the timeout to an unreasonable duration.
2019-09-18 11:01:40 +01:00
baldurk 8060693188 Fix byte address buffer access in shader debugging 2019-09-17 14:08:48 +01:00
baldurk c64183fbb3 Update toolwindowmanager to edce1185 2019-09-17 13:56:54 +01:00
baldurk 6d282f90d9 rename TEST macro to un-confused visual assist
* Visual assist comes with a pre-defined interpretation of TEST() for
  googletest, which conflicts with ours. We can't seem to override it with a
  va_stdafx.h even
2019-09-17 12:40:00 +01:00
baldurk a6aa0ac5d0 Handle other ignored garbage substates in vulkan graphics PSO creation 2019-09-17 12:02:37 +01:00
baldurk 3005172aa5 Tweak the phrasing of crash dialog to better explain what happened
* In particular make it clear that crashes caught in the injected program may or
  may not be a RenderDoc bug. Even if we could point the finger to a particular
  DLL we can't necessarily tie that DLL to the responsibility of either us or
  the application.
2019-09-17 11:43:01 +01:00
baldurk 6cee53a36d Fix out of bounds access on invalid SPDB inline data 2019-09-16 21:27:21 +01:00
baldurk f3220bd6fb Use more stable clear color for comparison
* We need to allow for off-by-one errors in our color comparisons
2019-09-16 18:50:01 +01:00
baldurk 5e32e92205 Remove grey-area glShaderSource calls
* These crash on AMD and it's still unclear if they are spec legal.
2019-09-16 18:40:43 +01:00
baldurk 0b276673b6 Pick random target to pixeldebug in Iter_Test
* We also make sure that if we go back to a previous event to debug, that we
  look up the right output corresponding to where it's bound there (since it
  might be bound to a different slot).
2019-09-16 18:34:23 +01:00
baldurk 109803781c Don't flush register values used for indirect access 2019-09-16 18:34:23 +01:00
baldurk bbb7270ccd Handle binding NULL pViews array, interpret it as unbinding all views 2019-09-16 18:34:22 +01:00
baldurk 03e00ea12d If there are no UAVs bound, don't try to set invalid UAVStartSlot 2019-09-16 17:27:41 +01:00
baldurk ea3e83609b Remove GCN ISA files from 32-bit installer
* This is no longer supported upstream
2019-09-16 12:49:42 +01:00
baldurk 383a2060a6 Update generated SPIR-V code to SPIR-V 1.5 2019-09-16 12:13:52 +01:00
baldurk 71004ac9c2 Update vulkan headers to 1.1.123, support new extensions
* Supported extensions: VK_AMD_device_coherent_memory,
  VK_KHR_shader_subgroup_extended_types, VK_GOOGLE_user_type
2019-09-16 12:06:56 +01:00
baldurk 9463cdf785 Add better error checks and race condition protection in crash handling 2019-09-16 11:18:30 +01:00
baldurk 01fb4fd793 Test overlay with negative viewport height from KHR_maintenance1 2019-09-13 17:33:48 +01:00
baldurk dff2583db3 Add tests for specific parameters 2019-09-13 17:33:48 +01:00
baldurk a2df78369c Add test of denormal flushing to D3D11 shader debug zoo 2019-09-13 17:33:48 +01:00
baldurk e4d78e8f2b Skip empty descriptor writes from templates when applying 2019-09-13 17:33:48 +01:00
baldurk d71b15115c Add additional proteciton & testing of unbound images in vulkan 2019-09-13 17:33:48 +01:00
Hanif A 0558e9a644 Spelling error 2019-09-13 15:47:56 +01:00
baldurk 659aaae047 Fix handling of UAVStartSlot above max RTV count 2019-09-11 14:41:08 +01:00
baldurk d9acded76c Add indirect buffer bit to our own internal indirect buffer 2019-09-11 09:36:50 +01:00
baldurk 07269b9693 Don't full replay vkCmdExecuteCommands if we're only doing a single draw 2019-09-11 09:36:36 +01:00
baldurk 173a2684e5 Fix replaying of executed secondary command buffers 2019-09-10 18:32:23 +01:00
baldurk 93be77f35d Add some better handling and messages for errors in intel D3D11 counters 2019-09-10 18:32:23 +01:00
baldurk 554b96d619 Process VK_WHOLE_SIZE before marking memory as referenced 2019-09-10 18:32:23 +01:00
Aliya Pazylbekova 2ef06d3f6f Add support for GOOGLE_display_timing extension 2019-09-10 18:32:13 +01:00
baldurk b7d78d8e07 Allow EGL functions to be missing on replay if we don't need them 2019-09-10 13:41:08 +01:00
baldurk 764f294d75 Allow displaying fatal messages from android logcat 2019-09-10 13:31:56 +01:00
Cody Northrop 24fb676aa1 android: Switch to GLES layer on Android Q 2019-09-10 13:23:57 +01:00
Cody Northrop b2ef4884e0 android: Remove android:process from GetExecutableFilename
In Android Q, apps that use android:process will have a colon and
text in the result of cmdline, breaking the intent of the function.

https://developer.android.com/guide/topics/manifest/service-element#proc
2019-09-10 11:16:02 +01:00
baldurk ecb704f014 Put vulkan pixel history file into right filter 2019-09-10 11:15:57 +01:00
baldurk aa791d3306 Fix handling of unbound descriptor sets, assume statically not used 2019-09-09 11:19:08 +01:00
baldurk 8fb2f359ff Handle GL_SRGB and GL_SRGB_ALPHA as a base format
* This doesn't seem to be legal but it's easy to just tolerate for buggy
  applications.
2019-09-09 11:00:29 +01:00
baldurk ba4ccca62f Don't load libEGL.dll from a global path on windows
* EGL emulators are not sufficiently stable to run RenderDoc, so we want to be
  able to fall back to EXT_create_context_es2_profile unless the libEGL.dll is
  explicitly placed in our plugin path.
2019-09-09 11:00:04 +01:00
baldurk 54291b0e29 Fix linux compilation (again) 2019-09-07 12:06:05 +01:00
baldurk 7fe044faaf Fix display of 64-bit integers in buffer viewer 2019-09-07 09:24:46 +01:00
baldurk 54f271930c Use correct draw count when replaying glMultiDraw*IndirectCount 2019-09-07 09:13:11 +01:00
baldurk 02dcd2183a Fix linux compilation 2019-09-06 23:19:38 +01:00
baldurk e1eaf07f2e Display longs as hex if xlong is used 2019-09-06 22:24:56 +01:00
baldurk a50513e561 Correctly handle long format elements 2019-09-06 22:19:28 +01:00
baldurk 9c6bfa6788 Remove static resource lists, make them members of the device 2019-09-06 22:19:28 +01:00
baldurk 1eecd56896 Fix gl prefix on function checks 2019-09-06 22:19:28 +01:00