Commit Graph

8912 Commits

Author SHA1 Message Date
baldurk c7bd434024 Don't compile Catch2 into release builds 2019-05-02 13:30:26 +01:00
baldurk 346d01b17a Shadow texture state by type, not just by unit
* When you do glTexImage2D(GL_TEXTURE_2D) it should refer to the last 2D texture
  bound to the currently active unit, even if a 3D or other type of texture was
  bound in between. Previously we only tracked per-unit and ignored the type.
2019-05-02 11:05:16 +01:00
baldurk ac7801b738 extended_thumbnail section in xml format can be in between sections 2019-05-02 10:27:41 +01:00
baldurk 6d5d536dc6 Add check for glMap failing 2019-05-01 21:11:49 +01:00
baldurk bcd693be6f Set texture filtering to NEAREST when copying images for initial states 2019-05-01 21:11:49 +01:00
baldurk cce6800f00 Remove NO_ERROR flags on EGL, as we do on WGL and GLX 2019-05-01 21:11:49 +01:00
baldurk 2c44004f80 Add handling for some legacy formats like LUMINANCE/ALPHA
* These are still around on GLES so we need to support them.
2019-05-01 21:11:49 +01:00
baldurk 83501f8226 Ensure mesh display cached pipelines are initialised to NULL 2019-05-01 21:11:48 +01:00
baldurk 22dc8b7ba8 When applying push descriptor state handle unused descriptors 2019-05-01 21:11:48 +01:00
baldurk 946636ffa8 Fix inconsistent Unmap subresource index. Closes #1364 2019-05-01 21:11:48 +01:00
baldurk 53f54ae882 Clear cached updates if the version changes some other way. Closes #1368 2019-05-01 21:11:48 +01:00
Aliya Pazylbekova 3b328fd251 Add processing of dirtied objects during non-active capture
from https://github.com/baldurk/renderdoc/commit/4ff4a791
2019-05-01 13:11:28 -07:00
baldurk a1adcd431d When adding GL_MAP_READ_BIT to persistent maps, remove INVALIDATE_*_BIT 2019-04-30 13:35:00 +01:00
baldurk 9c7430c305 Fix debug callbacks on GL demos 2019-04-30 13:32:51 +01:00
baldurk f91a7509ce Restore "All initial states on GL must be queued"
* This restores commit be231884b4.
2019-04-30 10:31:50 +01:00
baldurk f2987cd30e Allow escape to close the demos project's launcher 2019-04-30 10:31:17 +01:00
baldurk 4d7e8d879a Fix compilation of demos project on 32-bit 2019-04-30 10:30:55 +01:00
baldurk e8a794c026 Fix GL & Vulkan selected slice clamping. Closes #1366 2019-04-30 10:30:35 +01:00
baldurk 6b97a9cffa Bump version to 1.5 2019-04-29 13:54:14 +01:00
baldurk 214d852285 Revert "All initial states on GL must be queued"
* This reverts commit be231884b4 temporarily until
  it can be restored.
v1.4
2019-04-29 10:50:14 +01:00
baldurk 115fcec8e5 Close crash handling server if no client connects in 5 seconds 2019-04-29 10:45:45 +01:00
baldurk 6dec2dad73 Remove unused code getParentExe 2019-04-29 10:45:28 +01:00
baldurk 85215b9c44 Increase timeout waiting for crash handling server 2019-04-29 10:43:24 +01:00
baldurk be231884b4 All initial states on GL must be queued until right context is active
* This is a leftover artifact of assuming all contexts share with one another.
  We only queued up non-shared objects to be fetched on the right context, but
  we need to do that for all objects in case contexts don't share with one
  another.
2019-04-26 17:45:28 +01:00
baldurk d599110c3f Bump version to 1.4 2019-04-26 17:04:12 +01:00
baldurk 2498f7f0fd Fix fetching array outputs from vertex shaders
* This broke when fixing array outputs from tessellation/geometry shaders!
v1.3
2019-04-26 15:33:24 +01:00
baldurk c0603bbfb9 Terminate any running processes before signing files 2019-04-26 15:04:15 +01:00
baldurk a820934a22 Fix description of float controls - maximum decimal places not sigfigs 2019-04-26 14:02:42 +01:00
baldurk 95ce6d5b59 Add a bit more clarification on how to load and use RenderDoc's API 2019-04-26 14:00:27 +01:00
baldurk af53fdf89a Document what RENDERDOC_DevicePointer should be for D3D12 2019-04-26 13:57:16 +01:00
baldurk 1296f92a94 Mention that dynamically unused pipeline state resources are hidden 2019-04-26 13:52:34 +01:00
baldurk 944c18e6fe Add mention of 'load last settings' button on capture dialog 2019-04-26 13:44:39 +01:00
baldurk 1b1f9d2ef8 Fix compilation of crash handler 2019-04-26 12:10:43 +01:00
baldurk 3ce4fa3828 Don't try to resolve depth-stencil MSAA images on D3D12 or Vulkan 2019-04-25 15:20:10 +01:00
baldurk 7f785059a7 Add some missing bits from GLbufferbitfield 2019-04-25 15:03:32 +01:00
baldurk d83358f39e Ensure buffers are always mappable for read to fetch data on replay 2019-04-25 13:12:40 +01:00
baldurk 82a35343e6 Only run 'adb root' when getting friendly name
* This avoid spamming adb root into the log often when we only need to run it
  once when a device is first seen.
2019-04-25 12:36:01 +01:00
baldurk 72880a8f07 Print how far through the Iter_Test we are at each step 2019-04-24 13:48:48 +01:00
baldurk 93d23ebac5 Add helper for creating D3D12 PSO with MSAA in testbed program 2019-04-24 13:10:00 +01:00
baldurk a57f174688 Ensure we unwrap textures passed to CopyTex2DMSToArray
* Since this function is called during capture it expects unwrapped parameters.
2019-04-24 13:09:38 +01:00
baldurk 8ffe33767c Handle UNormSRGB in some places that were missing handling 2019-04-23 16:31:18 +01:00
baldurk 8370f99056 Don't unwrap an image that was created unwrapped 2019-04-23 16:24:39 +01:00
baldurk b5b3e91ad5 Add a missing gap in the vulkan pipeline export 2019-04-23 15:09:40 +01:00
baldurk bf2dedefac Don't mark lost references as dirty when deleting resource records 2019-04-23 14:49:54 +01:00
baldurk 9698d0c7b4 Fix adb existence check 2019-04-23 13:39:44 +01:00
baldurk e13671a72c Add sanity check for if dock area isn't available while restoring layout 2019-04-22 18:39:53 +01:00
baldurk 6540c6e445 Add bounds check when looking up constant buffer on vulkan 2019-04-22 18:39:53 +01:00
baldurk 1b8d2113ca Patch subpass to 0 when fetching tessellation/geometry mesh output 2019-04-22 18:39:53 +01:00
baldurk 11e8bdb209 Display default 'viewed as' for typeless textures. Closes #1351
* Typeless textures must be interpreted as some kind of format, so without a
  better hint we use UNORM as a default. Ensure that this is listed explicitly
2019-04-22 18:39:52 +01:00
baldurk a1a89824d9 Make sure to process wglMakeCurrent(NULL, NULL) to track active contexts 2019-04-22 18:39:52 +01:00