Commit Graph

8351 Commits

Author SHA1 Message Date
tabi.katalin a8ca37f5e5 Fix OpenGL ES fragment shader compile error
Fix fragment shader compile error (too many parameters in function call) when replaying OpenGL ES desktop application.
2018-12-17 17:10:03 +00:00
baldurk 0e311e1b62 Final compile fix hopefully :( 2018-12-14 22:37:05 +00:00
baldurk 42e10aeabc Fix compile error 2018-12-14 21:53:55 +00:00
baldurk 85b4643de9 Fix compile error with initialisation of PixelValue 2018-12-14 20:42:45 +00:00
baldurk 383d8158cc Fix docs build with missing end string terminator 2018-12-14 20:42:45 +00:00
Sebastian Krzyszkowiak 02a9f9fbce linux_callstack: don't compute offset to .text section manually
addr2line can do it by itself and seems to be better at it.
2018-12-14 20:24:57 +00:00
Sebastian Krzyszkowiak 9b90625489 linux_callstack: take region offset into account
Fixes incorrect symbols being resolved in case of non-zero offsets.
2018-12-14 20:24:57 +00:00
Danylo Piliaiev 29e38e71a9 Implement VK_EXT_conditional_rendering
Predicate state is displayed in the raster state.
"Draw Call" and "Wireframe" overlays are visible even if predicate doesn't pass.

Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
2018-12-14 20:22:08 +00:00
baldurk 13e7d1c134 Support display of YUV textures on D3D11, D3D12 and Vulkan
* Supported textures are decoded into standard format of YUVA, displayed
  visually with Y in green, U in blue, V in red.
* A new texture display mode 'YUVA decode' has been added which does a default
  full-range conversion from YUV to RGB.
* Custom shaders can be used to implement a custom decode matrix.
2018-12-14 20:14:07 +00:00
baldurk 8b04c9b7ad Fix min/max calculation for stencil on GL and Vulkan
* This needs a separate pass for the stencil because GL/Vulkan treat stencil
  separately as a uint, whereas on D3D we can get away with binding a combined
  view and the stencil comes out as normalised floats.
2018-12-14 16:57:55 +00:00
baldurk aae08060a9 Add DummyWrites to histogram/minmax on vulkan 2018-12-14 16:45:49 +00:00
baldurk 90b970b547 Forcibly disable any reported support for DISJOINT binding on vulkan 2018-12-14 15:41:00 +00:00
baldurk 4c7ed0cb3c Copy each plane aspect of multi-planar images separately on vulkan 2018-12-14 15:40:09 +00:00
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