Commit Graph

  • f975b7e92f Return frame record by reference baldurk 2016-07-08 18:16:46 +03:00
  • cd7c751e2c While we only have one command list, sync after each execution baldurk 2016-07-08 18:02:16 +03:00
  • b956568215 Can't wrap virtual addresses - they can be byte offsetted. baldurk 2016-07-08 18:01:48 +03:00
  • 84e5bf3a7e Use flip model for swapchain, render to intermediate target then copy baldurk 2016-07-08 17:16:25 +03:00
  • 9d9c90456b Only create debug manager once baldurk 2016-07-08 17:15:48 +03:00
  • 6d2343cb29 Register D3D device DXGI callback on replay too baldurk 2016-07-08 16:18:37 +03:00
  • 8f1bad6de4 Fix typo - don't try to use wrong device pointer baldurk 2016-07-08 16:18:25 +03:00
  • 9cd6b1ead2 Close list immediately after creation, so it can always be reset on use baldurk 2016-07-08 16:18:07 +03:00
  • 15aaf56781 Create fake backbuffer texture baldurk 2016-07-08 16:17:52 +03:00
  • 54c45355f7 Set up serialise user data and replay device pointers properly baldurk 2016-07-08 16:17:37 +03:00
  • 295a315840 Only get command list IDs when writing baldurk 2016-07-08 16:17:16 +03:00
  • 925445c8b0 Don't reset newly created command lists (it's not valid) baldurk 2016-07-08 16:17:06 +03:00
  • 48e52c12f7 Mark signalled fences as referenced baldurk 2016-07-08 16:16:46 +03:00
  • fa600dbb34 Fix small typos processing queue/list chunks baldurk 2016-07-08 16:16:36 +03:00
  • 8a5ee99b42 Set up descriptor type properly when serialising in baldurk 2016-07-08 16:16:21 +03:00
  • 5a68bbf3a7 Don't serialise bytecode buffer if size is 0 - leave pointer as NULL baldurk 2016-07-08 16:16:12 +03:00
  • ba9321e796 Use macro for extracting swizzle components baldurk 2016-07-08 16:16:01 +03:00
  • 37811402b3 Create factory independently, rather than obtaining from device baldurk 2016-07-08 16:15:49 +03:00
  • a7f3ea725d Handle enabling debug layer while reading, when hooks aren't initialised baldurk 2016-07-08 16:14:43 +03:00
  • 621a2c984d Fix initial state serialisation/application baldurk 2016-07-08 16:14:21 +03:00
  • 5a4c22e291 Implement descriptor creation, post-serialise baldurk 2016-07-08 16:12:21 +03:00
  • ade23cc7a0 Minor formatting improvements baldurk 2016-07-08 16:12:09 +03:00
  • 5c963fc6a6 Add mostly stubbed D3D12 replay interface, and 2 core chunk replay loops baldurk 2016-07-08 13:26:45 +03:00
  • 89f40fb0df Fetch, serialise, and apply initial contents of buffer resources baldurk 2016-07-07 19:15:33 +03:00
  • e1fcde1d71 Track resource states for initial states, apply barriers while recording baldurk 2016-07-07 18:15:25 +03:00
  • 3a3c2abd8a Fixup RDCDriver out of date string-ify baldurk 2016-07-07 17:03:26 +03:00
  • 97e36a8def Track initial contents, with things treated as default dirty. baldurk 2016-07-07 17:03:04 +03:00
  • 297fe80b79 Add remaining parent and dependency tracking to serialise frame baldurk 2016-07-07 15:33:16 +03:00
  • 4d394bcdce Serialise ID3D12Resource* as ResourceId properly baldurk 2016-07-07 13:49:59 +03:00
  • ae29c41e67 Add putting together an actual capture file. Give resources records baldurk 2016-07-07 13:29:17 +03:00
  • a7f6b62bcf Inline some functions that don't need to be separate baldurk 2016-07-07 12:21:20 +03:00
  • d177d5e3c8 Remove unused stuff from D3D12ResourceRecord baldurk 2016-07-07 12:21:05 +03:00
  • e043ab6cd6 Serialise the 'this' pointer for command list chunks baldurk 2016-07-07 12:20:49 +03:00
  • 723c6e065e Minor ToStr fixes baldurk 2016-07-07 12:20:01 +03:00
  • f56d3e7779 Add text log every second until overlay is implemented baldurk 2016-07-07 11:21:29 +03:00
  • 4160f3a776 Wrap virtual address and descriptor handles, serialise as heap ID + idx baldurk 2016-07-06 18:58:46 +03:00
  • 9f7dd21f1b Wrap remaining interfaces for HelloWorldD3D12. baldurk 2016-07-06 16:38:18 +03:00
  • a0983b64a4 Serialise the command list/queue functions HelloWorldD3D12 uses baldurk 2016-07-06 15:38:26 +03:00
  • f3216b38f5 Tweak string name of ResourceId to be all one word for easier searching baldurk 2016-07-06 15:30:08 +03:00
  • 983e8f57c0 Include min/max depth in string format of D3D11_VIEWPORT baldurk 2016-07-06 15:29:35 +03:00
  • 34755927b9 Add a packed descriptor structure for storing into baldurk 2016-07-06 14:38:03 +03:00
  • 11823a306d Intercept, serialise and wrap pipeline state creation baldurk 2016-07-06 12:42:56 +03:00
  • 3a65091b3c Wrap and intercept command lists and queues, and add a couple of unwraps baldurk 2016-07-05 19:32:25 +03:00
  • f8fa72c305 Add safety code for now, to handle unwrapping non-wrapped resources baldurk 2016-07-05 19:21:46 +03:00
  • d656511d0f Don't register callback while still running global constructors baldurk 2016-07-05 19:21:21 +03:00
  • c1f4a01b1b D3D12 object passed to CreateSwapChain and friends is a command queue baldurk 2016-07-05 18:25:48 +03:00
  • 6ce0ea37dc Set up pass-through implementations for D3D12 device/command list baldurk 2016-07-05 17:44:07 +03:00
  • b387f8e7f1 Add file for non-wrapped command list/queue functions baldurk 2016-07-05 17:19:13 +03:00
  • d980da3b60 Rename file for wrapped functions baldurk 2016-07-05 17:17:19 +03:00
  • fae1212ea0 Add support for IAT hooking imports via ordinal. Needed for D3D12 baldurk 2016-07-05 17:12:43 +03:00
  • 72006dbfcd Make sure to cast to the correct return type. baldurk 2016-07-05 17:12:27 +03:00
  • e2cec61cb0 Add skeleton wrappers for the remaining D3D12 interfaces baldurk 2016-07-05 15:53:11 +03:00
  • 3407d4744e Rename two D3D11 classes to avoid link collisions with D3D12 classes baldurk 2016-07-05 15:52:51 +03:00
  • 66524a7330 Move common code into DXGI out of D3D11, to share with D3D12 baldurk 2016-07-05 15:52:12 +03:00
  • b505cfaceb Add initial skeleton of D3D12 support baldurk 2016-07-05 12:23:21 +03:00
  • 9a3c3961dd Remove unused debug lock baldurk 2016-07-09 20:39:00 +02:00
  • 990210feda Fix a clang-format issue that snuck through baldurk 2016-07-05 12:13:26 +02:00
  • 5bdde0c74f Travis: Re-enable clang-format checks with restored LLVM apt repo baldurk 2016-07-05 12:02:51 +02:00
  • c7f2391d10 Just in case, handle histogram or minmaxtile pipelines being missing baldurk 2016-07-04 13:01:41 +02:00
  • 7df7f5fa3c Skip drawcalls that have numInstances == 0 from PostVS baldurk 2016-07-04 13:01:29 +02:00
  • 3e171f7f79 Remove top-most windows, we shouldn't have any (just above-rest-of) baldurk 2016-07-04 10:59:11 +02:00
  • 92d2fe0db9 Add temporary glslang warning fixes baldurk 2016-06-28 19:10:04 +02:00
  • 2b80776d5c Add -Wno-unknown-warning-option for older clang versions baldurk 2016-06-28 19:09:38 +02:00
  • 9733f7772d Update glslang to upstream commit 5bc4d9a26ff9 baldurk 2016-06-28 18:59:05 +02:00
  • 6854c5bf96 Deliberately leak logfile string storage, so it's always around baldurk 2016-06-28 18:23:41 +02:00
  • af27e0de3b Add warning suppression for clang too baldurk 2016-06-28 18:14:53 +02:00
  • 8b79a213b7 Posix vulkan should refer to libvulkan.so.1, not libvulkan.so baldurk 2016-06-28 18:14:46 +02:00
  • 296a4d170b Check for presence of extensions/layers, and platform surface extensions baldurk 2016-06-28 18:14:31 +02:00
  • 46daa01490 Implement OSUtility::DebuggerPresent on non-windows platforms baldurk 2016-06-28 18:04:43 +02:00
  • a16aa19610 Add new OS files to visual studio projects baldurk 2016-06-28 18:03:01 +02:00
  • bbc68b9248 Fix SPIR-V disassembly crash with matrix double index: matrixVar[x][y] baldurk 2016-06-28 14:16:33 +02:00
  • e8b3400ebb Fix crash if tex doesn't have any settings yet baldurk 2016-06-28 11:38:07 +02:00
  • 209986a0a0 Don't error, and don't dump data for DXBC custom class data. baldurk 2016-06-27 11:57:47 +02:00
  • edbd1ce89b Pass through view format as a type hint to texture display/sampling baldurk 2016-06-27 11:56:31 +02:00
  • e160457abb Fixed null exception if Reset01 is clicked with no active texture. EecheE 2016-06-25 18:51:58 -07:00
  • c52e763e8c Changed default histogram range to [-1,+1] for snorm textures. EecheE 2016-06-25 17:14:41 -07:00
  • 259d60231f Fix delete being in the wrong place baldurk 2016-06-25 01:45:11 +02:00
  • 3f4ec852ba Pass through image layouts for vulkan and display in tooltips. Refs #199 baldurk 2016-06-24 17:54:41 +02:00
  • 307cee89fe Adjust columns in vulkan shader resource UI to make a bit more space baldurk 2016-06-24 16:55:24 +02:00
  • 377e07374b Add (semi-experimental) highlight & info for non-trivial resource views baldurk 2016-06-24 16:32:32 +02:00
  • 27bbbc39a4 Pass through number of mips/layers in Vulkan image views baldurk 2016-06-24 16:31:04 +02:00
  • bf03ef4a8f Set defaults so non-array views etc have ArraySize = 1 baldurk 2016-06-24 15:36:02 +02:00
  • d9b9e70ebb Set ArraySize for cube SRVs in multiples of 6 (since it's NumCubes) baldurk 2016-06-24 15:35:45 +02:00
  • 75590986ee Fix potential crash with TreeListView.InvokeRequired not being right baldurk 2016-06-24 15:35:17 +02:00
  • 4b674425c5 Fix some formats not being marked as typeless baldurk 2016-06-24 15:35:00 +02:00
  • 005a9ee226 Display swizzles on image views in vulkan pipeline view baldurk 2016-06-24 13:09:06 +02:00
  • f35a4c6b6b Use view format instead of resource format for Vulkan baldurk 2016-06-24 12:34:11 +02:00
  • d4ff92755a Display multisample count for MSAA textures in states baldurk 2016-06-24 12:14:22 +02:00
  • 9826ba6848 For D3D11 use the view's format not the resource's, for typeless formats baldurk 2016-06-24 12:11:22 +02:00
  • d72e7401b0 Back out 01bffe6a0 so that typeless formats are visible. baldurk 2016-06-24 11:49:07 +02:00
  • 9dbcaaf96b Add failure handling to vulkan swapchain creation. baldurk 2016-06-24 11:32:15 +02:00
  • b59199aa91 Check for D3D11 R/W bind conflicts at subresource granularity. Refs #244 baldurk 2016-06-23 19:45:15 +02:00
  • a8457b56f6 Display required bytes of constant buffer if it differs from buffer size baldurk 2016-06-23 16:20:37 +02:00
  • 0c3a7200fd Always view raw buffers as xint baldurk 2016-06-23 12:17:17 +02:00
  • 6c0527227a Allow raw loads/stores to come from any components. Refs #288 baldurk 2016-06-23 12:11:02 +02:00
  • f00049bed3 Fixup display&export of byte address and structured (with/no counter) baldurk 2016-06-23 11:46:32 +02:00
  • bbce7478de Add missing operand in disassembly for dcl_resource_raw baldurk 2016-06-23 11:22:23 +02:00
  • 7d843898e3 For byte address buffers, convert element numbers to bytes. Refs #287 baldurk 2016-06-23 11:20:07 +02:00
  • 745df431db Remove unused debug trace line baldurk 2016-06-23 11:19:43 +02:00
  • eb9684d355 Fix pips drawing incorrectly. baldurk 2016-06-23 11:19:37 +02:00