baldurk
44db412b8d
Speculative workaround for QWidgetPrivate::subtractOpaqueSiblings crash
2021-03-22 18:37:10 +00:00
baldurk
3b62d8b326
Account for overlapping ranges needing to be patched to another space
2021-03-22 18:37:10 +00:00
baldurk
63df049646
Fix typo preventing loading recent D3D12 captures
2021-03-22 18:37:10 +00:00
baldurk
61382d36a3
Don't show preserve option for alpha mapping in save dialog
2021-03-22 18:37:10 +00:00
baldurk
dc44d6c271
Make doubles vertex attribute test optional for radv missing support
2021-03-22 18:37:10 +00:00
baldurk
da288830c0
Fix display of doubles in mesh output
2021-03-22 18:37:10 +00:00
baldurk
3b341649f6
Properly set byte count for STARTUPINFO struct
2021-03-22 18:37:10 +00:00
baldurk
c30e969a69
Remove vulkan environment variable when not hooking child processes
...
* If we don't explicitly remove it, the environment variable can get inherited
into child processes that we don't intend to hook.
2021-03-22 18:37:09 +00:00
baldurk
287da369fc
Fix handling of child processes on linux
...
* We need to ensure we remodify LD_LIBRARY_PATH and LD_PRELOAD before fork/exec
if the application (say bash running a script) has overwritten them. We also
don't want these to be accidentally inherited into children if we're not
hooking children - the same for the vulkan env var, which can't be unset
immediately on process injection like the others because it needs to hang
around indefinitely.
2021-03-22 18:37:09 +00:00
baldurk
83f99b6e56
Fix compile errors in demos project in linux
2021-03-22 18:37:09 +00:00
baldurk
c9fe986057
Print target control logging after logging has been enabled
2021-03-22 18:37:09 +00:00
baldurk
01f86e7c3a
Pause at main first before adding PIDs to zombie list on linux
2021-03-22 18:37:09 +00:00
baldurk
08d9cf26b5
Fix initial/final layouts on depth attachment on vulkan mesh render
2021-03-22 18:37:09 +00:00
Dean Ellis
88cb0615d0
Add Support for building the Python API against Python 3.9
2021-03-22 18:22:17 +00:00
Jake Turner
2a8cd9ef05
Vulkan Mac High DPI fix GetOutputWindowDimensions
...
Convert layer bounds to backing co-ordinates
Fixes the TextureViewer cursor co-ordinates being incorrect on high DPI displays
Replaced getMetalLayerWidth and getMetalLayerHeight with single call getMetalLayerSize
2021-03-16 19:22:31 +00:00
Jake Turner
6b6a720c08
Apple remove allocPath from GetExecutableFilename
...
allocPath was allocated but never used
2021-03-16 19:22:31 +00:00
baldurk
ed954cea4d
Fix identification of GL framebuffer outputs with renderbuffers
2021-03-15 23:32:13 +00:00
baldurk
6634f06cbd
Fix cases that could transition unused image subresources from UNDEFINED
2021-03-15 15:35:26 +00:00
baldurk
80fe6160fb
Remove platform specific external object extension on vulkan
2021-03-15 14:40:16 +00:00
baldurk
827a48fe57
Check sampler validity against immutable samplers on serialise
2021-03-15 14:39:21 +00:00
baldurk
90d7bc1926
Fix configuration of spec constants when patching compute pipelines
2021-03-15 12:33:13 +00:00
baldurk
7a8b4a4664
Fix compile and code style errors in GL_Simple_Triangle
2021-03-15 09:58:57 +00:00
Jake Turner
faa9dbf709
Enable pyrenderdoc for Apple
...
It was previously marked as disabled for Apple
Required to build the python modules which are used by the testing framework
Python imports .so libraries by default, change the shared library extension to .so for python modules on Apple
2021-03-14 11:17:31 +00:00
Jake Turner
9c787bd05d
Tidyup the Apple RPATH usage
...
Use @rpath for build and install to reference dynamic libraries
Set RPATH to "@executable_path/../lib" when linking
2021-03-14 11:17:31 +00:00
Jake Turner
67e277717c
Added test failure if fail to find the draw marker
2021-03-14 11:17:31 +00:00
Jake Turner
fd99dc5097
Fix Apple link errors when disabling Vulkan
...
Apple needs Cocoa and Quartz for Vulkan or OpenGL version
2021-03-14 11:17:31 +00:00
Jake Turner
004a731607
On Apple use GetLibraryFilename() to set libfile
...
Solves problem when injecting renderdoc into a process from an executable which is not renderdoccmd or qrenderdoc
2021-03-14 11:17:31 +00:00
Jake Turner
87cb4e58b6
Check for GL debug extension when using it
...
Apple does not support glDebugMessageCallback
2021-03-14 11:17:31 +00:00
Jake Turner
769fade4cf
Fixed small typo "htat" -> "that"
2021-03-14 11:17:31 +00:00
Jake Turner
1985d126c7
Converted gl_simple_triangle test to OpenGL 4.1
2021-03-14 11:17:31 +00:00
Jake Turner
1e90d20185
Changed GL test default shaders to be version 410
2021-03-14 11:17:31 +00:00
baldurk
05e7d1eab9
Add some debug regions in internal GL code
2021-03-13 00:47:04 +00:00
baldurk
414f7bbff6
Use correct attachment when querying framebuffer mip/layer on clear
2021-03-13 00:46:52 +00:00
baldurk
4cb7648ebc
Fix handling of multisampled renderbuffers on GL
2021-03-13 00:46:38 +00:00
baldurk
bea31d3489
Skip subresources in mip tail when marking referenced
2021-03-12 18:08:23 +00:00
baldurk
aeaf26930c
Implement reserved (sparse) resources on D3D12. Closes #2203
2021-03-12 18:08:23 +00:00
baldurk
e5e5b064d8
Improve handling of sparse page table for awkward D3D cases
...
* Wrapped ranges in D3D are allowed to overflow from an image subresource into
the miptail and set some/all of it :(.
* Also implement copy operations for D3D.
2021-03-12 18:08:22 +00:00
baldurk
cfe3374267
Reset invalid state when letting user retry adding a shader tool
2021-03-10 10:43:00 +00:00
baldurk
10aad2a7b1
Only apply sparse binding initial contents to resources if they change
...
* Resources which don't have any sparse binding operations within the captured
frame don't need to be repeatedly restored.
2021-03-09 10:43:46 +00:00
baldurk
145fd3c001
Compile fixes for 32-bit windows
2021-03-08 17:33:42 +00:00
baldurk
6d0ee7c2dd
Explicitly instantiate serialise types
2021-03-08 17:27:13 +00:00
baldurk
4cda238c1d
Fix linux compilation
2021-03-08 16:54:50 +00:00
baldurk
dce2c62bde
Fix typo in shader viewer menu item. Closes #2201
2021-03-08 16:45:05 +00:00
baldurk
24e958d688
Allow sparse features to be reported
2021-03-08 16:39:49 +00:00
baldurk
8ff59fea79
Snapshot sparse tables into resource initial states, and apply on replay
2021-03-08 16:38:52 +00:00
baldurk
da4706d423
Use sparse page table class to track sparse mappings on vulkan resources
2021-03-08 16:38:51 +00:00
baldurk
4afd76b669
Add API independent sparse page table tracker
2021-03-08 16:38:51 +00:00
baldurk
20a60efd98
Serialise legacy sparse initial contents and skip
...
* These captures were too broken and likely no-one has any in the wild, but just
to be safe let's at least not crash on serialisation.
* Prepare/application is not implemented yet so as of this commit sparse
resources are broken.
2021-03-08 16:38:51 +00:00
baldurk
d10baafbba
Fix compilation on non-windows platforms
2021-03-06 15:29:02 +00:00
baldurk
657378d022
Remove clear value count assertion completely, check on access
2021-03-06 13:26:03 +00:00