Commit Graph

7343 Commits

Author SHA1 Message Date
baldurk c880def5ef Check that capture's enabled physical devices are available on replay
* This will fail more gracefully than the logical device failing to
  create.
2018-05-08 11:21:29 +01:00
baldurk a461df2b58 GL non-sharing context support 2018-05-08 11:10:32 +01:00
baldurk 0f3f822597 32-bit compile fix for tinyexr 2018-05-07 19:27:04 +01:00
baldurk 706b258bd4 Remove use of std::to_string in Catch2 for the sake of Android 2018-05-07 19:25:16 +01:00
baldurk 5d0fede646 Add a note to CONTRIBUTING.md pointing users to interceptor-lib README 2018-05-07 18:42:26 +01:00
baldurk 6e57e17f8e Update tinyexr to 9b30f253 - latest as of the time of this commit 2018-05-07 18:42:26 +01:00
baldurk 314393e412 Declare zlib compatible interface in miniz.h so tinyexr.h can use it 2018-05-07 18:42:26 +01:00
baldurk 909d2fae48 #if out wchar versions of miniz functions to only windows 2018-05-07 18:42:25 +01:00
baldurk d602d9d6d2 Update pugixml to v1.9 2018-05-07 18:42:25 +01:00
baldurk e47f2494e4 Update tinyfiledialogs from v2.7.2 to v3.3.5 (Apr 18, 2018) 2018-05-07 18:42:25 +01:00
baldurk 4232736fc2 Make some custom changes to Catch2 for a better experience
* Add CATCH_CONFIG_FORCE_FALLBACK_STRINGIFIER to force use of ToStr in
  all cases. We can handle ints, etc, we don't need ostringstream, and
  this allows us to handle enums that would otherwise just be printed as
  their integer value.
* Add CATCH_CONFIG_INLINE_DEBUG_BREAK which restores the Catch 1.0
  behaviour of debugbreaks happening in macros and so in-line at the
  actual site failure. So the debugger stops on the CHECK() or REQUIRE()
  call instead of inside AssertionHandler::complete()
2018-05-07 18:42:25 +01:00
baldurk 2f0ff69faa Update Catch to v2.2.2
* This allows us to use ToStr as a stringifier
2018-05-07 18:42:25 +01:00
Cody Northrop 577769ecc2 Small updates to interceptor-lib build steps 2018-05-07 18:42:09 +01:00
Josh Groves 8d9193aef8 Correct typo 2018-05-06 19:39:55 +01:00
baldurk e96f290772 If a method is found in a superclass, filter on that class not a child
* This could cause a matching event to never happen, if we filtered on
  MethodEntry on the child class, but the method we wanted was on a
  superclass.
2018-05-04 17:44:23 +01:00
baldurk 4d004fe484 Location is correctly a classID and methoID, not two objectIDs 2018-05-04 17:44:21 +01:00
baldurk 3380379aac Fix copy-pasted tooltips mistakenly saying "Save Shader SPIR-V" 2018-05-04 13:36:43 +01:00
baldurk 2402ac7fa0 Add version checking to serialiser 2018-05-04 12:51:51 +01:00
baldurk 4023bf75d8 Patch resource usage for secondary draws at execute time. Closes #975
* Once we hit vkCmdExecuteCommands we know the renderpass and
  framebuffer that are used with the secondary command buffer, so we can
  process the added draws and add resource usage to them.
