Florian Bagar
d84136fe29
added D3D11Device5 checks + fixed QueryInterface calls
2019-09-30 11:34:37 +01:00
baldurk
76622f65aa
Update index buffer binding when VAO changes
2019-09-23 20:48:07 +01:00
baldurk
812e601a88
Ignore sampler updates when descset has immutable samplers. Closes #1528
2019-09-23 16:48:04 +01:00
baldurk
2d473c39e7
Keep format in GL shaders for R/W images
2019-09-23 13:45:29 +01:00
baldurk
94f469b361
Open capture with options should not be a top-level window
2019-09-23 13:14:28 +01:00
baldurk
7a436e1463
Ensure logging locks aren't destroyed too early
...
* If these static locks are destroyed before other things at shutdown, logging
may crash. We can just leak them since they should survive until process
shutdown (where it's fine to leak)
2019-09-23 12:02:46 +01:00
baldurk
38415c2296
D3D error messages should be high severity
...
* Corruption error messages are rare and often fatal, don't demote error
messages to make room for them.
2019-09-23 10:31:36 +01:00
Aliya Pazylbekova
f0329ebace
Add implicit resolve usage for renderpasses
...
According to vulkan spec moving to the next subpass automatically
performs any multisample resolve operations in the subpass being
ended.
2019-09-21 01:22:27 +01:00
baldurk
e0c397a343
Don't add source files if they don't have source code
2019-09-20 12:53:00 +01:00
baldurk
aa57240d9c
Don't show individual enabled scissors if global toggle is off
2019-09-20 12:45:00 +01:00
baldurk
6c4299017a
Trim package path when pulling APK for patching
2019-09-20 12:32:14 +01:00
baldurk
21bfddf2af
Don't crash on reading an unexpected amount of padding
...
* The connection is likely lost/corrupted, but we shouldn't crash
2019-09-20 12:30:44 +01:00
baldurk
c67995b85a
Make it easier to run tests from within UI
2019-09-20 11:20:45 +01:00
baldurk
2828f194e1
Soften errors if D3D12 fails to load
2019-09-20 11:04:10 +01:00
baldurk
0bcf9a4e2d
Update DX headers to 10.0.18362.0, add new interfaces
...
* ID3D12GraphicsCommandList5 and ID3D12Device6
2019-09-19 20:09:38 +01:00
baldurk
ea5515b1da
Fix queries for IDXGIOutput4-6
2019-09-19 18:36:22 +01:00
baldurk
ee3e4bf150
Fix DXGI implicit backbuffer index tracking
...
* When DXGI_PRESENT_TEST flag is present, the backbuffer index doesn't
increment.
* Resizing the buffers resets the index back to 0.
2019-09-19 18:01:40 +01:00
baldurk
1f67022280
Free swapchain RTV before allocating new one
2019-09-19 16:47:57 +01:00
baldurk
3f9e3e3c94
Add stringise for DXGI_ERROR_ACCESS_DENIED HRESULT
2019-09-19 16:45:57 +01:00
baldurk
0e1c20342e
Try to handle invalid callstack sizes in serialisation without crashing
2019-09-19 11:47:11 +01:00
baldurk
78fba8ec57
Fix linux build
2019-09-18 19:33:37 +01:00
Dominic Filion Guay
57c60cdfb8
Fixed issue with MSAA textures on Oculus Quest.
2019-09-18 19:28:42 +01:00
baldurk
af97e50b3a
Implement ConvertToR11G11B10(), add conversion tests
2019-09-18 19:25:11 +01:00
baldurk
2d8b048a97
Return view format stride in bytes not in bits
2019-09-18 17:04:23 +01:00
baldurk
8cacf6927d
Handle unormten correctly
2019-09-18 17:04:10 +01:00
baldurk
40375a6d6e
Ensure all values are used and unstripped in GL_Vertex_Attr_Zoo
2019-09-18 15:28:12 +01:00
baldurk
612963bb11
Fix GL shader editing shader to not use uninitialised data
2019-09-18 14:16:28 +01:00
baldurk
f8221d858d
Ensure we don't hide an invalid buffer value that truncates to green
2019-09-18 13:55:27 +01:00
baldurk
f415ba00bf
Add missing binding for cbuffer
2019-09-18 13:55:11 +01:00
baldurk
65cc331b10
Ensure we can always map for read even for non-persistent buffers
2019-09-18 13:55:04 +01:00
baldurk
35fec3f29e
Fix shutdown order for GL test context & window
2019-09-18 13:30:58 +01:00
baldurk
9a99696593
Explicitly request alpha channel for GL test backbuffer
2019-09-18 13:15:38 +01:00
baldurk
ba16bd9bfe
Pass PSO when decoding cbuffer variables in python example
2019-09-18 13:04:50 +01:00
baldurk
702c7cf093
Add use of ReplayOptions to python API examples
2019-09-18 13:04:38 +01:00
baldurk
7831a42ccc
Fix vulkan handling of ETC2_EAC_RGBA8 to properly encode ResourceFormat
...
* We consider ETC2 to be the base RGB profile, optionally with punch-through
alpha, so compCount and type gives those formats. EAC covers R11, RG11, and
then the RGB8 + A8 mode, which is again disambiguated with compCount and type.
2019-09-18 12:41:44 +01:00
baldurk
a237200cef
Fix NULL being included in marker in D3D12 test
2019-09-18 11:18:38 +01:00
baldurk
62b9245215
Calculate basename by hand, for windows paths on linux
2019-09-18 11:18:28 +01:00
baldurk
52e4c6db70
If we hit EINTR in a blocking recv/send, retry instead of failing
...
* blocking send/recv will not be resumed after a signal handler no matter what,
so we need to retry ourselves. This does mean extending the timeout but that's
fine since it would be pathological to have EINTR continually arrive and
extend the timeout to an unreasonable duration.
2019-09-18 11:01:40 +01:00
baldurk
8060693188
Fix byte address buffer access in shader debugging
2019-09-17 14:08:48 +01:00
baldurk
c64183fbb3
Update toolwindowmanager to edce1185
2019-09-17 13:56:54 +01:00
baldurk
6d282f90d9
rename TEST macro to un-confused visual assist
...
* Visual assist comes with a pre-defined interpretation of TEST() for
googletest, which conflicts with ours. We can't seem to override it with a
va_stdafx.h even
2019-09-17 12:40:00 +01:00
baldurk
a6aa0ac5d0
Handle other ignored garbage substates in vulkan graphics PSO creation
2019-09-17 12:02:37 +01:00
baldurk
3005172aa5
Tweak the phrasing of crash dialog to better explain what happened
...
* In particular make it clear that crashes caught in the injected program may or
may not be a RenderDoc bug. Even if we could point the finger to a particular
DLL we can't necessarily tie that DLL to the responsibility of either us or
the application.
2019-09-17 11:43:01 +01:00
baldurk
6cee53a36d
Fix out of bounds access on invalid SPDB inline data
2019-09-16 21:27:21 +01:00
baldurk
f3220bd6fb
Use more stable clear color for comparison
...
* We need to allow for off-by-one errors in our color comparisons
2019-09-16 18:50:01 +01:00
baldurk
5e32e92205
Remove grey-area glShaderSource calls
...
* These crash on AMD and it's still unclear if they are spec legal.
2019-09-16 18:40:43 +01:00
baldurk
0b276673b6
Pick random target to pixeldebug in Iter_Test
...
* We also make sure that if we go back to a previous event to debug, that we
look up the right output corresponding to where it's bound there (since it
might be bound to a different slot).
2019-09-16 18:34:23 +01:00
baldurk
109803781c
Don't flush register values used for indirect access
2019-09-16 18:34:23 +01:00
baldurk
bbb7270ccd
Handle binding NULL pViews array, interpret it as unbinding all views
2019-09-16 18:34:22 +01:00
baldurk
03e00ea12d
If there are no UAVs bound, don't try to set invalid UAVStartSlot
2019-09-16 17:27:41 +01:00