Daniel Craig and Baldur Karlsson
b3d15996b2
Add headers required to build windows files without precompiled header
2020-01-13 13:02:46 +00:00
baldurk
dd6e409bb6
Even though Win32 only has one windowing system, it is supported
...
* Generic code may be looking for the supported window systems even on windows.
2020-01-10 14:59:14 +00:00
baldurk
b450b3ff29
Fix qrenderdoc examples for latest API
2020-01-10 14:59:11 +00:00
baldurk
259f948fdc
Combine initial image state barriers as we go
...
* Rather than forcing image states to completely split then completely merge
again when the barriers are the same but recorded per-subresource due to
previous splitting.
2020-01-10 13:23:37 +00:00
baldurk
04bc540851
Check for stale descriptor sets on compute as well as graphics
2020-01-10 13:02:10 +00:00
baldurk
bc6401f23a
Don't refresh overlay unnecessarily when it's not enabled
2020-01-10 12:55:26 +00:00
baldurk
0b9a4b0100
Add some new shader builtins
2020-01-10 11:22:20 +00:00
baldurk
cb0e8958b1
in debug builds don't include resource ID when renaming resources
2020-01-10 11:01:05 +00:00
baldurk
96ae3bddb3
Patch GLSL shaders to at least #version 130 when making separable
...
* This is needed for the out gl_PerVertex block
2020-01-10 11:00:00 +00:00
baldurk
62911e56e9
Handle vertex shaders with no outputs in GL transfrom feedback
...
* We just skip the VS out entirely and make sure we still process any
geometry/tessellation (which could generate output from no inputs).
2020-01-10 10:47:18 +00:00
baldurk
d9a39d96da
Fix 32-bit compilation
2020-01-09 19:32:06 +00:00
baldurk
284da79a62
Enable VK_KHR_separate_depth_stencil_layouts support
2020-01-09 17:57:19 +00:00
baldurk
f68a5b9195
When enabled, track depth and stencil aspect layouts separately
2020-01-09 17:57:19 +00:00
baldurk
f95cd087ee
Fix replay of vkCmdBeginRenderPass as a lone event
...
* We need to substitute it for the loadRP version.
2020-01-09 17:57:19 +00:00
baldurk
cee81227b0
Handle off-by-one errors when replaying final parts of a subpass
2020-01-09 17:57:19 +00:00
baldurk
d671c1ec86
Change DoPipelineBarrier to take a size_t count not uint32_t
...
* Since we're always passing an array which naturally has a size_t count, this
makes more sense.
2020-01-09 17:57:19 +00:00
Benson Joeris and baldurk
6b95072687
Add support for VK_KHR_separate_depth_stencil_layouts
...
Change-Id: I1bca8f9778651a8a13100eba5f5fc7789dafc880
2020-01-09 17:57:19 +00:00
Benson Joeris and baldurk
7ba61adc01
Add vk_separate_depth_stencil_layouts demo
...
Change-Id: Ia66edbd53aa2b21426ecbea609bd8bbbd3b278b5
2020-01-09 17:57:19 +00:00
Benson Joeris and baldurk
0d5324f708
Fix alignment bug in demo helper
...
Change-Id: I890bea8ddba6d47074dcf9135443c61f2601a972
2020-01-09 17:57:19 +00:00
Steve Karolewics and Baldur Karlsson
824188d047
Fix text contrast in pixel history view with dark UI theme
2020-01-09 17:56:54 +00:00
Steve Karolewics and Baldur Karlsson
38117e08e4
Ensure resources viewed as sRGB with D3D12 display as sRGB
2020-01-09 17:56:54 +00:00
baldurk
5255db7966
Handle tkinter not importing and disable relevant test. Closes #1668
2020-01-08 19:15:52 +00:00
baldurk
c280a463f3
Fix scoping on some conditional serialises
...
* The SERIALISE_ELEMENT macro because of deserialisation cannot be single-
statement-safe.
2020-01-08 19:10:52 +00:00
baldurk
0fe3a1122e
Add missing return value on assignment operator
2020-01-08 19:10:52 +00:00
baldurk
8235ac7e6f
Only enable RGP capturing when AMD GPU is in use
2020-01-08 19:10:52 +00:00
baldurk
8b851679a8
Fix remove_lines.py script to explicitly read input as cp1252
...
* The output from sphinx is in cp1252 for CHM builds, which is the only place
this script is used. Trying to read it as UTF-8 will fail on non-ASCII
characters.
2020-01-08 19:10:52 +00:00
baldurk
b3d9a4a41b
Don't consider stderr output from keytool to indicate a failure
...
* Some warnings come out over stderr, instead check the keystore to make sure it
contains the key we generated.
2020-01-08 19:10:52 +00:00
baldurk
72cd54aa0b
Only import tkinter when needed
...
* Otherwise this could fail if tkinter isn't available on platforms where we're
not even going to run the test
2020-01-08 19:10:51 +00:00
baldurk
a05622b37e
Force stencil swizzled output to only output green
...
* On some GPUs the stencil output comes in all channels, not just green, and
it's unclear if this is legal or not. To be safe just mask out the green we
expect.
2020-01-08 19:10:51 +00:00
baldurk
365d2e9075
Detect when a zero-sized buffer is bound and skip GL draws
2020-01-08 19:10:51 +00:00
baldurk
0798a9cb1d
Only real SetMarker calls should be flagged as SetMarker
...
* If we treat 'virtual' events like command buffer begin and end as SetMarker
type markers, the event selection will replay more than we want it to.
2020-01-08 19:10:51 +00:00
Andrii Simiklit and Baldur Karlsson
6ba58f153d
Fix a handling of dlsym(RTLD_NEXT) without loading libGL. Closes #1463
...
* The original fix leads to infinite recursion in GLX, EGL hooks.
Due to `dlopen` function override in `librenderdoc.so` library the
`Process::LoadModule` function always returns a handle of
`librenderdoc.so` instead of requested library. So instead of
`real function` we receive an address of the `hook` that leads
to the infinite recursion in this `hook`.
Fixes: 6d40bbb ('Add experimental wayland support. Refs #853 ')
Tested-by: Andrii Simiklit <andrii.simiklit@globallogic.com >
2020-01-08 19:10:37 +00:00
Raul Tambre and Baldur Karlsson
45fbb7b06d
Include <map> when building Wayland support
...
Fixes #1666
2020-01-08 13:00:22 +00:00
baldurk
8f909275a7
Add tests of RGP capturing
2020-01-07 17:59:10 +00:00
baldurk
6dde0ba652
Delete temp RGP capture before triggering capture
2020-01-07 17:59:04 +00:00
baldurk
29a650d859
Don't delete the 0 VAO or FBO, even if the application asks nicely
2020-01-07 17:28:17 +00:00
baldurk
319455194b
If android debug key generation fails, bail out of patching
2020-01-07 17:28:17 +00:00
baldurk
b082bbe78f
Use offsets rather than pointers when patching android manifest
...
* Fixes a crash when using bytebuf now would cause resizes
2020-01-07 17:28:17 +00:00
baldurk
37f762a08f
Use renderdoc-specific name for keystore alias on android
2020-01-07 17:28:17 +00:00
baldurk
ff37dc9787
Update APK installation failure message to mention USB APK installs
...
* Apparently some android devices don't allow installation of APKs over USB by
default.
2020-01-07 17:28:17 +00:00
baldurk
10aa4662ec
Add deliberate fall-through comment into scintilla code
2020-01-07 17:28:17 +00:00
baldurk
7b678a4dae
Add missing break in android error-mapping switch
2020-01-07 17:28:17 +00:00
baldurk
77b76b98a8
Allow -Wimplicit-fallthrough on qrenderdoc project
2020-01-07 17:28:17 +00:00
baldurk
9950d8dbf3
Fix compilation of disabled custom APK location codepath
2020-01-07 17:28:17 +00:00
baldurk
46a70a6c5f
Multisampling increases the bytesize of textures
2020-01-07 17:28:17 +00:00
baldurk
a8d26fb018
Ensure that ExecuteIndirect forced buffer references are in-frame
...
* If we add the references after transitioning back to background capturing,
they will be ignored.
2020-01-07 17:28:17 +00:00
baldurk
353b8d8d27
Remove unnecessary D3DCOMPILE_DEBUG_NAME_FOR_SOURCE flag
...
* Causes errors on D3DCompile versions that don't support it.
2020-01-07 17:28:17 +00:00
Steve Karolewics and Baldur Karlsson
bbd2a4ecb0
Implement D3D12Replay::DebugThread
...
Also added logic for initiating debugging in the D3D12 pipeline state
viewer. Both locations are guarded by defines for now.
2020-01-07 17:28:01 +00:00
baldurk
af1f98039b
Fix implementation of WriteAll for rdcarray types
2020-01-06 19:15:28 +00:00
baldurk
5ef02841b8
Build VS2019 on appveyor
2020-01-06 16:29:23 +00:00