Commit Graph
11131 Commits
Author SHA1 Message Date
Omar El Sheikh c15078b900 Added Scoped Storage Support for Android
Updated permissions for the renderdoccmd app based on which version of
android the app is running on
**WRITE_EXTERNAL_STORAGE for <R
**MANAGE_EXTERNAL_STORAGE for >=R

Updated the Java portion of renderdoccmd to check/request the correct
permission based on android version

Changed the file path for renderdoc files on Android based on the
version of Android the connected device is running
**/sdcard/Android/data/$PACKAGE_NAME for <R
**/sdcard/Android/media/$PACKAGE_NAME for >=R
2020-07-09 14:29:41 +01:00
Aliya Pazylbekova efafd0b766 Vulkan Pixel History: add high level comments 2020-07-07 18:15:09 +01:00
baldurk f8326b9149 Accept VS reformatting of vcxproj 2020-07-06 17:29:21 +01:00
baldurk da512e172f Respect existing types for primitive ID/sample ID when shader debugging 2020-07-06 17:29:00 +01:00
baldurk 3b6cfd4926 Add some more marker regions for self-hosted captures 2020-07-06 17:26:21 +01:00
baldurk 9f2fdd6d64 Show view in vulkan pipeline state view when significant 2020-07-06 13:27:10 +01:00
baldurk 3f089b0c92 Don't treat binds with 0 stageMask as completely empty
* We can still highlight them as empty the same as we do for insufficiently
  sized constant buffers, but we should display the proper resource contents.
2020-07-06 13:26:49 +01:00
baldurk 5aed791c13 Don't mark unused binds with 0 stageFlags
* It's a reasonable mistake for someone to have a bind they care about with 0
  stageFlags
2020-07-06 12:16:17 +01:00
baldurk 5891a950ca Add option to dump bindless feedback shaders 2020-07-06 12:15:33 +01:00
baldurk c10089c94b Invert y display for vulkan with negative viewport height. Closes #1971 2020-07-06 11:20:23 +01:00
baldurk 02c1669a4d Better handle failures inside nested test sections 2020-07-06 11:14:02 +01:00
baldurk 97ea5df002 Fix tracking of topologies during load for drawcalls 2020-07-06 10:47:00 +01:00
baldurk 4b7e1babc3 Force inline subpass contents when replaying outside of normal flow 2020-07-03 19:55:51 +01:00
baldurk 75020628a4 Only read exactly the right number of bytes for SPDB file data 2020-07-03 19:19:28 +01:00
baldurk 02ece87e9f Fix natvis display for heap-allocated rdcstr capacity 2020-07-03 19:19:08 +01:00
baldurk 6b2bfdb3a9 32-bit compile fix 2020-07-03 17:18:31 +01:00
baldurk 35854957db Add support for VK_EXT_extended_dynamic_state 2020-07-03 15:43:00 +01:00
baldurk dd8c63d13c Don't lock around calling RunCommand(). Closes #1970 2020-07-03 13:02:06 +01:00
baldurk acd53cba72 Fix unsigned/signed comparison with new VK_MAKE_VERSION 2020-07-02 18:14:34 +01:00
baldurk 4c885f0ebf Update official vulkan headers to 1.2.145 2020-07-02 17:40:21 +01:00
baldurk c8d75f57d9 Fix remote server version calculation 2020-07-02 17:19:07 +01:00
baldurk c7f3f3a54f Use precise occlusion queries where possible
* Since we only want boolean results this shouldn't be necessary but it may work
  around some driver issues and give more reliable results.
