Commit Graph

8150 Commits

Author SHA1 Message Date
tabi.katalin b54477036d Fix fragment shader compile error
OpenGL ES does not allow swizzles on scalar expressions. It causes error when replaying OpenGL ES desktop application.
2018-11-12 18:41:54 +00:00
baldurk 5baa7f590e Initialise descriptor to empty 2018-11-01 21:16:16 +00:00
Philip Rebohle 8b1e802489 Fix temporary memory allocation for VkImageFormatListCreateInfoKHR 2018-11-01 20:04:11 +00:00
baldurk 4281e89764 Fix eventID counting for count=1 indirect draws 2018-11-01 14:03:58 +00:00
baldurk d523153fcf Fix reflection of UAV textures as textures 2018-11-01 12:23:13 +00:00
baldurk d6a995f456 Display multisampled overlays properly for depth textures on D3D11 2018-11-01 12:23:13 +00:00
baldurk 2673be1d4e Fix handling of multisampled targets with quad overdraw in D3D11 2018-11-01 12:23:13 +00:00
baldurk 3e9cd6d71a Fix ScopedCommandBuffer incorrectly ending an external command buffer 2018-11-01 12:23:13 +00:00
baldurk 2d7bb94e6a Ensure D3D12 triangle size overlay is in a consistent state before pass 2018-11-01 12:23:13 +00:00
baldurk bfb64300e4 Fix expansion of stream-out buffers in D3D pipeline state viewers 2018-11-01 12:23:13 +00:00
baldurk 8dbdb1db0d Fix initial contents for UPLOAD heap resources being lost 2018-11-01 12:23:12 +00:00
baldurk 57caf01394 Refactor heatmap for quad overdraw/triangle size to be applied late
* Instead of baking these into the overlay texture and trying to decode them
  afterwards, we instead write a grayscale 16F value into the overlay texture,
  and add a special decode display mode that will use the heatmap and bucketing
  provided.
* This means that saving these overlay textures now saves grayscale. When saving
  to an 8-bit format, we remap to 0-255 so that greater than 1.0 values are
  mapped lower.
2018-11-01 12:23:12 +00:00
baldurk 4e48bd09c9 Make it more explicit when only depth is bound (not depth-stencil) in GL 2018-11-01 12:23:12 +00:00
baldurk 3eaac9f6e7 Explicitly choose when to submit OutsideCmdBuffer on vulkan
* This prevents problems where a drawcall callback submits the command buffer
  before we're finished recording it.
2018-11-01 12:23:12 +00:00
baldurk 42229ca089 Don't include BeginRenderPass in quad overdraw pass events 2018-11-01 12:23:12 +00:00
baldurk c0a974d836 Add internal marker regions for overlay, mesh render, and postvs fetch 2018-11-01 12:23:12 +00:00
baldurk 5af54e7964 Fix skipping of sparse descriptor sets in vulkan postvs copy 2018-11-01 12:23:12 +00:00
baldurk 71f85e5fd3 When doing quad resolve on GL, bind image as layered 2018-11-01 12:23:11 +00:00
baldurk f549ee12f1 Handle stencil attachments in triangle size GL overlay 2018-11-01 12:23:11 +00:00
baldurk 2f297157ba Use initial viewport for triangle size overlay
* Due to the way we render the triangle size overlay we don't respect state
  changes mid-way through a pass, but we should at least correctly use the
  viewport from the start of the pass.
