Commit Graph

9989 Commits

Author SHA1 Message Date
baldurk df266eb04d Fix some version properties in windows resource files 2020-01-14 18:02:10 +00:00
baldurk a2562200f7 Hide update check progress bar even if network error occurred 2020-01-14 18:02:10 +00:00
baldurk 4fd97e8946 D3D12 shared resources are now fully supported 2020-01-14 18:02:10 +00:00
baldurk 5192becb73 Document incomplete texture detection in pipeline state 2020-01-14 18:02:10 +00:00
baldurk 69694ce9d6 Fix crash handler compilation 2020-01-14 18:02:10 +00:00
Benson Joeris fa94424f93 Add split depth/stencil layouts for input attachments
Change-Id: Ie5b2d816873224f0ebcc20000a5987f56769d61a
2020-01-14 18:01:58 +00:00
Benson Joeris a64d0df073 Add input attachment case to vk_separate_depth_stencil_layouts demo
Change-Id: I06273c36cb468eebf360dbd742a8f95b7f9aeeaf
2020-01-14 18:01:58 +00:00
thisisjimmyfb 99cace95cb fixed the problem of glClear not displaying its output fbo 2020-01-14 09:43:28 +00:00
baldurk 1758b32045 Add a test of callstack collection 2020-01-13 19:04:44 +00:00
baldurk f4c864eb3d silence bogus GCC warning 2020-01-13 19:00:04 +00:00
baldurk f4ab28205f Add option to non-interactively resolve callstack symbols
* Primarily for use in scripts
2020-01-13 18:29:50 +00:00
baldurk 8e15b1b7fa When using D3D12On7 allow shader editing to fall back to sm5_0
* This should really be configurable to compile with the original shader's
  profile, but for now we do this.
2020-01-13 18:19:54 +00:00
baldurk 90e414d097 Avoid text rendering resources leaking out when using D3D12On7 2020-01-13 18:19:23 +00:00
baldurk 86f39640d0 Add shader editing tests on D3D 2020-01-13 18:18:59 +00:00
baldurk e9182377e5 NULL out connection handle after shutdown 2020-01-13 16:55:05 +00:00
Daniel Craig b3d15996b2 Add headers required to build windows files without precompiled header 2020-01-13 13:02:46 +00:00
baldurk dd6e409bb6 Even though Win32 only has one windowing system, it is supported
* Generic code may be looking for the supported window systems even on windows.
2020-01-10 14:59:14 +00:00
baldurk b450b3ff29 Fix qrenderdoc examples for latest API 2020-01-10 14:59:11 +00:00
baldurk 259f948fdc Combine initial image state barriers as we go
* Rather than forcing image states to completely split then completely merge
  again when the barriers are the same but recorded per-subresource due to
  previous splitting.
2020-01-10 13:23:37 +00:00
baldurk 04bc540851 Check for stale descriptor sets on compute as well as graphics 2020-01-10 13:02:10 +00:00
baldurk bc6401f23a Don't refresh overlay unnecessarily when it's not enabled 2020-01-10 12:55:26 +00:00
baldurk 0b9a4b0100 Add some new shader builtins 2020-01-10 11:22:20 +00:00
baldurk cb0e8958b1 in debug builds don't include resource ID when renaming resources 2020-01-10 11:01:05 +00:00
baldurk 96ae3bddb3 Patch GLSL shaders to at least #version 130 when making separable
* This is needed for the out gl_PerVertex block
2020-01-10 11:00:00 +00:00
baldurk 62911e56e9 Handle vertex shaders with no outputs in GL transfrom feedback
* We just skip the VS out entirely and make sure we still process any
  geometry/tessellation (which could generate output from no inputs).
2020-01-10 10:47:18 +00:00
baldurk d9a39d96da Fix 32-bit compilation 2020-01-09 19:32:06 +00:00
baldurk 284da79a62 Enable VK_KHR_separate_depth_stencil_layouts support 2020-01-09 17:57:19 +00:00
baldurk f68a5b9195 When enabled, track depth and stencil aspect layouts separately 2020-01-09 17:57:19 +00:00
baldurk f95cd087ee Fix replay of vkCmdBeginRenderPass as a lone event
* We need to substitute it for the loadRP version.
2020-01-09 17:57:19 +00:00
baldurk cee81227b0 Handle off-by-one errors when replaying final parts of a subpass 2020-01-09 17:57:19 +00:00
baldurk d671c1ec86 Change DoPipelineBarrier to take a size_t count not uint32_t
* Since we're always passing an array which naturally has a size_t count, this
  makes more sense.