2018-05-03 17:10:59 +01:00
baldurk e65bc4506e Don't unwrap DSV that should be passed through as wrapped 2018-05-03 16:26:54 +01:00
baldurk 70f879ad7a Export AmdPowerXpressRequestHighPerformance to encourage use of dGPU 2018-05-03 15:35:01 +01:00
baldurk 2c084b478e Don't divide by zero if texbuffer comes back with unknown format 2018-05-03 15:34:53 +01:00
baldurk b1008ceb82 Add index buffer binding offset to byte offset when opening buffer view 2018-05-03 14:25:37 +01:00
baldurk 644217bcbf Workaround for QTBUG-14949, eliding multi-line itemview items breaks 2018-05-03 12:35:49 +01:00
baldurk b8ffc1c79f Make sure to quote the subject when emailing 2018-05-03 09:49:12 +01:00
baldurk 6c68853ef7 Fix vulkan structured export, don't call frame terminator 2018-05-02 20:59:31 +01:00
baldurk 6258f031da Repoint travis to new scripts location 2018-05-02 18:46:13 +01:00
baldurk c7432fb535 Mark scripts under util/ folder as executable 2018-05-02 18:18:08 +01:00
baldurk 7cccf4f765 Commit build and packaging scripts 2018-05-02 17:33:56 +01:00
baldurk e91116706c Move scripts/ folder to util/ 2018-05-01 18:53:03 +01:00
baldurk 3b5b0081ab Update 3rdparty ADL and RGP repositories from upstream
* ADL is updated to common-lib-amd-ADL @ 04b97aa31
* RGP is updated to DevDriverTools @ 7772fd0f
2018-05-01 18:38:14 +01:00
baldurk 08e1c30f5a Whitelist device group extensions that were forgotten 2018-05-01 18:38:14 +01:00
Jason Ekstrand 606cc3a066 Remove a pointless const
Having the extra const makes no sense on an r-value and makes GCC8
unhappy.
2018-05-01 18:38:05 +01:00
scottmarsland b849df4143 Fixed looping through of eglCreateContext's attribute list
I fixed an issue in the looping of eglCreateContext's attribute list where it was going until the attribute name was 0 instead of EGL_NONE.
2018-05-01 18:37:51 +01:00
baldurk e51466efe1 Ensure we AddRef when returning an existing ID3DDeviceContextState
* Fixes a crash with Firefox and other D2D using applications.
2018-05-01 14:47:01 +01:00
baldurk f339314468 Handle SHGetKnownFolderPath failing - return empty string
* The calling code will handle this as an unknown path and fail upwards.
2018-05-01 14:46:33 +01:00
baldurk 6a482c02e2 When doing backface cull overlay, inherit FrontCCW from original state 2018-05-01 13:06:33 +01:00
baldurk 8b50413bf4 Report support for Vulkan 1.1. Closes #909
* We handle non-suffixed promoted functions but assume that calling
  forward to either the promoted function or the old KHR extension is
  equivalent.
* By this nature we won't record which function the user called, be that
  extension or promoted, it will just be reported as the core function.
* Remove KHR suffixes from function names, enums, etc for promoted
  extensions when serialising/stringising.
2018-05-01 12:36:05 +01:00
baldurk de4764d6d2 32-bit windows compile fix 2018-04-30 21:45:20 +01:00
baldurk 6d870e21b0 Android compile fix 2018-04-30 20:11:07 +01:00
baldurk f1307e7935 Linux compile fixes 2018-04-30 19:44:53 +01:00
baldurk b7ab28a2c4 Add stringification for new bits in vulkan flag enums that had no bits 2018-04-30 19:07:40 +01:00
baldurk deab822e30 Add support for protected memory, new in Vulkan 1.1 2018-04-30 19:07:07 +01:00
baldurk 7961b25e80 Add support for VK_KHR_multiview extension 2018-04-30 18:37:12 +01:00
baldurk d03df4d1a9 Add support for VK_device_group & VK_device_group_creation 2018-04-30 18:31:47 +01:00
baldurk bfe021cf73 Add (mostly disabled) support for VK_KHR_sampler_ycbcr_conversion
* We report no support for Ycbcr conversions by snooping the physical
  device feature query.
* Just to be safe, we support pass-through/ignore implementations of
  most of the functions and pNext structs.
2018-04-30 16:41:46 +01:00
baldurk 35945863df Update vulkan layer to implement vkNegotiateLoaderLayerInterfaceVersion 2018-04-30 14:16:51 +01:00
baldurk 49ea4dd8e3 Add support for VK_EXT_debug_utils extension 2018-04-30 13:52:17 +01:00
baldurk 9b2e515be5 Fix UBO state display wrt/ GL reflection re-sorting. Closes #965 2018-04-30 11:42:41 +01:00
Jake Turner cae6b44a97 Fix xcode9.3 -Wunused-lambda-capture errors
Disable the warning on 3rdparty files
${glslang_dir}/hlsl/hlslParseHelper.cpp

Disable the warning on files where fixing it would cause a non-OSX compile error
os/os_specific.cpp
2018-04-30 10:53:42 +01:00