2020-07-02 15:35:11 +01:00
baldurk ceb20f11cb Make pixel history test more forgiving with comparison epsilon 2020-07-02 15:10:02 +01:00
baldurk aa3fda9baa Fix DXIL check to work on any dxc version 2020-07-02 10:07:42 +01:00
baldurk 904c29e5eb Mac compile fix 2020-07-01 22:17:36 +01:00
baldurk 46552fa03f Fix VK_Shader_ISA test to work on radv 2020-07-01 18:09:24 +01:00
baldurk ef6439dd47 Add missing vulkan tests on linux demos project 2020-07-01 18:09:24 +01:00
baldurk 180b61ab61 Ensure implicit thread detection is turned on always on linux 2020-07-01 18:09:24 +01:00
baldurk b26fdae758 Ensure aggressive dead-code stripping doesn't break tests 2020-07-01 18:09:24 +01:00
baldurk c11b147c42 Allow building windows extensions on linux
* This is primarily for the benefit of VK_EXT_full_screen_exclusive in wine
2020-07-01 18:09:24 +01:00
baldurk 05c48b44a1 Handle unknown pNext structs more gracefully in serialisation
* It's illegal for an application to pass an unknown pNext struct since they
  must correspond to enabled extensions and we disallow all unsupported
  extensions.
* Rather than crashing or corrupting the serialisation though we strip and don't
  serialise the extension struct. This may or may not succeed but the
  application is already in undefined territory.
* When we encounter an unsupported extension on replay this cannot be handled
  since we don't know how to skip its serialisation. This becomes a fatal error.
2020-07-01 18:09:24 +01:00
Steve Karolewics 270700c290 Fix reporting of DXC errors in test app
Fallback to compiling without -Qembed_debug if it fails, to support
older Windows 10 SDKs
2020-07-01 10:45:40 +01:00
baldurk 310f1d05b8 Remove debug log 2020-06-30 22:34:13 +01:00
baldurk d2557d3966 Fix linux compilation 2020-06-30 21:53:32 +01:00
baldurk 95a2dc1887 Always print the draw count for indirect draws 2020-06-30 13:09:17 +01:00
baldurk e5e9a9c94b Use QDoubleSpinBox for partial 64-bit int support. Closes #1952
* Actually creating a 64-bit spinbox is not feasible without constructing it
  almost from scratch due to how much QAbstractSpinBox depends on private
  internals that can't be overridden. Instead use a QDoubleSpinBox with no
  decimals since we don't need the full 64-bit range, and the mantissa of a
  double is enough.
2020-06-30 12:34:52 +01:00
baldurk f238428d81 Fix parsing of command lines with nested quotes and empty parameters 2020-06-29 19:08:39 +01:00
baldurk 113c6f35ae Add ALLOW_DEPTH_STENCIL to array textures copied to MSAA. Closes #1960
* Nothing seems to suggest that this is necessary technically and there are no
  validation errors, but without this flag sampling from the array texture
  causes DEVICE_HUNG on nvidia GPUs.
2020-06-29 18:34:07 +01:00
baldurk 767f123c73 Handle debug search paths on D3D12 correctly
* We also need to unwrap the needless PDB wrapper on MS's separate debug info
  setup.
2020-06-29 18:34:07 +01:00
baldurk dfc82b3bd2 Prevent debugging graphics stages if no drawcall is selected 2020-06-29 18:34:07 +01:00
Karanlos e68719b5f6 Pipeline barrier for Gather and MathOp value fetching. 2020-06-29 13:11:06 +01:00
baldurk 6d23e59aa6 Support specifying next chain to instance creation, and inst extensions 2020-06-29 13:10:51 +01:00
baldurk 81e99a71c5 Strip validation extensions from replay 2020-06-29 13:10:51 +01:00
baldurk ed7d774fd4 Fix crash opening non-buffer-backed unused constant buffers 2020-06-29 13:10:50 +01:00
baldurk 586676ff38 Ensure android build happens with our SDK 2020-06-29 13:10:50 +01:00
baldurk ce908cf1da Fix compilation with old dxc
* -Qstrip_debug without -Zi will fail to build completely, so omit it and we
  will get what we want (no debug info).
2020-06-20 10:06:42 +01:00
baldurk e7cf9115ee Add <MakeDir> before invoking dxc 2020-06-19 20:09:27 +01:00
baldurk 274e735428 Don't pass rdcstr through varargs 2020-06-19 20:09:27 +01:00
baldurk 29f54f92f6 Fix compilation on 32-bit 2020-06-19 20:09:27 +01:00
baldurk 68c8827326 Fixing missing c_str() when in-lining variable names 2020-06-19 17:48:12 +01:00