Commit Graph
4349 Commits
Author SHA1 Message Date
baldurk 96d8502ca4 Fix android execCommand to handle path to exe containing spaces 2017-10-23 14:12:37 +01:00
baldurk 4286588ac1 D3D11 context state is cleared before executing a command list.
* Not doing this could taint the state and even cause invalid read-write
  conflicts to change bindings vs. what should happen, if a RT is left
  bound when it shouldn't, and then an SRV is bound as NULL because it
  would conflict.
2017-10-23 13:49:16 +01:00
baldurk 9a3ece6a01 Add a helper macro for obtaining renderdoc's handle from VkInstance
* Since other layers could wrap renderdoc has to use the dispatch table
  pointer as the unique identifier for API calls, not the VkInstance
  directly.
2017-10-23 13:43:38 +01:00
baldurk fe35c4e033 Don't multiply mesh output size by num instances twice in GL 2017-10-23 13:38:53 +01:00
Janos Pantos faf93fa2ac Fix reading back compressed texture data during remote replay 2017-10-23 14:28:16 +02:00
michaelrgb 378d934018 Mesh Viewer: end TF if captured app already used TF on its draw call. 2017-10-12 14:52:15 -07:00
michaelrgb 3b9b455618 Resample thumbnails to fix JPEG shear distortion if(width % 4 != 0) 2017-10-11 08:01:33 -07:00
baldurk 2f72848056 Don't pass internal GL shaders through reflection queries pointlessly
* Intel's drivers in particular seem buggy when trying to reflect
  shaders, so there's no point in reflecting shaders that aren't from
  the capture as all we do is add the potential for crashes.
2017-10-11 11:26:39 +01:00
baldurk 8f4b2a0d49 Fix handling of D3D11_KEEP_{RTs/UAVs} in some edge cases 2017-10-11 11:26:38 +01:00
michaelrgb 87a587cc98 Fix ES attrib client pointers being interpreted as buffer offsets. 2017-10-10 01:29:11 -07:00
Janos Pantos 950c27719b Restore compressed texture data while reading the capture file 2017-10-06 08:21:48 -07:00
Janos Pantos 2901c3116a Don't try to use cache for non-array textures in GetTextureData 2017-10-06 08:21:48 -07:00
baldurk 16b8a4795b Detect incompatible versions of GPA, warn and fail gracefully. 2017-10-05 12:02:33 +01:00
michaelrgb 73e41e532b Create uniform translation table from live prog instead of initial prog.
The table is used on the live program, and we have seen the driver choose
different locations in the initial program due to the TF varyings.
2017-10-05 04:01:49 -07:00
baldurk cd17180e64 Add docstring documentation for new PVRTC enum 2017-10-02 15:29:13 +01:00
baldurk 554116eee4 Update AMD project to match moved/renamed files 2017-10-02 15:24:27 +01:00
baldurk d0e4a81266 Tweak sleep test to be more forgiving of variances, +/- 20ms 2017-09-29 20:28:18 +01:00
Marton Tamas a018deb19f added pvrtc support 2017-09-29 12:11:16 +01:00
baldurk 2a7944fd1d When no event is found on >= search, fallback to *last* event not first. 2017-09-29 12:11:16 +01:00
baldurk 0450ea1178 Remove testStruct that should never have been committed to begin with 2017-09-29 12:11:15 +01:00
baldurk 6082c7da55 Remove use of bool32 in CaptureOptions struct. 2017-09-29 12:11:14 +01:00
baldurk 4a677ca291 Add tests for IP processing utility functions 2017-09-29 12:11:14 +01:00
baldurk 9810b4e0e6 Improve error checking in ParseIPRangeCIDR 2017-09-29 12:11:14 +01:00
baldurk d45f049763 Add some tests of threading 2017-09-29 12:11:14 +01:00
baldurk 80d8db08e8 Add tests of bit operations 2017-09-29 12:11:14 +01:00
baldurk 0347fd358d Add tests of timing functions 2017-09-29 12:11:14 +01:00
baldurk d3d35ee216 Change thread creation type to std::function to allow lambdas 2017-09-29 12:11:13 +01:00
baldurk f529c9a393 Don't use logfile FD if it's -1 2017-09-29 12:11:13 +01:00
baldurk f5f71e72bf Add tests of environment variable OS-specific functions 2017-09-29 12:11:13 +01:00
baldurk 079a149c1e Expose a couple of miniz functions publicly 2017-09-29 12:11:13 +01:00
baldurk 43a9f1fd48 Add memsets to mallocs in miniz to avoid false positives in valgrind 2017-09-29 12:11:13 +01:00
Matthäus G. Chajdas 4bd282755d Update the AMD GPA integration for GPA 3.0. 2017-09-27 08:00:06 -07:00
baldurk e9171e4d82 Consider images with external memory pNext structs to be dirty on create 2017-09-26 12:22:05 +01:00
baldurk 05c87778ea Fix native-newline printing to print atomically
* With the log append setup, printing lines and newlines separately can
  lead to them being interleaved between multiple processes writing to
  the same log.
