Commit Graph

  • 6bdf285166 Use consistent serialiser pointer baldurk 2015-10-30 13:27:34 +01:00
  • 7769e1d672 Change API events view to show { } sections in sub-nodes baldurk 2015-10-30 10:59:17 +01:00
  • 685032e78c Store renderpass load/store ops and display in drawcall names baldurk 2015-10-30 10:42:51 +01:00
  • dd57110036 Make a drawcall for render pass end baldurk 2015-10-29 18:52:52 +01:00
  • 1d092f6b87 Remove some VKTODOs that are judged not relevant anymore baldurk 2015-10-29 18:39:27 +01:00
  • 7b952c53ef Move loadmodule/getprocaddress code into os_specific baldurk 2015-10-29 18:08:48 +01:00
  • 55914f99ae GL hooks no longer need to be disabled - just don't hook nv VK driver baldurk 2015-10-29 17:42:26 +01:00
  • 6da044ae0a Remove hardcoded hack to clear backbuffer to black baldurk 2015-10-29 17:34:02 +01:00
  • da15b25789 Handle image dirty & initial state tracking more correctly baldurk 2015-10-29 17:09:37 +01:00
  • 97527d273d Add memory creation info baldurk 2015-10-29 16:44:46 +01:00
  • a87587e91f Memory no longer needs to be dirty from creation, tracking correctly now baldurk 2015-10-29 12:46:03 +01:00
  • 518a86b4a4 Remove hack to propogate frame references to memory, track them properly baldurk 2015-10-29 12:42:35 +01:00
  • abe9696973 Reduce debug-print spam for dirty resources baldurk 2015-10-29 11:51:52 +01:00
  • da447ba5d9 Fixes for coherent persistent maps and multiple frame capture baldurk 2015-10-30 13:58:34 +01:00
  • 0d66a78105 only flush pending dirty resources while idle baldurk 2015-10-29 11:52:04 +01:00
  • 198ab2b714 Check descriptor sets are in range when iterating layout, warn otherwise baldurk 2015-10-29 16:29:37 +01:00
  • 24ad3356dd Deserialise fix - make sure scoping doesn't delete data we need baldurk 2015-10-29 15:44:34 +01:00
  • 25c5de8c85 Make sure resource records are deleted as most specific type baldurk 2015-10-29 01:16:15 +01:00
  • 63e0cc3f39 Use correct uniform buffer alignment instead of hardcoded 256 baldurk 2015-10-28 23:13:12 +01:00
  • c54b17284c Remove some VKTODOs baldurk 2015-10-28 22:11:23 +01:00
  • 4211cd7359 Remove VKTODOs that aren't needed anymore baldurk 2015-10-28 20:48:50 +01:00
  • 900d65b770 Refactor out start/end frame capture from present code baldurk 2015-10-28 19:40:58 +01:00
  • c1959102c8 Rename GenericPipeline to HighlightBoxPipeline as it uses line lists baldurk 2015-10-28 17:12:39 +01:00
  • 67d97f4a10 Change text rendering back to instanced triangle strips baldurk 2015-10-28 17:10:34 +01:00
  • ed70b4b58e Remove VKTODO - image layout no longer part of framebuffer attachment baldurk 2015-10-28 16:31:01 +01:00
  • fa5bc912de Tweak handling of sType/pNext. Currently not much to do baldurk 2015-10-28 16:26:58 +01:00
  • 78106d4efd Vulkan frame captures can't fail (will always have map/cmd list ready) baldurk 2015-10-28 16:02:43 +01:00
  • eee443ec78 Update a couple of VKTODOs baldurk 2015-10-23 19:16:53 +02:00
  • 0da2d93304 Clean up instance/device/queue handling and init & shutdown order baldurk 2015-10-23 18:55:11 +02:00
  • 5b6717042b Start tidying up init/shutdown order and instance/physdevice/device code baldurk 2015-10-23 15:13:47 +02:00
  • d38741e9ab Create a WrappedVulkan per VkInstance and indirect to find it in layer baldurk 2015-10-23 15:13:28 +02:00
  • 24aa8b3daf Remove singleton from VulkanResourceManager, pass it where needed baldurk 2015-10-23 13:20:28 +02:00
  • 66416cc2d9 Remove replay information union - doesn't seem like we'll use it baldurk 2015-10-23 13:03:34 +02:00
  • 0cd6d00b86 Fix for Deserialise - don't modify serialised struct baldurk 2015-10-28 23:44:00 +01:00
  • 29b78d3620 Use swapchain from present call, if it's available baldurk 2015-10-28 15:37:49 +01:00
  • f9b69b1002 QRenderDoc: Fetch texid to display correctly for Present() calls baldurk 2015-10-28 14:54:42 +01:00
  • 5363a6b9d2 Linux compile fixes baldurk 2015-10-28 14:15:20 +01:00
  • 6641c534ce Comment out BGRA channel swizzle baldurk 2015-10-23 12:39:55 +02:00
  • 1117c2760d Fix wrong loop baldurk 2015-10-23 12:31:08 +02:00
  • 49ef739761 Remove a VKTODO that's done baldurk 2015-10-23 11:25:01 +02:00
  • cc904d9a4a Remove some TODOs that aren't needed baldurk 2015-10-23 11:18:05 +02:00
  • e1977a14f8 Add outputMask/inputMask to replay transitions from AMD 0.2.3 testing baldurk 2015-10-23 11:13:56 +02:00
  • 3c2f72e0ef For now, set image view channel swizzle to match BGRA formats baldurk 2015-10-23 11:09:43 +02:00
  • b2b8822dfa Add outputmask to text atlas memory barrier baldurk 2015-10-23 11:07:46 +02:00
  • cc7647b990 Add global memory barrier after init state application baldurk 2015-10-23 11:06:24 +02:00
  • 6a82c8639d Make sure images always have the transfer dest usage bit baldurk 2015-10-23 11:04:55 +02:00
  • 944bad84b9 Set a compatible renderpass on graphics pipeline creation baldurk 2015-10-23 11:04:41 +02:00
  • b03a1df2fe Fix CmdUpdateBuffer to handle ring-buffering of UBO.. baldurk 2015-10-23 10:49:07 +02:00
  • 6ec36d6695 Implement drawcall highlight and wireframe texture overlays baldurk 2015-12-31 22:36:10 +01:00
  • b41e8edfae Move TLS initialisation to constructor so it's available on replay too baldurk 2015-10-22 23:49:12 +02:00
  • a122385c89 Check for and enable needed physical device features baldurk 2015-10-22 23:48:58 +02:00
  • 08876581f7 Add some extra pipeline data to creation info struct baldurk 2015-10-22 23:48:42 +02:00
  • 30c30ca807 Make sure to init creation info for replay-time object creation baldurk 2015-10-22 23:43:18 +02:00
  • 07777e0e41 Add partial handling for doing WithoutDraw/OnlyDraw log replays baldurk 2015-10-22 18:03:46 +02:00
  • fb65217a10 Do overlay render (for now just fixed colour) baldurk 2015-10-22 15:25:19 +02:00
  • 4b33e0957d Ring buffer tex display descriptor sets, so multiple images can be drawn baldurk 2015-10-22 15:23:18 +02:00
  • 11ce77e8cd Ring buffer UBO updates to avoid needing to flush after each use baldurk 2015-10-22 15:01:17 +02:00
  • 23142d9be2 Do any ResetCommandBuffer inside GetNextCmd() baldurk 2015-10-22 13:27:18 +02:00
  • c8d78b9f38 Tidy up some VKTODOs in texture display code baldurk 2015-10-22 12:01:38 +02:00
  • b389a4b349 Fix outline strip vertex buffer baldurk 2015-10-22 11:56:49 +02:00
  • fb910e1137 Set cube flag properly baldurk 2015-10-22 11:19:58 +02:00
  • db3c50a5ec Use live ID instead of original ID to index maps like creation info etc baldurk 2015-10-22 11:15:43 +02:00
  • c50fd9af9b Memory leaks in replay UI seem to be gone... baldurk 2015-10-21 17:37:19 +02:00
  • 3f466bc2cb Slightly better/more 'correct' event synchronisation handling baldurk 2015-10-21 17:27:49 +02:00
  • 5bce6cf75b Split m_ImageInfo into creationinfo and just imagelayouts baldurk 2015-10-21 15:40:27 +02:00
  • 9fb9b59c32 Move m_MemoryInfo to m_CurrentMaps and ensure correct locking baldurk 2015-10-21 15:15:31 +02:00
  • 98808226bb Split cmdbuffer data into stuff under resource record, and replay state baldurk 2015-10-21 14:43:26 +02:00
  • deea8362db Move object names to creation info, rename replay side maps for clarity baldurk 2015-10-21 14:21:43 +02:00
  • 0ff8501561 Move swapchain info either under resource record or into creationinfo baldurk 2015-10-21 14:16:58 +02:00
  • 1f42e54145 Move shadermodule/shaderinfo into creationinfo, which is replay-only baldurk 2015-10-21 14:05:41 +02:00
  • d253335f3e Minor cleanup and gather all the global maps together, for refactoring baldurk 2015-10-21 13:26:42 +02:00
  • 04a2e2ad2a Add (slightly hacky) clearing of init contents after capture baldurk 2015-10-21 13:11:57 +02:00
  • ff26fabc7f Batch up internal queue submits with multiple cmd buffers baldurk 2015-10-17 13:59:58 +02:00
  • b12ef92da7 Cache image views created for displaying images baldurk 2015-10-17 13:26:03 +02:00
  • 2770e424ca Mark that swapchain resizing works and doesn't crash anymore baldurk 2015-10-16 19:32:12 +02:00
  • e35f8acd7a Mark that SRGB correctness is mostly done baldurk 2015-10-16 19:31:52 +02:00
  • 70b1d241b0 Finish the vulkan pipeline display baldurk 2015-10-16 17:50:24 +02:00
  • e838f0841d Fill out dynamic state with pipeline state values, if not set as dynamic baldurk 2015-10-16 17:17:34 +02:00
  • 2907d1a309 Implement IsRenderOutput now that we have a pipeline state baldurk 2015-10-16 15:17:02 +02:00
  • 9d3202ae5f Don't conflict between C# UI and replay output flipping pixel context baldurk 2015-10-16 15:02:44 +02:00
  • 91ac384736 Make sure we always do BindOutputWindow/FlipOutputWindow pairs of work baldurk 2015-10-16 14:13:52 +02:00
  • b319929f39 Make sure swapchain images are given TRANSFER_SOURCE usage baldurk 2015-10-16 13:59:23 +02:00
  • 8f91342f33 Check memory requirements for buffers when preparing initial state baldurk 2015-10-16 13:22:21 +02:00
  • 1068288a17 Remove some outdated VKTODOs baldurk 2015-10-16 12:46:22 +02:00
  • 6a208e608c Add vulkan pipeline state to replay proxy serialising baldurk 2015-10-16 12:23:15 +02:00
  • 2e08ef8ef5 32-bit compile warning fix baldurk 2015-10-16 12:22:25 +02:00
  • ad59636cde Clarify that there are leaks on capture and replay baldurk 2015-10-16 11:03:52 +02:00
  • b1b6e29162 Free memory for initial states, and our own command pool baldurk 2015-10-16 10:54:53 +02:00
  • a9bf0a2538 Destroy debug manager and serialiser on shutdown baldurk 2015-10-16 10:28:03 +02:00
  • 347cd67354 Make sure to delete buffers after use baldurk 2015-10-16 10:27:53 +02:00
  • 7a63e824cc Make sure images always have SAMPLED and TRANSFER_SOURCE usage bits baldurk 2015-10-15 19:47:19 +02:00
  • 963986b9e9 Do swapchain resizing properly and re-enable thumbnails (working now?!) baldurk 2015-10-15 19:30:14 +02:00
  • 4336722e34 Tidy up FetchTexture data for vulkan, fill out all fields properly baldurk 2015-10-15 18:12:25 +02:00
  • 313f53a820 Remove stored fake backbuffer data, display backbuffer on present calls baldurk 2015-10-15 16:58:55 +02:00
  • 19a13eefee Allow multiple frame capture baldurk 2015-10-15 16:37:13 +02:00
  • e841bd9969 Implement proper pixel picking via RenderTexture & F32 readback baldurk 2015-10-15 14:23:53 +02:00
  • 4ebbf09364 Get replay to display textures in gamma-correct fashion baldurk 2015-10-15 13:05:04 +02:00
  • 64be44bf8b Fix mip display of textures baldurk 2015-10-15 12:04:56 +02:00
  • feec902280 Implement remaining API functions baldurk 2015-10-14 20:42:25 +02:00
  • b3d06da6a0 Implement more Cmd functions. CmdExecuteCommands is stubbed out baldurk 2015-10-14 13:15:03 +02:00