baldurk
bc051afbe2
Only use basePipeline* if VK_PIPELINE_CREATE_DERIVATIVE_BIT was set
...
* This prevents us from trying to read an invalid index or handle that shouldn't
be used at all.
2018-12-04 23:54:39 +00:00
baldurk
3889ecb552
Use WNetGetUniversalName to convert paths to UNC in vulkan registration
...
* If we use a mounted network drive as the JSON path but then elevate to
register, the elevated run will not get the mounted drive but the full UNC
path. This will cause renderdoc to constantly think it needs to re-register.
* Converting to UNC first gives us a baseline comparison.
2018-12-04 23:54:39 +00:00
baldurk
59f0bfeefd
Don't try to add live resource for proxy case
2018-12-04 23:54:39 +00:00
baldurk
d339874a06
Revert behaviour with cull mode not affecting texture overlays
...
* This is kind of a "damned if you do, damned if you don't" situation. If the
cullmode is wrong, having it show up as failures in depth/stencil overlays is
misleading. However if the cullmode is deliberate setting it to no-cull may
ruin the results of those overlays.
* The original behaviour of leaving cullmode as is ends up being a better
tradeoff, since at least when it is misleading you can use the culling overlay
to show the failure there. If culling is disabled it makes depth/stencil
overlays useless in situations with no recourse.
* Also add a test of a depth-clipped triangle to overlay tests
2018-12-04 23:54:38 +00:00
Alex Vakulenko
264b296b7d
Save .rdc file extthumbnail as PNG
...
In order to embed the original rendered image during the capture in its
original form, without incurring JPEG pixel artifacts, use PNG file
format for thumbnails.
Change-Id: I14ff487856949cd6f83889507e16feb4c50a40fb
2018-12-04 15:04:29 +00:00
baldurk
3233afd390
If Intel metrics device version check fails, don't call invalid function
2018-12-03 12:13:19 +00:00
baldurk
b564555538
Bump version to 1.3
2018-11-30 18:21:56 +00:00
baldurk
204724bebe
Add documentation for python extensions
v1.2
2018-11-30 16:42:49 +00:00
baldurk
fac080ab4d
Add documentation for expanded shader processing tools functionality.
2018-11-30 16:25:24 +00:00
baldurk
bbe2f36b18
Add a window title to popup for configuring shader processing tool
2018-11-30 16:20:36 +00:00
baldurk
b5a3d12133
Add hlsl_stage2 substitution to shader processing tool
2018-11-30 16:20:25 +00:00
baldurk
8b1251a8b8
Add a note to the RGP howto page to enable RGP integration
2018-11-30 16:04:01 +00:00
baldurk
0b52f0e2ea
Update docstring on RENDERDOC_GetDriverInformation
2018-11-30 15:55:39 +00:00
baldurk
91a7d45f85
Document new python version info functions
2018-11-30 15:48:42 +00:00
baldurk
a1895d8774
MSAA initial states are supported on D3D12
2018-11-30 15:41:12 +00:00
baldurk
3c43b2193c
Update docs for new verify buffer access option
2018-11-30 15:40:13 +00:00
baldurk
a0f9b8a6a1
Don't check if texture is our overlay to decode heatmap
...
* This will fail when proxying for remote replay as we have no locally-rendered
overlay. Instead ensure the overlay in the config will only be set to quad
overdraw/triangle size when rendering the actual overlay texture.
2018-11-30 15:21:16 +00:00
baldurk
6aa79f54bd
Add Nintendo Switch as supported platform to documentation
...
* Nintendo Switch support is distributed separately for authorized developers as
part of the NintendoSDK. For more information, consult the Nintendo Developer
Portal.
2018-11-30 15:21:16 +00:00
baldurk
dc584a6516
Update API versions listed as supported in FAQ
2018-11-30 11:06:43 +00:00
baldurk
a9fa2580d6
Fix build links in README.md to be always to the latest version
2018-11-30 11:06:26 +00:00
baldurk
7fb16bf797
Android seems to have broken descriptor set copies, disable
...
* We take the push descriptor path which replaces it with writes, which works
for any descriptor set as we know the current contents.
2018-11-29 18:05:48 +00:00
baldurk
a9151a8c0b
Add testing framework useful for automated testing
...
* Built entirely independently of the main renderdoc build (for now).
* Contains python scripts & framework for running tests on a renderdoc build,
which will be run nightly.
2018-11-29 14:47:20 +00:00
baldurk
7a3d84108e
Fix generation of pdbstr on WSL
...
* When C: isn't /c/ the simple sed approach doesn't work, use native_path.
2018-11-29 11:01:53 +00:00
baldurk
0c47dc4349
Update swig to renderdoc-modified-6 tag
2018-11-29 00:35:46 +00:00
baldurk
884c6bd706
Ensure we set a properly typed depth format for MSAA <-> 2D Array copies
2018-11-28 21:40:09 +00:00
baldurk
262a8fab9e
Don't call GetGPUVirtualAddress for non-buffer resources
2018-11-28 21:39:19 +00:00
baldurk
31deed61c5
Add missing vkCmdEndRenderPass in triangle size overlay
2018-11-28 20:37:49 +00:00
baldurk
6aec91eea4
Account for implicit renderpass barriers when partially replaying
2018-11-28 20:37:49 +00:00
baldurk
3e3a9570d1
Fetch implicit barriers for CmdEndRenderPass before resetting state
2018-11-28 20:37:49 +00:00
baldurk
8f51493b66
If no enabled features struct was passed, we need to insert our own
2018-11-28 20:37:49 +00:00
baldurk
7f533b6b29
Refresh window parameters on SwapBuffers as well as MakeCurrent
...
* There's no guarantee that MakeCurrent will always be called after a resize,
the same context could be activated then left active.
2018-11-28 20:37:49 +00:00
baldurk
57f4e4bf16
Fix VERBOSE_DEBUG_HOOK to compile properly when enabled
2018-11-28 15:23:29 +00:00
baldurk
cc4a48b6d6
Expand renderdoc API example code in docs slightly
...
* Show the most common use, StartFrameCapture / EndFrameCapture
2018-11-28 14:43:44 +00:00
baldurk
fca4995d6e
Add cygpath and wslpath support, wrap in bash function
2018-11-28 14:41:13 +00:00
baldurk
b147041581
Remove error emailing, just print all errors to console and exit
2018-11-28 11:21:19 +00:00
baldurk
b89a8295cf
Ignore errors from non-existent files when trying to find aapt
2018-11-28 10:43:30 +00:00
baldurk
fa1c701cdf
Fix DXGI driver version identification
2018-11-28 00:22:57 +00:00
baldurk
fb71ea1a75
Accept aapt without an extension depending on SDK setup
2018-11-27 22:39:25 +00:00
baldurk
8a6f32e384
Work around broken instance being passed to GetInstanceProcAddr
2018-11-27 17:33:40 +00:00
baldurk
400dc807af
Fix missing Win64 tag on RGP plugin in 64-bit installer
2018-11-27 12:00:04 +00:00
baldurk
4392171f7d
Skip building android on windows if existing apk is found
...
* This allows sharing the android build from linux where the result should be
equivalent (if not identical) and runs a fair bit quicker.
2018-11-27 11:28:50 +00:00
baldurk
ae895cd2ba
Make sure primitive topology is set when doing CopyTex2DMSToArray
2018-11-26 23:43:18 +00:00
baldurk
27c49d5272
Tweak code that was confusing gcc
2018-11-26 18:53:00 +00:00
baldurk
edae196981
Allow through ID3D11VideoDevice* if nvapi is allowed by the application
...
* These interfaces are needed by nvencode
2018-11-26 18:12:49 +00:00
baldurk
821e300fd8
Strip binaries inside docker instance, outside they are owned by root
2018-11-26 18:12:27 +00:00
baldurk
d9eb98ee64
Remove SPIRV-Tools timers hack, cmake option is now upstream
2018-11-26 18:12:11 +00:00
baldurk
8209b2be46
vulkan json on windows is located adjacent to renderdoc.dll, not exe
...
* This means the json is still located if we're not running this code from
qrenderdoc.exe or renderdoccmd.exe
2018-11-26 16:39:00 +00:00
baldurk
26511c546c
Make RENDERDOC_NeedVulkanLayerRegistration feasible to call from python
2018-11-26 16:39:00 +00:00
baldurk
8ed9670601
Add way to query for driver version info without replaying.
...
* This lets us print what driver is available without opening a capture, useful
for autotest logging.
* We also print the driver version & vendor on capture as well as replay for all
APIs. Previously we were only printing this reliably on replay for GL/Vulkan
but it's useful everywhere for post-mortem debugging.
2018-11-26 16:39:00 +00:00
baldurk
c4d87ef0d3
Include spirv-as and glslang in SPIR-V plugins
2018-11-23 13:43:57 +00:00