Commit Graph

1818 Commits

Author SHA1 Message Date
baldurk 96de708f1a Change dll name 2016-02-07 18:38:52 +01:00
baldurk 80838eb216 Set platform in surface description correctly 2016-02-07 18:38:51 +01:00
baldurk 73ef2a883e Some missed elements to serialise in buffer and image create info 2016-02-07 18:38:50 +01:00
baldurk 0d23bdc7a0 Serialise VkPhysicalDeviceFeatures that somehow got missed 2016-02-07 18:38:49 +01:00
baldurk c8fdcb0351 Fix for multiple physical devices being enumerated 2016-02-07 18:38:48 +01:00
baldurk b3dcc06859 Temporary ultra hack windows vulkan hooks 2016-02-07 18:38:47 +01:00
baldurk d9d90097ad Start tracking current state 2016-02-07 18:38:47 +01:00
baldurk 332c5e4289 Implement a rather hacky PickPixel implementation 2016-02-07 18:38:46 +01:00
baldurk 32f26ce864 Add vkCmdClearColorAttachment as a possible drawcall 2016-02-07 18:38:45 +01:00
baldurk d7566dd5fc Initial support for partially replaying command buffers 2016-02-07 18:38:44 +01:00
baldurk 0f391cb926 Fix up EIDs a little being off-by-one, and track first/last EIDs 2016-02-07 18:38:43 +01:00
baldurk e0c1563a45 Properly assign EIDs/draw IDs to cmd buffers under queue submits
* This also means the EIDs can be consistent between initial read and
  execute.
2016-02-07 18:38:42 +01:00
baldurk 1599875803 Ensure ordering that cmd buffers are disjoint, and first in capture data 2016-02-07 18:38:41 +01:00
baldurk 6926cba989 Add command buffers under queue submit (eventIDs muddled atm) 2016-02-07 18:38:41 +01:00
baldurk 051470e616 Add drawcalls under a vkBeginCommandBuffer 2016-02-07 18:38:40 +01:00
baldurk e4db8252fd Disable swapchain resizing as it crashes currently 2016-02-07 18:38:39 +01:00
baldurk b416b8c0f9 Fix for linux build and use SerialiseComplexArray where possible 2016-02-07 18:38:38 +01:00
baldurk ac0e87ce6a categorise VKTODO into low/med/high in rough priority order 2016-02-07 18:38:37 +01:00
baldurk 5e627f6a81 Compile fixes for windows
* Even though nothing runs on windows, it's better for doing some
  refactoring.
2016-02-07 18:38:36 +01:00
baldurk 6697ce2d95 device memory initial state support. Don't intercept non-frame maps 2016-02-07 18:38:35 +01:00
baldurk 00a2a7e3ae Remove log statement 2016-02-07 18:38:34 +01:00
baldurk 9d630e05c2 Add hopefully proper frame reference marking. Also cmd buffers in-frame 2016-02-07 18:38:34 +01:00
baldurk 3a9096749c Add utility MarkResourceFrameReferenced taking VkResource param 2016-02-07 18:38:33 +01:00
baldurk bf0e12a497 Move most objects to their own resource records, ditch m_DeviceRecord
* It's mostly a legacy concept anyway. m_InstanceRecord is kept for a
  couple of things - physical devices and devices and always ref'd.
2016-02-07 18:38:32 +01:00
baldurk 20942a7a5f Remove old half-converted functions. They'll bitrot so better to rewrite 2016-02-07 18:38:31 +01:00
baldurk 1a214c3dd1 change auto-framecap frame number 2016-02-07 18:38:30 +01:00
baldurk 26c0a4d2bf Store instance parameters in VkInitParams 2016-02-07 18:38:29 +01:00
baldurk eb57f46940 Don't need to add actual record as parent, just baked commands 2016-02-07 18:38:28 +01:00
baldurk 49ce06d72a Only record maps the first couple of times, or when capturing
* Note - for proper behaviour this now needs dirtying & initial states.
2016-02-07 18:38:28 +01:00
baldurk e901e91cfa Make sure context-type chunks are only recorded when capturing 2016-02-07 18:38:27 +01:00
baldurk 63a486ad2d remove todo that's no longer relevant 2016-02-07 18:38:26 +01:00
baldurk 77fd0635c6 remove VKTODO that's been done 2016-02-07 18:38:25 +01:00
baldurk cfe960fb9a Better name for serialised element in optional object 2016-02-07 18:38:24 +01:00
baldurk ff4b346a3a Serialise specialization info 2016-02-07 18:38:23 +01:00
baldurk 801f31d79c Select current physical device at capture time as well 2016-02-07 18:38:23 +01:00
baldurk 4e32103b53 As temp hack, clear backbuffer to magent before replaying
* This is mostly just so we can see writes happening or not.
2016-02-07 18:38:22 +01:00
baldurk cbe7a2ad8e Ensure 1:1 BindOutputWindow to FlipOutputWindow, for now
* Later FlipOutputWindow will probably acquire then present, but atm
  Bind acquires and Flip presents.
2016-02-07 18:38:21 +01:00
baldurk 1af4b74fe9 Super duper simple D3D11 pipe state returned, just for testing 2016-02-07 18:38:20 +01:00
baldurk 2962764bac Make sure to correctly identify the physical device to use 2016-02-07 18:38:19 +01:00
baldurk 1fd451e907 Remove locked tabs because they're irritating while they're just a test 2016-02-07 18:38:18 +01:00
baldurk 6eef0e0649 Pass screen index (so you can guess 0), fix Qt to display 2016-02-07 18:38:17 +01:00
baldurk 2c34df1e64 implement vkCmdBindVertexBuffers and vkFreeDescriptorSets 2016-02-07 18:38:17 +01:00
baldurk 1b6c7d6c65 Properly init dbg callback on replay 2016-02-07 18:38:16 +01:00
baldurk 67584e37d8 Serialise image/buffer usage 2016-02-07 18:38:15 +01:00
baldurk a85929db0c Try copying from fake backbuffer in replay 2016-02-07 18:38:14 +01:00
baldurk ab7a5b6c68 Set specialization info to NULL for now 2016-02-07 18:38:13 +01:00
baldurk 95cbb76cc2 Implement WSI on replay code. Use xcb instead of xlib. 2016-02-07 18:38:12 +01:00
baldurk 6a6273e591 Temporarily make renderdoccmd use xcb, as xlib isn't supported by ICD 2016-02-07 18:38:12 +01:00
baldurk 406e06d943 ultra hack to propogate WSI extensions on replay 2016-02-07 18:38:11 +01:00
baldurk d99f32cd08 Add extra debug print 2016-02-07 18:38:10 +01:00