Commit Graph

2071 Commits

Author SHA1 Message Date
baldurk 448df65773 Protect against framebuffer being unset when not in valid pipeline state 2016-02-07 18:42:29 +01:00
baldurk 495632034f Just copy events, don't bother filtering by context 2016-02-07 18:42:28 +01:00
baldurk ed09035b26 Be very careful about order of object destruction to avoid races 2016-02-07 18:42:27 +01:00
baldurk 8bc874d973 Don't mark any resource dirty while capturing a frame 2016-02-07 18:42:26 +01:00
baldurk 7107fd5825 Remove a redundant debug print statement 2016-02-07 18:42:25 +01:00
baldurk e47b467b31 Lock around PrepareInitialContents 2016-02-07 18:42:24 +01:00
baldurk 8ee604041a Remove locks from vulkan entry points 2016-02-07 18:42:23 +01:00
baldurk 96b2368381 If LoadLibrary is called with flags == 0 and module's loaded, do nothing
* In this case we don't have to rehook anything. Only if a new module
  is loaded should we do any work.
2016-02-07 18:42:22 +01:00
baldurk 78fc832722 Don't copy debug string if there's nothing there 2016-02-07 18:42:22 +01:00
baldurk f930d6f7eb Take out debug text in release builds 2016-02-07 18:42:21 +01:00
baldurk 1167dc641b Use main serialiser properly instead of threaded 2016-02-07 18:42:20 +01:00
baldurk 360d845ce0 Add TLS handling to os specific layer 2016-02-07 18:42:19 +01:00
baldurk 8b595f5f43 Move serialiser to locally cached variable per-function invocation 2016-02-07 18:42:18 +01:00
baldurk b1cf7d98db Change serialisation to use GetSerialiser() instead of m_pSerialiser 2016-02-07 18:42:17 +01:00
baldurk 65011ebcfa Pass scoped context name/type directly, don't combine into temp string 2016-02-07 18:42:16 +01:00
baldurk 607b8d48c9 Remove 'debug' serialiser that synchronously flushes out debug text 2016-02-07 18:42:15 +01:00
baldurk 25615d2e34 Remove redundant serialiser parameter 2016-02-07 18:42:14 +01:00
baldurk 58ac9dbe95 Compile fixes for linux 2016-02-07 18:42:13 +01:00
baldurk 48248c460c Update qrenderdoc to handle vulkan pipeline state 2016-02-07 18:42:13 +01:00
baldurk 8b23082228 Fix missing serialisation of VkBufferImageCopy members 2016-02-07 18:42:12 +01:00
baldurk 238efe31f1 List resources for texture viewer to pick up 2016-02-07 18:42:11 +01:00
baldurk 33fd37282b Clear resource previews to black while thumbnails are still disabled 2016-02-07 18:42:10 +01:00
baldurk 233aa3d14b Fix to actually fetch memory id if it's available 2016-02-07 18:42:09 +01:00
baldurk f660bdd807 For now, blat resources out into a list by string
* This will do until I figure out how to layout the pipeline viewer
  for resources.
2016-02-07 18:42:08 +01:00
baldurk 5bb66392b0 Set num subresources correctly for textures 2016-02-07 18:42:07 +01:00
baldurk a25d07cf59 Display cbuffer contents within vulkan pipe viewer
* For now, we just assume that cbuffers are tightly packed according to
  D3D11 rules (matrices, structs, float3/4 are all float4 aligned), and
  once final SPIR-V is generated everything should have explicit
  offsets, strides, and sizes
2016-02-07 18:42:06 +01:00
baldurk 0a0e948e40 Add shader word highlighting for SPIR-V 2016-02-07 18:42:06 +01:00
baldurk f83ce77e1c Remove debug code 2016-02-07 18:42:05 +01:00
baldurk 840d134262 Disassemble bitcast/convert operations 2016-02-07 18:42:04 +01:00
baldurk 15f928f7fe Fix typo 2016-02-07 18:42:03 +01:00
baldurk 7436e83f43 Add custom printf formatter flag to always print at least .0 on floats 2016-02-07 18:42:02 +01:00
baldurk e9ad2418b4 Ensure inlining doesn't rearrange across modifications, merge store/load 2016-02-07 18:42:01 +01:00
baldurk 458ad0dd4c Tweak inlining for composite extract/construct 2016-02-07 18:42:00 +01:00
baldurk a91a784a8d Add other texture sample instructions 2016-02-07 18:41:59 +01:00
baldurk 1c6f8107f7 Typo fix 2016-02-07 18:41:59 +01:00
baldurk fc0d2b9d66 Implement OpCompositeConstruct 2016-02-07 18:41:58 +01:00
baldurk 4e13c6c38e Fix store/copy not printing destination properly 2016-02-07 18:41:57 +01:00
baldurk 306cf7fcc0 Tweak scalar/vector constant display to be a little nicer 2016-02-07 18:41:56 +01:00
baldurk 9fbe539f0b A few tweaks to inlining complexity and store/loads 2016-02-07 18:41:55 +01:00
baldurk aa93f523ca Fix declarations of pointers to arrays 2016-02-07 18:41:54 +01:00
baldurk 8246bdb61e Disassemble OpSelect 2016-02-07 18:41:53 +01:00
baldurk b478e40447 Implement some more math operations 2016-02-07 18:41:53 +01:00
baldurk 327f57dffd Correctly apply member decorations, give globals name fallbacks 2016-02-07 18:41:52 +01:00
baldurk 3e8d4edf6d Fix crash if doing AccessChain or CompositeExtract on unknown id 2016-02-07 18:41:51 +01:00
baldurk 2bf4db2c1c Add FMod and ISub/FSub 2016-02-07 18:41:50 +01:00
baldurk 59527af130 Display SPIR-V disassembly 2016-02-07 18:41:49 +01:00
baldurk a021284d25 Shorten some string representations of states for pipeline view 2016-02-07 18:41:48 +01:00
baldurk 1f9773e26d Set image type properly 2016-02-07 18:41:48 +01:00
baldurk 0007b9d63f Use shader reflection variable names if no custom image names are set 2016-02-07 18:41:47 +01:00
baldurk 583ca8b78e Set whether a bind id referenced & get better names for constant blocks 2016-02-07 18:41:46 +01:00