Commit Graph

  • e81895b060 [Coverity] Remove use of rand() now SetFrameEvent takes 'bool force' baldurk 2016-07-20 16:01:48 +02:00
  • b3e192bdb6 Always perform barrier for depth image even if it's not pipeline-bound baldurk 2016-07-20 15:24:37 +02:00
  • 31fb9dbaec Create fake backbuffer in the same format always - RGBA8_SRGB baldurk 2016-07-20 15:24:17 +02:00
  • aea036c34c Implement multi-draw indirect support for vulkan baldurk 2016-07-20 14:09:56 +02:00
  • e04dc8897f Fix VS2015 warning about variable shadowing baldurk 2016-07-19 21:00:58 +02:00
  • bde21b0c73 Render custom shaders at the selected mip level. Refs #302 baldurk 2016-07-19 20:40:11 +02:00
  • 81c8f1f77e Prefix GL uniforms with 'uniform'. Refs #302 baldurk 2016-07-19 19:19:57 +02:00
  • a923ea615d If we're doing a range partial replay, just skip work in vkExecCommands baldurk 2016-07-19 18:44:03 +02:00
  • eece61fe0b Implement proper accurate sRGB conversion, instead of pow(2.2) approx baldurk 2016-07-19 17:33:27 +02:00
  • 36700ec4ab Partially replay vkCmdExecuteCommands, same as vkQueueSubmit. Refs #204 baldurk 2016-07-19 17:33:04 +02:00
  • cc04fa33a9 Begin handling partial replay of both primary and secondary cmd buffers baldurk 2016-07-19 12:41:21 +02:00
  • 24b644b8e3 Warning fix - don't reuse 'count' variable which could be confusing baldurk 2016-07-18 19:39:38 +02:00
  • 8b8663531a Switch text pipeline depending on backbuffer format baldurk 2016-07-18 19:19:23 +02:00
  • 5a64a78d2a Add multiple-frame capture, grabbing N successive frames to captures baldurk 2016-07-18 18:51:36 +02:00
  • 1e10f34e1d Include cmake with linux dependencies baldurk 2016-07-18 18:18:10 +02:00
  • 0e43b3916e Fake only supporting a single queue family type (the most capable one) baldurk 2016-07-18 18:17:16 +02:00
  • 7ab314d1a6 Add explicit casts int -> uint32_t for array/mip baldurk 2016-07-15 14:45:25 +02:00
  • c59ce564cc Fetch compute descriptor sets properly for vulkan baldurk 2016-07-15 14:23:29 +02:00
  • 9cb37bfb4f Add to HORRIBLE UGLY HACKY CODE to make sure barrier pips have outlines baldurk 2016-07-15 14:17:45 +02:00
  • 949f2df9f4 Add more info to assert baldurk 2016-07-15 14:12:42 +02:00
  • f00a0a8a5e Keep image initial states as buffers in CPU memory, copy from there baldurk 2016-07-15 13:26:42 +02:00
  • 48cd7143d7 Track descriptor sets per-cmd-buffer while reading baldurk 2016-07-15 13:24:33 +02:00
  • 3be0d6d1de Fix mistaken memory leak tidy up baldurk 2016-07-15 12:39:42 +02:00
  • f353d852f9 Don't hook into nvidia's opencl driver, it uses wglGetProcAddress baldurk 2016-07-15 00:11:46 +02:00
  • 80bdfe6058 Fix errors and leaks found by valgrind on linux replay host baldurk 2016-07-14 20:37:32 +02:00
  • a7eca41a81 Fix 32-bit compile error baldurk 2016-07-14 20:32:48 +02:00
  • 95e00d58bf Add SIGINT signal handler on linux to cleanly shutdown replay host baldurk 2016-07-13 17:55:47 +02:00
  • 0c55e9374c For platforms printing to stdout/stderr, skip debug msgs & long prefix baldurk 2016-07-13 17:55:21 +02:00
  • 13a6c98143 Handle duplicate semaphores (mesa returns all handles as 0x1 atm) baldurk 2016-07-13 17:07:16 +02:00
  • edf553137c Create all proxy depth textures as depth-bindable and typeless baldurk 2016-07-13 16:49:30 +02:00
  • a7dc5f207f Size readback buffer for initial states based on what we need baldurk 2016-07-13 16:49:10 +02:00
  • bf707845d1 Fix readback copying of depth-stencil images baldurk 2016-07-13 16:46:50 +02:00
  • d4e78f785c Fix stencil pixel picking - it comes back as uint32, not float baldurk 2016-07-13 15:53:15 +02:00
  • ee63587813 Rename IsDepthStencilFormat to IsDepthOrStencilFormat baldurk 2016-07-13 15:53:01 +02:00
  • 504b18ab3f D32S8 type formats are 8 bytes per pixel, not 5. baldurk 2016-07-13 15:52:19 +02:00
  • 28c6105215 On posix systems, set SO_REUSEADDR baldurk 2016-07-13 13:54:25 +02:00
  • d5fd26f267 Make sure the 0 VAO gets properly frame referenced baldurk 2016-07-13 10:35:59 +02:00
  • 23665b6e05 Don't draw an indexed mesh if there is no index buffer available to bind baldurk 2016-07-13 00:40:22 +02:00
  • 532cdcb7a1 Compile fix for appveyor baldurk 2016-07-12 21:55:52 +02:00
  • 61d8060630 Fix QRenderDoc to new replay API call baldurk 2016-07-12 19:54:04 +02:00
  • 99c0177cd9 Remove unused GetUsername() function baldurk 2016-07-12 19:39:41 +02:00
  • 2b5e37b442 Make handling of mips more consistent around locked textures. Refs #292 baldurk 2016-07-12 19:22:17 +02:00
  • 2a68153def Make sure resource context menu items are large enough baldurk 2016-07-12 19:00:37 +02:00
  • 123476fd30 Allow fetching view params (bound mip, etc) for copy/compute. Refs #292 baldurk 2016-07-12 18:48:03 +02:00
  • 53d739c659 Add fallback if miplevel doesn't have a selected value baldurk 2016-07-12 18:41:51 +02:00
  • 80b61b2e37 Fix picked pixel co-ordinates as well as hover co-ords. Refs #300 baldurk 2016-07-12 18:39:10 +02:00
  • 5c53e623df Add win32-specific commands (crash handle, upgrade, global hook) baldurk 2016-07-12 17:34:02 +02:00
  • 90f6a9da20 Remove old code baldurk 2016-07-12 17:05:30 +02:00
  • e66794018c Implement cap32for64 internal command baldurk 2016-07-12 17:05:25 +02:00
  • ced8a62af6 Add replay command (with optional remote replay) baldurk 2016-07-12 16:48:57 +02:00
  • 884c201aff Add replay host command baldurk 2016-07-12 17:11:21 +02:00
  • 73dc89f25a Allow specifying a listen interface and port, for remote replaying baldurk 2016-07-12 15:56:56 +02:00
  • aaa2bd1d7d Check for help in one place rather than every command baldurk 2016-07-12 15:55:47 +02:00
  • 67337b390d Implement capture and inject commands baldurk 2016-07-12 15:32:09 +02:00
  • 120b03e859 On windows, make sure cmd.exe can see the stdout/stderr baldurk 2016-07-12 15:16:39 +02:00
  • 2970f49754 Process capture options common to all capturing commands baldurk 2016-07-12 14:41:45 +02:00
  • 1cb11daf85 Switch base renderdoccmd to dispatch to commands, doing arg parsing baldurk 2016-07-12 14:13:38 +02:00
  • eb9a545104 Move common functions declarations into header baldurk 2016-07-12 14:04:30 +02:00
  • af3cfa8932 Add replay entry point to get git commit hash baldurk 2016-07-12 13:21:41 +02:00
  • 06e4263bad Minor tweaks to cmdline.h to better suit my usage baldurk 2016-07-12 14:43:53 +02:00
  • cfe0e0e78f Modify cmdline.h to compile without warnings, don't use RTTI baldurk 2016-07-12 11:42:32 +02:00
  • f24e3b20d9 Add cmdline.h from https://github.com/tanakh/cmdline baldurk 2016-07-12 11:26:28 +02:00
  • b74b833121 Switch renderdoccmd to use vector<string> for passing args baldurk 2016-07-12 11:22:51 +02:00
  • 2373f0e445 Keep pixel context pixel size at consistent size for mips. Refs #301 baldurk 2016-07-11 18:55:07 +02:00
  • e12d789a83 Fix incorrect use of texture height instead of mip. Refs #300 baldurk 2016-07-11 18:54:22 +02:00
  • 85f4641620 Disable texelFetch entirely on nv - broken with latest glslang baldurk 2016-07-11 18:28:00 +02:00
  • 7a09ab0807 Make sure not to mix and match dispatchable & non- objects. Refs #290 baldurk 2016-07-11 18:03:11 +02:00
  • 951b6287d7 Update descriptor counts for capture-time pool baldurk 2016-07-11 18:02:17 +02:00
  • 9e820723f6 Allow descriptor set updates to 'roll over' between bindings. Refs #295 baldurk 2016-07-11 14:08:32 +02:00
  • 6f3fd03488 Make sure to tidy up render passes created even while capturing baldurk 2016-07-11 13:04:25 +02:00
  • 982273bbd3 Detect and show sample mask failures in pixel history. Refs #296 baldurk 2016-07-11 12:32:49 +02:00
  • e96cfa6282 Show sample mask and blend factor even if NULL state is set. Refs #296 baldurk 2016-07-11 12:32:33 +02:00
  • ef1034c781 Depth/stencil overlays should be trivially passing with no depth bound baldurk 2016-07-11 12:07:53 +02:00
  • 438d945a4f Don't render mesh preview if there's nothing to render baldurk 2016-07-11 11:55:34 +02:00
  • 9ab17f359f Name depth as depth/stencil to account for DS or stencil-as-uint views baldurk 2016-07-11 11:55:25 +02:00
  • ce2b7a88d3 Remove redundant word baldurk 2016-07-11 11:54:58 +02:00
  • fa2287ed21 Fix OPCODE_BUFINFO swizzling and return type. Refs #297 baldurk 2016-07-11 11:39:44 +02:00
  • 49dc23cb7e Add compatibility for loading old layouts with bad checkerboard colours baldurk 2016-07-11 11:28:24 +02:00
  • b260e47c2e Win32 compile fixes baldurk 2016-07-10 20:21:25 +02:00
  • 8bcb9ae249 Speculative compile fix seen on AppVeyor - missing template<> baldurk 2016-07-10 19:07:28 +02:00
  • 6608a965ed Fix sRGB handling on clear colours baldurk 2016-07-10 17:19:18 +03:00
  • f96be406d2 Remove ShutdownSwapchain - redundant vs ReleaseSwapchainResources baldurk 2016-07-10 17:02:58 +03:00
  • 60e11f1802 Implement checkerboard rendering on D3D12 baldurk 2016-07-10 17:02:15 +03:00
  • 1a4ccf775c Release swapchain resources when shutting down swapchain baldurk 2016-07-10 16:43:19 +03:00
  • 8fd872525a Identify backbuffer textures properly and set to non-typeless format baldurk 2016-07-10 16:43:07 +03:00
  • 5420ab3256 Reset allocator after GPU sync to avoid excessive leaking baldurk 2016-07-10 16:42:24 +03:00
  • 0f6f06c5ec Add and release live resources properly during replay baldurk 2016-07-10 16:19:37 +03:00
  • f39b3e727e Set viewport and scissor rects properly when rendering baldurk 2016-07-10 16:12:46 +03:00
  • 7ccd3fe98f Don't cast command list/queue to TrackedResource - not inherited baldurk 2016-07-10 16:12:31 +03:00
  • b12dcbb869 Return texture and buffer information on replay, mark unimplemented fns baldurk 2016-07-10 16:12:09 +03:00
  • 4268d8f58f Remove structure size and redundant 32-bit length field from FetchBuffer baldurk 2016-07-10 15:31:20 +03:00
  • b9600e6f28 Fix refcounting around swapchain resizing on D3D12 baldurk 2016-07-10 14:49:17 +03:00
  • 1f1467b06b Fix DXGI hooking for D3D11 baldurk 2016-07-10 14:48:50 +03:00
  • 2fec42b3f2 Disable multisampling for now baldurk 2016-07-10 14:30:57 +03:00
  • 7d50aad4d7 Implement RenderTexture() (in a hacky way) baldurk 2016-07-08 20:42:06 +03:00
  • ad998a4e8b Keep a list of resources baldurk 2016-07-08 20:41:22 +03:00
  • a09ac13f36 Unwrap heaps for SetDescriptorHeaps baldurk 2016-07-08 20:39:53 +03:00
  • 758933bb73 Set most texture display properties before searching texture list baldurk 2016-07-08 19:39:54 +03:00
  • 57fe3e4fd5 Make internal command list etc wrapped, support multiple record lists baldurk 2016-07-08 19:39:28 +03:00
  • 14591e6a00 Move pixel debug pixel cbuffer to slot 1 so it doesn't overlap in D3D12 baldurk 2016-07-08 18:53:57 +03:00