baldurk
56eef07de1
Create readback buffers without any flags (like RTV/UAV access)
2016-09-16 16:31:57 +02:00
baldurk
5577882879
Wrap and serialise CommandSignatures
2016-09-16 16:31:47 +02:00
baldurk
3931a79d79
Don't enable GPU-based validation by default, it's heavyweight.
2016-09-16 16:31:13 +02:00
baldurk
9301ec0838
Wrap and serialise query heaps
2016-09-16 16:12:02 +02:00
baldurk
a635b8273f
Unwrap descriptors even for NULL case (Thx to @galop1n 92e731465c)
2016-09-16 13:55:18 +02:00
baldurk
92404bd015
Unwrap CPU descriptor handle to ClearUAV (Thx to @galop1n 7f0cb2841c)
2016-09-16 13:52:56 +02:00
galop1n
9c2a6ec77f
mip levels at 0 means full mip chain
...
When a resource set the description MipLevels to 0, d3d generate a full
mip chain, we have to compute the count to allocate the proper amount
of subresource states.
2016-09-16 13:50:02 +02:00
galop1n
f869d6d91b
Fix stale resource manager pointer in serializer
2016-09-16 13:48:42 +02:00
baldurk
af259e24ef
Serialise CreateHeap and CreatePlacedResource
2016-09-16 13:47:58 +02:00
baldurk
a9e36efa18
Unwrap different types of barriers properly
2016-09-16 13:47:19 +02:00
baldurk
d9a7e43573
Enable GPU-based validation layer if possible, add dummy ID3D12Debug1
2016-09-16 13:17:44 +02:00
baldurk
b8a5d1e33a
SetGraphicsRoot32BitConstant
2016-09-16 13:17:09 +02:00
baldurk
0dbc142c3b
Implement ClearDepthStencilView
2016-09-16 13:05:13 +02:00
baldurk
c0b6cdc1a9
Add some soft coverage markers to easily see used unimplemented funcs
2016-09-16 12:04:20 +02:00
baldurk
7244491206
Check that buffer exists before restoring it
2016-09-16 11:52:34 +02:00
baldurk
778e1d4b43
Add support for BeginEvent/SetMarker/EndEvent markers
2016-09-16 11:52:17 +02:00
baldurk
055f27f17e
Handle duplicate root signatures coming back from D3D. Refs #325
2016-09-16 11:12:56 +02:00
baldurk
cd19fa458c
Use __uuidof for proper UUIDs from DX headers
2016-09-16 11:00:04 +02:00
baldurk
7c0c876d36
Update to match rename of parameter in headers
2016-09-16 10:59:54 +02:00
baldurk
189559e3e6
Update DX headers from latest win10 SDK
2016-09-16 10:58:26 +02:00
baldurk
58ae879b05
Serialise DrawInstanced() calls
2016-09-16 10:35:40 +02:00
baldurk
c6735c9fd4
Set PipelineState in render state when serialising an initial Reset()
2016-09-16 10:35:18 +02:00
baldurk
b332404365
Handle the typeless/typed castability fudging for backbuffers
2016-09-16 10:22:39 +02:00
baldurk
fedc20dd36
Handle re-creating descriptors created with NULL desc structures.
...
* This also handles the case where a descriptor was created with a NULL
desc, and now on replay the resource isn't present either (because it
wasn't used at all), so we just create an empty dummy descriptor.
2016-09-16 10:21:56 +02:00
baldurk
99c51259e3
Support hooking GetProcAddress for ordinals. Used for delay-load d3d12
2016-09-16 10:19:23 +02:00
baldurk
9dc69410e5
Implement thumbnail screenshot readback for D3D12
2016-09-16 09:27:52 +02:00
baldurk
0a85203b39
Update README with some other APIs for clarity
2016-09-15 17:50:51 +02:00
baldurk
9e09386872
Handle VK_WHOLE_SIZE in buffer descriptor sizes
2016-09-15 17:46:36 +02:00
baldurk
a8eeaf62ae
Vulkan subresource ranges don't refer to slices of 3D textures as layers
2016-09-15 17:10:16 +02:00
baldurk
c35b3509ed
Fix texture saving for 3D textures on mips above mip 0. Refs #359
2016-09-15 17:10:16 +02:00
baldurk
2a27c94b1a
When selecting a mip in a 3D texture, update slice list. Refs #359
...
* The sliceFace passed in via the replay interface is still in 0-n range
with n being the top level mip dimension. We just change the drop-down
so that it only lists the number of slices at that mip, and scales up
accordingly.
2016-09-15 17:10:16 +02:00
baldurk
4377297544
Don't override user selected mip or slice for RO textures, or same draw
...
* This means we only jump to the 'active' mip or slice when switching to
a new draw with some texture on output. This still lets us
automatically follow through a mip generation chain or cubemap
rendering, but when looking at a particular slice or mip on a texture
it doesn't get reset when switching textures around.
2016-09-15 17:10:16 +02:00
baldurk
c909c4e5b0
Make sure that 'selected' preview remains even if its thumb index moves
2016-09-15 17:10:16 +02:00
baldurk
d39ca4b768
Run certain transcendental funcs on GPU to emulate accuracy. Refs #357
...
* Running things like sinf()/logf() on the CPU can create a more
accurate result than the GPU. This delta can then be amplified by a
multiply or similar, and cause significant divergence later.
2016-09-15 17:10:16 +02:00
baldurk
cf5059706e
Fix a crash if calling GetProcAddress for GetProcAddress (what?!)
...
* Would also happen for LoadLibrary variants, but the crashdump I got
was for GetProcAddress.
2016-09-15 17:10:16 +02:00
Baldur Karlsson
6e7f2dadce
Merge pull request #360 from michaelrgb/master
...
Add offset to Android network ports, to differentiate from localhost.
2016-09-15 17:09:32 +02:00
Michael Rennie
ab71450fb0
Add offset to Android network ports, to differentiate from localhost.
...
This requires adb forward to include the offset, for example:
adb forward tcp:38970 tcp:38920
adb forward tcp:39970 tcp:39920
2016-09-15 13:42:05 +01:00
baldurk
6521a6b782
[Coverity] Fix some null checks
2016-09-14 18:28:53 +02:00
baldurk
e88722f000
[Coverity] String.Replace is not in-place but returns a new string
2016-09-14 18:28:52 +02:00
baldurk
b8fc0c91eb
[Coverity] Remove redundant assignment
2016-09-14 18:28:52 +02:00
baldurk
3ce3fbe025
[Coverity] Fix some possible divide by 0 cases
2016-09-14 18:28:51 +02:00
baldurk
361498a735
[Coverity] Fix some copy-paste errors in CopyDescriptors
2016-09-14 18:28:42 +02:00
baldurk
25465cb247
[Coverity] Fix some uninitialised values
2016-09-14 17:53:54 +02:00
baldurk
c9eeef3151
[Coverity] Add proper NULL check before comparison
2016-09-14 17:41:14 +02:00
baldurk
31a06effb6
[Coverity] File closing was inconsistent between success/error paths
2016-09-14 17:39:26 +02:00
baldurk
541c2f2d99
Add copies to ./bin for renderdoccmd & librenderdoc.so
...
* This allows qrenderdoc to link properly when opened directly in
qtcreator, as otherwise it doesn't know where to link to the generated
librenderdoc.so somewhere in CMake's build directory
2016-09-14 17:31:45 +02:00
baldurk
289289d2a1
Simplify root Makefile to just invoke cmake for everything
...
* It was building qrenderdoc separately for no good reason that I can
tell.
2016-09-14 16:56:45 +02:00
baldurk
66bb732027
Add vcxproj for qrenderdoc to build locally without needing Qt SDK
...
* Currently non functional - relies on generated files in generated/
and the relevant Qt headers/libraries under 3rdparty/Qt which won't be
committed until qrenderdoc is added to the solution - not for a while.
2016-09-14 15:58:42 +02:00
baldurk
7a86b9cbb7
Put temporary files for windows Qt builds in a more conventional place
2016-09-14 15:12:54 +02:00
baldurk
221bb4ad65
Specify current exe directory as a path for Qt platform plugins
2016-09-14 15:12:14 +02:00