baldurk
46b0dc6c6e
Specify YCbCr conversion sampler when creating conversion views
2018-12-14 15:38:35 +00:00
baldurk
0668bbbc07
Fix image layout for vulkan text atlas
2018-12-14 15:38:21 +00:00
baldurk
2cf5129e71
Add support for YCbCr conversion samplers in vulkan. Refs #1194
2018-12-14 14:08:33 +00:00
baldurk
5ddefed02b
Check for shaders being present before doing MSAA<->Array copy
2018-12-14 10:22:53 +00:00
baldurk
5b38a36d0a
Don't count references from shaders that fail to create on FL10_0
...
* The MSAA <-> Array copy shaders require FL11_0, so don't try to create them on
FL10_0 and don't count their internal references.
2018-12-14 10:19:13 +00:00
baldurk
5c6d7b882e
Don't use NULL for NullResource definition on vulkan. Closes #1209
2018-12-13 23:44:16 +00:00
baldurk
d8ddd89e0a
Check for failures from QueueWaitIdle in vulkan queue flush
2018-12-13 23:43:20 +00:00
baldurk
d4242b7cf7
Note that shared resources are now partially supported on D3D12
2018-12-13 23:43:07 +00:00
baldurk
62ba684567
Move Vec4u to a global struct next to Vec4f
2018-12-13 23:43:07 +00:00
baldurk
1cb0f29198
Update channels detail when HDR multiplied text is edited
2018-12-13 18:00:26 +00:00
baldurk
a22a32c299
Mark resources as dirty when they become involved in video processing
2018-12-13 16:31:36 +00:00
baldurk
2354deccb5
When clearing initial states on D3D11, handle YUV view formats
2018-12-13 16:06:09 +00:00
baldurk
a6a2a7f20c
Add helpers to get view cast formats for YUV textures
2018-12-13 16:03:44 +00:00
baldurk
616e5efe03
Fix size calculation for UpdateSubresource on YUV textures
2018-12-13 16:03:12 +00:00
baldurk
e34833843c
Explicitly disable RT feature query & D3D12.3 (?) interfaces
2018-12-13 12:53:46 +00:00
baldurk
1fc51777d2
Dock live capture windows with capture dialog if visible. Refs #1197
2018-12-13 10:30:01 +00:00
baldurk
006bf38e79
Disable BufferSecurityCheck option on renderdoc libraries
2018-12-12 23:53:35 +00:00
baldurk
86dd6c370f
Add pass-through unwrapping hooks of D3D11 Video interfaces. Closes #922
2018-12-12 23:53:35 +00:00
baldurk
b3458ad940
Use special GetRowPitch calculation when pitch is needed on D3D
...
* GetByteSize(width, 1, 1) is normally the right thing except for planar YUV
formats, where the planes messes up the calculation.
2018-12-12 23:53:35 +00:00
baldurk
caaa2bf144
Fix demos compilation on Win32
2018-12-12 23:53:34 +00:00
baldurk
ff20086e4c
Make sure MediaEngine is released before calling MFShutdown()
2018-12-12 23:53:34 +00:00
baldurk
796b05d76e
Add markers to D3D11 video textures demo, around video update & blit
2018-12-12 23:53:34 +00:00
baldurk
92f48ea54b
Implement ID3D11Multithread support for automatic locking
...
* Unfortunately ID3D11Multithread::SetMultithreadProtected adds an auto-locking
thread safe mode for all D3D functions, so we have to add a check for it and a
lock to every context function. This will add a small amount of overhead even
when the mode isn't enabled, but it shouldn't be significant.
2018-12-12 23:53:15 +00:00
baldurk
6fcba1ced4
Add use of MediaFoundation to decode video in D3D11 video texture demo
...
* Where available - on Win8+ basically. On win7 the video doesn't play (but most
of the demo also doesn't work, so that's not much change).
* Added a short 10kb clip from Caminandes (http://www.caminandes.com/sharing )
2018-12-12 13:55:17 +00:00
baldurk
d777f6bf9d
Allow sourcing data from disk in demos program
2018-12-12 13:55:17 +00:00
baldurk
360ab71a56
Update demos copy of DX official headers
2018-12-12 13:55:17 +00:00
baldurk
1f0192ba3e
Fix python not calling bgraOrder function right (it used to be a flag)
2018-12-12 13:55:16 +00:00
baldurk
18050c70c4
Strip lunarg assistant layer on replay
2018-12-12 13:55:16 +00:00
baldurk
bf9f41f2b1
Remove accidental commit of validation layer enabling
2018-12-12 13:55:16 +00:00
baldurk
3bac064362
Remove Resources\resource.h from qrenderdoc project
2018-12-12 13:55:16 +00:00
baldurk
208b6facff
Add a couple of helper D3D/DXGI smart pointers
2018-12-12 13:55:16 +00:00
baldurk
7880cc5d7b
Allow customising D3D11 device creation flags in D3D11 demos
2018-12-12 13:55:16 +00:00
Pierre-Olivier Konecki
556cd39276
vk_info: fix uninitialized DescriptorSetSlot
2018-12-12 13:51:27 +00:00
baldurk
19aed5b1f2
If a path already has a : treat it as if it were already native
...
* wslpath seems to fail on converting "C:\foo" to windows path even though it
has nothing to do.
2018-12-12 11:13:35 +00:00
baldurk
ac196bde79
Fix compilation on linux
2018-12-12 09:31:17 +00:00
MichelVachon
04edbc6b82
Add partial OpenSharedHandle support
...
Add partial (as in write only, no initial data) D3D12 OpenSharedHandle support
2018-12-11 19:57:22 +00:00
baldurk
f8720b94af
Add demos testing video (YUV / YCbCr) formats on D3D11, D3D12, Vulkan
2018-12-11 19:57:22 +00:00
baldurk
b9f5ecaaa8
Add GPU selection on command line to VK/D3D11/D3D12 tests
2018-12-11 19:57:22 +00:00
baldurk
f1d2258c5b
Update copyright years in demos project
2018-12-11 19:57:22 +00:00
baldurk
b530df00a2
Add helper for VkDescriptorImageInfo
2018-12-11 19:57:21 +00:00
baldurk
d4ee873013
Disallow copying AllocatedImage/Buffer, but allow create-in-place
2018-12-11 19:57:21 +00:00
baldurk
ab89b074d2
Support texture SRVs with swizzle/planeslice parameters on D3D12
2018-12-11 19:57:21 +00:00
baldurk
5e2971a79f
Fix initial state for upload/readback buffers on D3D12
2018-12-11 19:57:21 +00:00
baldurk
4c3d70b612
Add D3D11 helper for making sampler objects
2018-12-11 19:57:21 +00:00
baldurk
38644934c5
Add helpers for loading XPM texture, and add simple example texture
2018-12-11 19:57:21 +00:00
baldurk
a5a952855c
Fix location of khrplatform.h in demos VS project
2018-12-11 19:57:20 +00:00
baldurk
2b802b1ba8
Allow custom display shaders in image viewer
2018-12-11 19:57:20 +00:00
baldurk
8a47aabb94
Remove un-needed resource.h in qrenderdoc project
2018-12-11 19:57:20 +00:00
baldurk
68b23c5f62
Add support for YUV resource formats
...
* We handle 4:4:4, 4:2:2, and 4:2:0, with packed, 2-plane and 3-plane formats,
for 8, 10, 12, and 16 bit depths.
* This covers most common formats but still leaves a few out - NV11, palettised
formats, V208/V408 JPG formats.
2018-12-11 19:57:20 +00:00
baldurk
2411ce70ea
Add flags to ResourceFormat to replace bgraOrder/srgbCorrected
...
* Allows for future expansion as well
2018-12-11 19:57:20 +00:00