2018-11-01 12:23:11 +00:00
baldurk 8c3cc36e9c Fix check for undefined view format type 2018-11-01 12:23:11 +00:00
baldurk ad1196c2d2 Fetch structured byte stride properly for BUFFEREX SRVs 2018-11-01 12:23:11 +00:00
baldurk 6e7d2689a9 Make sure to enable blending for viewport/scissor overlay on GL 2018-11-01 12:23:11 +00:00
baldurk b81c50b41b Fix missing stencil from image on vulkan when saving to disk 2018-11-01 12:23:11 +00:00
baldurk 60316c0ffd Leave depth/stencil testing enabled for quad overdraw pipeline 2018-11-01 12:23:11 +00:00
baldurk b0a18d16ed Cull mode shouldn't cull depth/stencil overlays 2018-11-01 12:23:10 +00:00
baldurk 7115fdd2ef Add missing align to array elements in D3D12 cbuffer decomposition 2018-11-01 12:23:10 +00:00
Jimmy Lee 9ffcd0a9e0 Added support for GL_QCOM_texture_foveated 2018-11-01 11:09:05 +00:00
Nicolai Hähnle 7fd5ab923e SPIRV: Add support for BitField{Insert,SExtract,UExtract}
They should behave just like any other standard opcode.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2018-11-01 11:06:15 +00:00
Michał Janiszewski 0d3496a9c0 Fix invalid error message 2018-11-01 11:05:58 +00:00
baldurk 0909f1b90a Print 25 GL extensions to a line instead of 100 2018-10-29 18:32:04 +00:00
baldurk cc2f596b1a Do a blit to readback luminance and luminance alpha images on GLES 2018-10-29 18:29:21 +00:00
baldurk 24a9ef9093 Disable verbose proxy prints by default, very spammy 2018-10-29 17:33:24 +00:00
baldurk 6d1c5a65b5 Only examine most recent 100 commits for commit message length
* There are old commits that break the rule, and some badly configured branches
  pull in the entire repo history.
2018-10-29 17:24:34 +00:00
baldurk 90ef8815e3 Remove RENDERDOC_ANDROID_LIBRARY as a 'hooked library'. Refs #1140
* We only need to check for it in intercept_dlopen to return a consistent handle
  to our own library regardless of how the library is opened, to prevent
  multiple copies of the library being loaded.
2018-10-29 17:23:12 +00:00
baldurk 944e37c47a Adjust colouring for pipeline flow chart, improve contrast. Closes #1141
* On the light theme we use a less dark background colour improving contrast
  with the text.
* On the dark theme the background is still super dark, but we dim the outline
  colour which provides an indication of disabled stages
2018-10-29 17:23:11 +00:00
baldurk c567268902 On dark themes, BrightText should be white still 2018-10-29 17:23:11 +00:00
baldurk ffaac908dd Mention that autotools is required on macOS 2018-10-29 17:23:11 +00:00
tuxerr 6d949f19de insert activecontext's window pointer in VR swapbuffer 2018-10-29 10:01:57 +00:00
baldurk 814e1d1b13 Don't pass std::string through StringFormat 2018-10-25 18:45:20 +01:00
baldurk 247bf04486 Use glGetFloatv to fetch GL_SAMPLE_COVERAGE_VALUE 2018-10-25 16:21:55 +01:00
baldurk 1e6637098a Use default set of glslang limits instead of 0s, which might fail 2018-10-25 15:30:02 +01:00
baldurk 034d83c4ff If the real interop registration fails, return NULL 2018-10-25 15:29:50 +01:00
baldurk 1b5ffb0186 Queue any indirect data fetches to happen outside of a renderpass
* Since vkCmdCopyBuffer can't run inside a renderpass we have to delay it until
  the renderpass ends. Warn if there is a subpass dependency that would allow
  writing the indirect args inside the RP (which we would then miss)
2018-10-25 13:25:09 +01:00
baldurk e5784eb70b Ignore useless validation message about aliasing 2018-10-25 13:16:58 +01:00
baldurk 122f0af3aa Add opt-in setting for RGP integration 2018-10-25 11:12:31 +01:00
baldurk bc274b5b51 Only consider stream-out active on D3D if there are buffers bound 2018-10-25 10:49:56 +01:00
baldurk e8272626b2 Add missing mac include 2018-10-24 19:05:10 +01:00
baldurk 7e41b7913a Fix macOS build 2018-10-24 18:42:04 +01:00
baldurk 4bec1b8d32 Handle push descriptors correctly when copying descriptors in postvs 2018-10-24 18:08:12 +01:00