* This way the lines in a print could still be scattered, but without
  over-allocating to modify newlines in place (which would be more
  expensive too) this can't be fixed, and both multi-line prints and
  multiple processes writing a lot of log prints are rare.
2017-09-26 12:15:51 +01:00
baldurk 8e40cabd57 Fix windows environment variable fetching to use win32 functions 2017-09-26 11:54:58 +01:00
baldurk ac77eeb98e Fix Prepend case for environment variables (!) 2017-09-26 11:54:49 +01:00
baldurk f8d7043ad0 Don't leak iconv handle 2017-09-26 11:54:25 +01:00
baldurk 5c4e21d6b5 printf fix for signed %zd formatters on 32-bit 2017-09-26 11:53:57 +01:00
baldurk 8833effbd8 Add reference to SPIR-V library in AMD library 2017-09-26 11:53:24 +01:00
baldurk 1992183e8e Add support for specifying a subfolder under the lib/ target. Refs #750
* This allows a buidler to customise from e.g. /usr/lib/librenderdoc.so
  to /usr/lib/renderdoc/librenderdoc.so - which is harmless since the
  library is 'private' and not intended to be linked against directly.
2017-09-26 11:00:17 +01:00
baldurk a9cd8c6870 Add note to error message about possible startup fault - missing DLLs 2017-09-26 10:16:18 +01:00
baldurk 3f943ea0f1 Get NULL-check the right way around in ?: operator. Refs #754 2017-09-26 10:12:05 +01:00
baldurk 6eb9969d37 Disable CMAKE_INSTALL_PREFIX message for android builds 2017-09-26 10:07:34 +01:00
Janos Pantos 8a98ba0baf Add hack for replaying ASTC textures with GL driver 2017-09-22 10:09:33 -07:00
Janos Pantos 45d67fdac2 Improve the retrieval of compressed textures on GLES 2017-09-22 10:09:33 -07:00
Cody Northrop 96e93294fa android: Update layer push to support 64-bit
The path we were using doesn't exist for arm64.  The new path
should work for all ABIs.
2017-09-22 10:08:49 -07:00
Cody Northrop 83697f4e85 android: Update server installation to allow 64-bit
This allows local arm64 builds, and should continue to work
for stable releases only containing arm32.

This also adds the "-g" flag to the install, granting all
requested runtime permissions, simplifying the user experience.
2017-09-22 10:08:49 -07:00
baldurk 4465c37fe7 Don't strip capture's device extensions away with backwards strcmp 2017-09-19 17:28:12 +01:00
baldurk 67bea64070 Make it non-fatal to be missing WSI extensions at runtime
* Instead of erroring and failing to replay a capture if WSI is not
  present when replaying even though enabled at compile time, we just
  print a warning and allow the supported windowing systems list to
  become empty.
* The UI or whichever app is controlling things must then respect this
  and not try to create any outputs. If the replay is happening
  completely headless there are then no more errors.
2017-09-19 17:28:12 +01:00
baldurk 86c3ee4086 Fixes for compiling with disabled xcb, or disabled xlib & xcb 2017-09-19 17:28:12 +01:00