baldurk
f8ced4c0ee
Update SPDB handling to use cvinfo, and store more/better data
...
* This gives us local ranges accurately, as well as fixes bugs with not
getting inline sites. Closes #969
2018-05-17 15:04:40 +01:00
baldurk
e4a15d0ecb
Don't discard short lines (particularly closing braces)
2018-05-17 15:04:26 +01:00
baldurk
e4dcfb7c28
ReadVarLenUInt is available as CodeViewInfo::CVUncompressData
2018-05-17 15:04:26 +01:00
baldurk
941c307e86
Minor changes to cvinfo.h to compile cleanly
2018-05-17 15:04:26 +01:00
baldurk
80724f7130
Add cvconst.h / cvinfo.h from microsoft-pdb repository for SPDB decoding
...
* This will be used to replace/improve the old reverse-engineered decoding.
2018-05-17 15:04:26 +01:00
baldurk
df0246ab68
Remap SPDB line-numbers after sorting filenames
2018-05-17 15:04:23 +01:00
baldurk
7b686d0105
Split SPDB/SDBG processing out into separate files
2018-05-17 01:36:06 +01:00
baldurk
bf09eb59a3
Update DevDriverTools repo to 21c93b7230c4188
2018-05-17 01:36:06 +01:00
baldurk
72eb734964
Correctly pass selected primitive to DebugPixel from pixel history
2018-05-17 01:35:26 +01:00
baldurk
1c75a63176
Handle NULL descriptor structs used to init CPU-side descriptors
2018-05-15 19:44:17 +01:00
baldurk
5c143acccf
Don't underestimate chunk size for empty descriptor heaps
2018-05-15 19:44:17 +01:00
baldurk
d8a64c4172
Fix compilation on GCC 8. Closes #984
2018-05-15 19:44:17 +01:00
baldurk
8c5e8081c5
Fix typo in documentation of ShaderVariable::members
2018-05-15 19:44:17 +01:00
baldurk
a31a5a9cfb
Provide reasonable default values for TextureDisplay struct
2018-05-15 19:44:17 +01:00
baldurk
afb7ea5dab
Improve python wrapping of WindowingData
...
* If we make WindowingData an empty struct not an opaque one, it won't leak memory
* Similarly we need typemaps to allow python to pass plain ints and have them cast to pointers
2018-05-15 19:44:17 +01:00
baldurk
f0d5bc8f2e
Add pass-through unwrapping support for nvenc
...
* nvenc takes a D3D11 object pointer, which must be unwrapped or else it will crash.
2018-05-15 13:02:39 +01:00
baldurk
757671b97f
Add custom right-click menu to texture tabs in texture viewer
2018-05-15 11:27:34 +01:00
baldurk
f12b8b5ee1
Check resource name cache ID to avoid unnecessary model resets
...
* Prevents annoying focus loss when selecting resources when no name has actually changed
2018-05-15 11:27:12 +01:00
baldurk
7eb19ab13f
Add better structured data helper functions to expose to python
2018-05-15 10:44:26 +01:00
baldurk
a35f4bbeae
Add a temporary hack to store the current imageLayout of a descriptor
2018-05-14 18:15:42 +01:00
baldurk
1100d8c0d3
Allow fetching data directly from VkDeviceMemory as well as VkBuffers
2018-05-14 18:15:10 +01:00
baldurk
3861e91d6e
Mark D3D12 pure heaps used for placement as memory, not pools
2018-05-14 16:48:06 +01:00
baldurk
913cbf370b
Make sure to grab a new command buffer each iteration in GetBufferData
2018-05-14 16:47:50 +01:00
baldurk
f698bac6bf
Add hack to avoid breaking VkMarkerRegion with multiple vulkan instances
...
* This can happen when converting to structured data. We let the first
WrappedVulkan 'claim' the static pointer, and ignore others. It's not
perfect but avoids the need to refactor and pass in handle everywhere.
2018-05-14 16:43:57 +01:00
baldurk
8a05e29e86
Fix QRenderDoc project filters - some files weren't included properly
2018-05-14 16:42:34 +01:00
baldurk
b213d54c1d
Account for added Divisor column when setting up vulkan pipeline state
2018-05-14 16:41:25 +01:00
baldurk
5c26270de0
Implement __hash__() for ResourceId
2018-05-14 16:40:58 +01:00
baldurk
f1dcb785a1
Fix implementation of array_setsubscript when deleting a range
2018-05-14 16:40:45 +01:00
baldurk
0cc5ed6145
Handle dstArrayElement when updating current bindings from initial state
2018-05-13 10:13:49 +01:00
baldurk
42aefbaf0e
Fix off-by-one error with gathering array descriptor writes
2018-05-13 10:13:49 +01:00
baldurk
a6ae880b64
Fix a missing else causing doubles to get the wrong expanded format
2018-05-13 10:13:49 +01:00
baldurk
5c40914c32
Set disassembly view to NULL when it's deleted
2018-05-13 10:13:49 +01:00
Hans-Kristian Arntzen
5bf0ae3624
Implement RGB10A2SNorm conversion for postvs.
2018-05-12 21:03:01 +01:00
baldurk
cf508427da
Remove assert that aliased functions will return same pointer
...
* The validation layers break this, although that's a very worrying
trend if KHR and core-promoted functions are allowed to be different
and potentially have different implementations.
2018-05-12 12:58:25 +01:00
baldurk
dc8d4f63d5
Don't discard array descriptor update because some elements are invalid
...
* When checking for validity, some array elements might be valid while
others might not be. This is still OK if the application knew that
only certain elements would be accessed by the given shaders - so we
should still update the others.
2018-05-12 12:57:40 +01:00
baldurk
e40ca6f59d
Support installing android APKs from local ABI-specific build folders
2018-05-11 20:39:43 +01:00
baldurk
10f263b060
Don't do any work for FBO 0 when structured exporting
2018-05-11 20:39:43 +01:00
baldurk
627a965d69
Specify GLES2 renderable type when fetching egl config
...
* Fixes preview display on PowerVR
2018-05-11 20:39:43 +01:00
baldurk
6a0aa28ea3
Remove some android log spam while idle, promote debug print to error
2018-05-11 20:39:42 +01:00
Hans-Kristian Arntzen
50dc1d6faa
Support A2B10G10R10_SNORM in buffer viewer.
2018-05-11 01:04:45 +01:00
baldurk
8a477d096a
Add support for doubles in mesh output fetch on Vulkan
2018-05-10 18:07:45 +01:00
baldurk
a77e6a0acd
Read & Serialise D3D12 CPU descriptor contents immediately
...
* For Clear*View and OMSetRenderTargetViews, the CPU descriptor handles
used are read immediately, the heap can be modified or even deleted
after the call.
* So we save the contents of the descriptor, ignore the heap, and then
fill a temporary heap with the descriptor whenever it's needed.
2018-05-10 15:17:54 +01:00
baldurk
2019c82d68
Fixes for double outputs in GL mesh output fetch
2018-05-10 12:04:43 +01:00
baldurk
a8e807467d
Make sure all resource states have at least one subresource state
...
* Even if it's invalid, this removes the need to check whether the data
for a given id is empty or not.
2018-05-10 10:54:25 +01:00
baldurk
0233f39776
Make sure initial contents are properly freed on GL
2018-05-09 13:25:17 +01:00
baldurk
d7b0807875
Ignore MultiDraw markers when checking if the capture has markers
2018-05-09 13:05:00 +01:00
baldurk
f174853a04
32-bit compile fix
2018-05-08 19:39:38 +01:00
baldurk
4ade1187aa
Fix linux compilation - pass parent QObject* to GUIInvoke
2018-05-08 19:10:28 +01:00
baldurk
61c4af1dc6
Ignore -Wattributes on miniz
2018-05-08 19:10:15 +01:00
baldurk
1393b84fb6
Add proper support for KHR_shader_draw_parameters in Vulkan mesh output
2018-05-08 17:51:56 +01:00