baldurk
9fba077537
Add a couple of other missing QPainterPath includes
2020-06-07 00:44:35 +01:00
Philip Rebohle
59282698d6
Add QPainterPath include
2020-06-06 10:44:33 +01:00
baldurk
f40490c049
Avoid underflow when calculating padding bytes
2020-06-05 19:36:02 +01:00
baldurk
4add5bfbf5
Don't make failure to debug a fatal error
...
* On vulkan for example not all shaders can currently be debugged
2020-06-05 17:35:36 +01:00
baldurk
a2079c7d7f
Fix fetching of vertex buffer bindings that aren't compact or in order
2020-06-05 17:35:19 +01:00
baldurk
f1e31bd710
Only upload columns that are valid from paramers in debugging
...
* Since e.g. the length operation calculates float4 length always we rely on
smaller vectors having 0s for the other paramters
2020-06-05 16:29:52 +01:00
baldurk
2801e54714
Skip pixel shader debugging if no shader is bound
2020-06-05 16:02:06 +01:00
baldurk
35c7c640de
Add optional debug dumping of postvs SPIR-V
2020-06-05 15:15:42 +01:00
baldurk
7dda3770e4
Generate consistent names for unnamed shader I/O signatures
2020-06-05 14:32:54 +01:00
baldurk
8ff6251d98
Handle hlsl/glsl matrix dimension order properly in buffer formatter
2020-06-05 14:19:39 +01:00
baldurk
fe8a35b2f0
Fix calculation of matrix variable sizes. Closes #1927
2020-06-05 14:11:14 +01:00
baldurk
40183bff46
Fix typo in buffer formatter for padded column major matrices
2020-06-05 13:54:26 +01:00
baldurk
44ab5e9928
Fix crash in shader debugging with unbound (but unused) descriptor sets
2020-06-05 13:23:54 +01:00
baldurk
60b710f24a
Fix display of matrices inside source variable-mapped structures
2020-06-05 12:44:38 +01:00
baldurk
9f9a4cda5e
Fix search in chm-friendly RTD theme
2020-06-05 12:24:33 +01:00
baldurk
88231cbe41
Disable stages in vulkan pipeline state view if raster discard is on
2020-06-04 16:17:31 +01:00
baldurk
bdead116eb
Handle NULL/out of bounds vertex buffer data in D3D11 shader debugging
2020-06-03 18:41:12 +01:00
baldurk
72ac2cd6d4
Fix copy-paste errors
2020-06-03 18:41:12 +01:00
baldurk
00f0d8c7b7
Remove virtual from ID3DXXDeviceChild::Shutdown
2020-06-03 18:41:12 +01:00
baldurk
ebb8108781
Fix wrong enum comparisons
2020-06-03 18:41:11 +01:00
baldurk
ee02cfa130
Consistently use descriptor slots as array
...
* Even for inline uniform block where we know there's only one slot
2020-06-03 18:41:11 +01:00
baldurk
6fcd34dd0d
Add missing cast to Vec4u
2020-06-03 18:41:11 +01:00
baldurk
e2757ac7f4
Fix old reference to m_InternalElement as bool
2020-06-03 18:41:11 +01:00
baldurk
6083f5a713
Handle buffers being a NULL pointer in glBindBuffersBase
2020-06-03 18:41:11 +01:00
baldurk
3912085c5f
Check output pointer before writing
2020-06-03 18:41:11 +01:00
baldurk
f9c1f24c0c
DDX/DDY are always float typed
2020-06-03 18:41:11 +01:00
baldurk
c451bdc22c
Add extra error checking into VirtualFileDialog
2020-06-03 18:41:11 +01:00
baldurk
d32cca113d
Read size as unsigned int, so that buffers over 2GB (!!) work OK
2020-06-03 18:41:11 +01:00
baldurk
9524438129
End active unbalanced queries/transform feedback after active replay
...
* Some drivers have issues doing normal work while queries or XFB are active,
and there's no reason to keep them active indefinitely since they might not be
closed by a subsequent draw replay (if multiple draws are spanned and we
select a draw in the middle).
2020-06-03 18:41:11 +01:00
Aliya Pazylbekova
7e66573e05
Vk Pixel history: a few fixes
...
1) A depth image might have different number of samples, tested on a
case where there is a resolve attachment on vkCmdEndRenderPass, but
the depth attachment is multisampled.
2) HasMultipleSubpasses should take into accoun the case when there is
no renderpass, for example post vkCmdEndRenderPass
2020-06-03 18:40:57 +01:00
windog18
d59147ba9d
Fixed hlsl cbuffer variable gen bug
2020-06-03 18:40:49 +01:00
baldurk
0219637734
Fix resize_for_index test
2020-06-01 22:39:26 +01:00
baldurk
5d2cfe9897
Handle stringising 64-bit enums
2020-06-01 21:54:43 +01:00
baldurk
0f8ad41359
Add rdcarray helper for "resize array up to this index if smaller"
...
* This is a common enough operation to warrant a helper, as an alternative to
vec.resize(RDCMAX(index + 1, vec.size())
2020-06-01 21:54:43 +01:00
baldurk
ae38a10299
Fix Iter_Test
2020-06-01 21:54:43 +01:00
baldurk
4a5bd147e1
Fix Draw_Zoo tests
2020-06-01 21:54:43 +01:00
Camille Martel
0f7875a224
Don't call CheckImplicitThread when GL hook is disabled
2020-05-29 23:47:00 +01:00
baldurk
7a821c20bd
Add custom context menu for all tree views with expand/collapse and copy
2020-05-29 20:09:13 +01:00
baldurk
1c19deb825
Improve copy-paste behaviour for tree views
2020-05-29 20:07:48 +01:00
baldurk
e472536c5a
Don't read off end of capture if CaptureEnd chunk is missing
2020-05-29 17:49:57 +01:00
baldurk
a8f6108444
Try to clamp indices when accessing in SPIR-V debugging
2020-05-29 17:26:47 +01:00
baldurk
a0a373a8e1
Fix handling of buffer truncation and zero-sized buffers
2020-05-29 17:26:29 +01:00
baldurk
9f0787da33
Keep subpass self-dependencies when making loadRPs.
2020-05-29 14:11:03 +01:00
baldurk
86e0ed1d26
Don't suspend children on linux unless we're injecting
2020-05-29 14:10:52 +01:00
Daniel Craig
4ad21c4198
Fix HWND resize timing issue
...
* There was a race condition where the newly created HWND surface could
be resized during swap chain creation. This causes a
`VK_ERROR_DEVICE_LOST`, but is very timing dependent.
* The fix was to finish the resize, via `ResourcePreview::setActive()` /
`QWidget::show()` before scheduling any async functions that could
create a swapchain, namely `IReplayOutput::AddThumbnail()`.
2020-05-28 23:27:56 +01:00
baldurk
a5e3346975
Pass /bigobj when compiling vk_serialise.cpp to fix VS2019
2020-05-28 18:29:21 +01:00
baldurk
97f9982f4b
Fix compilation on android
2020-05-28 16:45:08 +01:00
baldurk
55e1f462ca
Disable defines of memset/memcpy that confuse visual assist
...
* These are only for the opencl build, which we don't care about.
2020-05-28 15:54:36 +01:00
baldurk
d0d2f65a11
Implement support for VK_EXT_private_data
2020-05-28 15:54:36 +01:00
baldurk
58ed167abf
Implement support for VK_EXT_pipeline_creation_cache_control
2020-05-28 15:54:36 +01:00