2020-01-09 17:57:19 +00:00
Benson Joeris 6b95072687 Add support for VK_KHR_separate_depth_stencil_layouts
Change-Id: I1bca8f9778651a8a13100eba5f5fc7789dafc880
2020-01-09 17:57:19 +00:00
Benson Joeris 7ba61adc01 Add vk_separate_depth_stencil_layouts demo
Change-Id: Ia66edbd53aa2b21426ecbea609bd8bbbd3b278b5
2020-01-09 17:57:19 +00:00
Benson Joeris 0d5324f708 Fix alignment bug in demo helper
Change-Id: I890bea8ddba6d47074dcf9135443c61f2601a972
2020-01-09 17:57:19 +00:00
Steve Karolewics 824188d047 Fix text contrast in pixel history view with dark UI theme 2020-01-09 17:56:54 +00:00
Steve Karolewics 38117e08e4 Ensure resources viewed as sRGB with D3D12 display as sRGB 2020-01-09 17:56:54 +00:00
baldurk 5255db7966 Handle tkinter not importing and disable relevant test. Closes #1668 2020-01-08 19:15:52 +00:00
baldurk c280a463f3 Fix scoping on some conditional serialises
* The SERIALISE_ELEMENT macro because of deserialisation cannot be single-
  statement-safe.
2020-01-08 19:10:52 +00:00
baldurk 0fe3a1122e Add missing return value on assignment operator 2020-01-08 19:10:52 +00:00
baldurk 8235ac7e6f Only enable RGP capturing when AMD GPU is in use 2020-01-08 19:10:52 +00:00
baldurk 8b851679a8 Fix remove_lines.py script to explicitly read input as cp1252
* The output from sphinx is in cp1252 for CHM builds, which is the only place
  this script is used. Trying to read it as UTF-8 will fail on non-ASCII
  characters.
2020-01-08 19:10:52 +00:00
baldurk b3d9a4a41b Don't consider stderr output from keytool to indicate a failure
* Some warnings come out over stderr, instead check the keystore to make sure it
  contains the key we generated.
2020-01-08 19:10:52 +00:00
baldurk 72cd54aa0b Only import tkinter when needed
* Otherwise this could fail if tkinter isn't available on platforms where we're
  not even going to run the test
2020-01-08 19:10:51 +00:00
baldurk a05622b37e Force stencil swizzled output to only output green
* On some GPUs the stencil output comes in all channels, not just green, and
  it's unclear if this is legal or not. To be safe just mask out the green we
  expect.
2020-01-08 19:10:51 +00:00
baldurk 365d2e9075 Detect when a zero-sized buffer is bound and skip GL draws 2020-01-08 19:10:51 +00:00
baldurk 0798a9cb1d Only real SetMarker calls should be flagged as SetMarker
* If we treat 'virtual' events like command buffer begin and end as SetMarker
  type markers, the event selection will replay more than we want it to.
2020-01-08 19:10:51 +00:00
Andrii Simiklit 6ba58f153d Fix a handling of dlsym(RTLD_NEXT) without loading libGL. Closes #1463
* The original fix leads to infinite recursion in GLX, EGL hooks.
  Due to `dlopen` function override in `librenderdoc.so` library the
  `Process::LoadModule` function always returns a handle of
  `librenderdoc.so` instead of requested library. So instead of
  `real function` we receive an address of the `hook` that leads
  to the infinite recursion in this `hook`.

Fixes: 6d40bbb ('Add experimental wayland support. Refs #853')
Tested-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
2020-01-08 19:10:37 +00:00
Raul Tambre 45fbb7b06d Include <map> when building Wayland support
Fixes #1666
2020-01-08 13:00:22 +00:00
baldurk 8f909275a7 Add tests of RGP capturing 2020-01-07 17:59:10 +00:00
baldurk 6dde0ba652 Delete temp RGP capture before triggering capture 2020-01-07 17:59:04 +00:00