Commit Graph

  • 3b9f4da65a Store resource record length field as uint64_t instead of int32_t baldurk 2015-12-02 20:20:18 +01:00
  • 04467206cb pool counts seem to be reasonable - remove TODO baldurk 2015-12-02 20:09:13 +01:00
  • f2d123a0e6 mark VKTODOs to do with GPU/device portability as such baldurk 2015-12-02 16:26:13 +01:00
  • e8ded0d785 Initial state aspect handling incorrectness is much less severe now baldurk 2015-12-02 16:18:59 +01:00
  • 75a2a4257b Remove VKTODO notes, not needed anymore baldurk 2015-12-02 16:18:02 +01:00
  • 9bd7ed9d61 Improve text reporting for render pass load/store operations baldurk 2015-12-02 15:36:30 +01:00
  • 88d7cb4ef1 Add VectorTimesMatrix to disassembly baldurk 2015-12-02 14:38:54 +01:00
  • cf92126d7c Update mesh output note in future work baldurk 2015-12-02 13:09:00 +01:00
  • a72ea00210 Free PostVS data on shutdown baldurk 2015-12-02 12:47:30 +01:00
  • 09f8564c4d Add message if side-effects features aren't available baldurk 2015-12-02 11:13:55 +01:00
  • fcb822b021 Update release notes - mesh output data is now available! baldurk 2015-11-27 21:11:50 +01:00
  • e03d5b01c2 Get right number of components for RGB formats baldurk 2015-11-27 20:50:37 +01:00
  • 48a03ae21f Only fetch the PostVS data needed for this draw, not the whole buffer baldurk 2015-11-27 20:42:42 +01:00
  • 793d2690c4 Be more aggressive with null'ing/disposing old data, to garbage collect baldurk 2015-11-27 20:39:09 +01:00
  • 0b17197d79 Do buffer readbacks in vulkan replay with multiple copies baldurk 2015-11-27 20:33:25 +01:00
  • ac575d355d Avoid unnecessary copies/temporaries when returning buffer data baldurk 2015-11-27 20:10:21 +01:00
  • 0992c05ab9 Fix leaking memory in byte[] marshalling case baldurk 2015-11-27 19:57:22 +01:00
  • 7af71c60ad Fetch per-instance vertex output data baldurk 2015-11-27 18:58:57 +01:00
  • 88bb62bde8 Mark instanced draws as instanced baldurk 2015-11-27 18:41:30 +01:00
  • eabf1969c5 Add some utility functions for dumping/grabbing a file baldurk 2015-11-27 18:41:22 +01:00
  • abcb20794e Discard negative guessed near planes baldurk 2015-11-27 18:33:15 +01:00
  • 382031ea01 Ditch ShouldSkipOutput - not needed. Access array parameters properly baldurk 2015-11-27 17:23:30 +01:00
  • 4f784b07d5 Handle array outputs in SPIR-V, add array index to signature parameter baldurk 2015-11-27 17:23:10 +01:00
  • 0b61607cc7 When loading a log, default back to buffer view showing VSIn baldurk 2015-11-27 16:33:12 +01:00
  • c005c51440 Calculate number of unique indices before modifying shader baldurk 2015-11-27 16:32:30 +01:00
  • bd5a6752e2 Use viewport for guessing aspect ratio, not dimensions of depth/colour baldurk 2015-11-27 15:05:42 +01:00
  • 101d780956 Handle post-vs data being padded/aligned instead of tightly packed baldurk 2015-11-27 15:05:27 +01:00
  • 8818de4524 Use vertex stride from PostVS data if we're reading it baldurk 2015-11-27 14:39:57 +01:00
  • c841210e62 Eliminate unused output signature elements like pointsize or clipdist baldurk 2015-11-27 14:38:43 +01:00
  • 852aa3be1d Make sure to invert post-projection y before doing reprojection baldurk 2015-11-27 13:47:14 +01:00
  • 4361eb83d2 Don't add replay resource ID offset multiple times baldurk 2015-11-27 13:46:56 +01:00
  • 5cbb2653d3 Save used topology BEFORE setting it to point list baldurk 2015-11-27 13:21:34 +01:00
  • 06549f2647 Set point size when rendering meshes baldurk 2015-11-27 13:20:50 +01:00
  • ad813afd0d Fetch shader mesh output data from indexed drawcalls baldurk 2015-11-27 13:11:43 +01:00
  • a766148fa3 Make sure output buffer and its members are properly aligned baldurk 2015-11-27 12:59:46 +01:00
  • ca2efadf67 Move GetBufferData into debug manager baldurk 2015-11-27 12:34:09 +01:00
  • f5cc277322 Render object as point list when dumping output data baldurk 2015-11-27 11:35:17 +01:00
  • a1b034a58e Correctly handle position being output or not baldurk 2015-11-27 11:35:02 +01:00
  • f1b1799ef3 Handle shaders with an empty output signature baldurk 2015-11-27 11:34:30 +01:00
  • 4ee317566e Type IDs are not allowed to alias in SPIR-V baldurk 2015-11-27 09:31:33 +01:00
  • 1b936f6269 Render secondary drawcalls in mesh view baldurk 2015-11-27 02:29:07 +01:00
  • a5be2b4f48 Add post-vertex mesh data fetching. Not complete, but proof-of-concept baldurk 2015-11-27 02:28:22 +01:00
  • cf13662804 Rename struct since VS seems to incorrectly alias it with Vulkan struct baldurk 2015-11-27 01:55:47 +01:00
  • 2ce192ef3c Return mapped pointer when going through wrapped vkMapMemory on replay baldurk 2015-11-27 01:41:44 +01:00
  • 4d8013ff09 Fetch live pipeline layout when replaying vkCmdPushConstants baldurk 2015-11-27 01:20:17 +01:00
  • 10313415d9 Don't combine load/stores for non-function variables baldurk 2015-11-27 01:18:45 +01:00
  • 33f3f3b6de A bit nicer nameless struct naming baldurk 2015-11-27 01:18:35 +01:00
  • dd6adf1774 Make sure to use the right index when considering output skipping baldurk 2015-11-27 00:59:20 +01:00
  • 7a6d964af3 Keep struct size up to date when skipping non-mesh outputs baldurk 2015-11-27 00:58:05 +01:00
  • b625c69d1a Allow disassembly if struct isn't named (generate default unique name) baldurk 2015-11-27 00:43:24 +01:00
  • 4e5cecd3b5 Add SPIR-V disassembly support for runtime-sized arrays baldurk 2015-11-27 00:42:52 +01:00
  • 1c5a5c9a4b Add functions to get FetchDrawcall by ID from core baldurk 2015-11-27 00:42:15 +01:00
  • 0120d5cba1 Just used vulkan push range struct - it's POD baldurk 2015-11-27 00:41:57 +01:00
  • 03a2497c6b Don't display semantic index if it's not needed baldurk 2015-11-26 23:11:53 +01:00
  • 6077293849 Get input mapping correct (after signatures are sorted) baldurk 2015-11-26 23:09:31 +01:00
  • 9fbb27dccb Add rest of SPIR-V modification, generate code to dump output to buffer baldurk 2015-11-26 22:23:05 +01:00
  • 132415fd38 Add a bit of a hack to store which ID/member each output element is for baldurk 2015-11-26 16:00:22 +01:00
  • 344a4a4d2d Add initial part of injecting code to SPIR-V to dump outputs to buffer baldurk 2015-11-26 15:59:03 +01:00
  • 4370fda970 spaces->tabs, and catch a couple of other cases that weren't commented baldurk 2015-12-02 20:21:03 +01:00
  • feb20a298f execute barriers for all subresources of an image Greg Fischer 2015-12-01 18:20:48 -07:00
  • b34df1b5b7 Add super hack to do BGRA swizzling the other way around on AMD baldurk 2015-12-01 20:29:14 +01:00
  • 126d491014 Fixes for incorrect aspect/aspectFlag being used in initial states Derrick Owens 2015-12-01 20:00:32 +01:00
  • 1dfdb88560 Add cast for picky VS2015 warnings baldurk 2015-11-26 12:08:29 +01:00
  • 4fdb15b06d Do depth image memory barrier properly for display baldurk 2015-11-26 11:11:09 +01:00
  • b4ebc13c9d Support push constants display in UI baldurk 2015-11-25 17:31:58 +01:00
  • 10d324173d Declare variables in-line in functions at their use, not all up top baldurk 2015-11-25 16:30:41 +01:00
  • 746b6c55ad List shader execution modes baldurk 2015-11-25 15:31:24 +01:00
  • ade18cc1fa Add a missing math op baldurk 2015-11-25 15:13:08 +01:00
  • b3f3a0b6e1 Disassemble specified shader capabilities baldurk 2015-11-25 15:13:01 +01:00
  • 090d033a57 Format sampled image types correctly baldurk 2015-11-25 14:49:55 +01:00
  • 879384500b Add missing newline in function variable declarations baldurk 2015-11-25 14:27:52 +01:00
  • 47e6c7056a Fix signature parameters of structs (commonly e.g. gl_PerVertex) baldurk 2015-11-25 14:23:15 +01:00
  • 99af3c4b59 vector shuffle can take constant as well as an op baldurk 2015-11-22 22:44:23 +01:00
  • 582622563c Handle arrays of structs in SPIR-V disassembly baldurk 2015-11-22 22:44:06 +01:00
  • a90b2315ec Don't try and disassemble invalid SPIR-V (it may be GLSL) baldurk 2015-11-22 22:43:47 +01:00
  • 4ec19f5b2c Add easy to disable #define to control whether MSAA is used or not baldurk 2015-11-25 13:44:46 +01:00
  • 49c72c5a85 Don't read from non-red channels in R8 texture in view swizzles baldurk 2015-11-24 22:17:29 +01:00
  • 666c3176f8 Use the right aspect for creating texture-display image views baldurk 2015-11-24 22:14:58 +01:00
  • 764296e980 Fix new warnings in VS2015 baldurk 2015-11-24 21:49:13 +01:00
  • 6116709b50 Be less aggressive with conservative type sizes for descriptor pool baldurk 2015-11-24 21:48:34 +01:00
  • b727bda0d1 Check for errors when calling QueueSubmit to submit our internal cmds baldurk 2015-11-24 21:48:15 +01:00
  • c1be165f49 Fix not calling c_str() in varargs parameter baldurk 2015-11-24 21:47:35 +01:00
  • c593986bf8 Fix ambiguous variable shadowing baldurk 2015-11-24 21:47:13 +01:00
  • 5d676d967e Explicitly cast flags types with no bits to a dummy enum for serialising baldurk 2015-11-22 16:52:26 +01:00
  • 529119a65b Remove VKTODO comments - in/out blocks aren't important baldurk 2015-11-22 16:51:35 +01:00
  • 5c309d9d34 Refactor handling of resources/binding to be much more flexible baldurk 2015-11-22 16:32:22 +01:00
  • 6051f0c500 Split 'Resources' shader array into readonly/readwrite arrays baldurk 2015-11-22 14:31:12 +01:00
  • e51cf27321 Get abbreviations from common pipeline state (as they're API specific) baldurk 2015-11-22 14:23:16 +01:00
  • ebb9f05c75 Pass through base mip/level for vulkan resources (also for GL textures) baldurk 2015-11-22 13:57:43 +01:00
  • 534f9943f9 Handle arrays of shader resources in pipeline state baldurk 2015-11-21 22:03:48 +01:00
  • 8a6d2ebf30 Handle arrays of uniform buffers in descriptor slots baldurk 2015-11-21 21:41:43 +01:00
  • be289dbec2 Sort descriptor bindings by set, then by bind baldurk 2015-11-21 00:18:00 +01:00
  • f87d609224 Fix disassembly of vectors baldurk 2015-11-21 00:17:08 +01:00
  • a012652049 Handle arrays of objects in shaders baldurk 2015-11-21 00:15:56 +01:00
  • 13907a6c05 Don't delete data while writing baldurk 2015-11-20 23:31:54 +01:00
  • 7dd5760420 Try to handle unbound resources a bit better baldurk 2015-11-20 16:53:01 +01:00
  • 1503e7f881 Add mousemove/mouseleave handlers for non-PS resources baldurk 2015-11-20 16:29:09 +01:00
  • e6807ec3a7 Proper display for descriptor sets in pipeline state view baldurk 2015-11-20 15:43:42 +01:00
  • e17560af5a Unwrap fence objects in vkWaitForFences baldurk 2015-11-20 12:42:28 +01:00
  • 0339bd5411 32-bit compile fixes (mostly for offsets/lengths becoming 64-bit) baldurk 2015-11-20 10:00:48 +01:00