Commit Graph

  • 0156f641dd Don't add wrappers while capturing - allows duplicate handles in capture baldurk 2015-12-17 12:57:37 +01:00
  • 506c38bcbb Remove use of GetWrapper while capturing baldurk 2015-12-17 12:53:11 +01:00
  • d64946f5f2 Update generator/module version handling to latest SPIR-V spec baldurk 2015-12-17 11:30:28 +01:00
  • e0bbed0b34 Pass shader specialization data to pipeline state (just data, not in UI) baldurk 2015-12-17 11:09:58 +01:00
  • 4b7c33d531 Fixes for vulkan for BGRA changes, add R4G4 special format baldurk 2015-12-16 18:43:59 +01:00
  • f8df435826 Warn don't assert on VkDeviceQueueCreateInfo having the wrong sType baldurk 2015-12-16 17:32:55 +01:00
  • e3375d7927 For now, disable the fake non-coherent memory type adding baldurk 2015-12-16 17:32:42 +01:00
  • 839801e4a6 Save image initial states by slice and by mip, not whole-mip-at-once baldurk 2015-12-16 17:32:31 +01:00
  • ae557c5bb3 If a flush is not serialised due to not capturing, mark resource dirty baldurk 2015-12-16 16:36:13 +01:00
  • 52e90a08e9 Mark resource clean when record is deleted, not when resource is baldurk 2015-12-16 16:35:55 +01:00
  • bf950e0c00 Be very careful to release our own wrapper before the real resource baldurk 2015-12-16 15:46:40 +01:00
  • 2678548351 Handle ID for return value not being present without crashing baldurk 2015-12-16 14:35:20 +01:00
  • 525740303a Don't delete temp array memory baldurk 2015-12-16 13:20:33 +01:00
  • a864b757c4 Move drawcall timings as post 1.0 since it probably won't get done baldurk 2015-12-14 20:11:28 +01:00
  • 51a289c786 Set up json like an implicit layer baldurk 2015-12-14 00:58:19 +01:00
  • 71e3c8b38b Demote sparse texture TODOs to low baldurk 2015-12-13 22:23:37 +01:00
  • 1056b5411d Fix 32-bit compilation, assuming local modifications to vulkan.h baldurk 2015-12-13 22:20:31 +01:00
  • 9c9fa89a90 Mark texture display as done for now (pending testing) baldurk 2015-12-13 21:50:27 +01:00
  • f07e3b1100 Remove RESTYPE_BUFFER for vulkan baldurk 2015-12-13 21:33:40 +01:00
  • 7e3cd76676 Stencil texture display and picking (unsigned/signed int as well) baldurk 2015-12-13 21:18:57 +01:00
  • 961616428d Add texture sampling code for all types/formats baldurk 2015-12-13 20:18:07 +01:00
  • 3bce54bb3d Set access masks in image memory barriers as recommended by validation baldurk 2015-12-13 15:37:37 +01:00
  • 78913345f1 Apply initial contents on first read after setting up image layouts baldurk 2015-12-13 15:34:48 +01:00
  • dd7e2ee568 Shader uniform block definitions between C++ and GLSL baldurk 2015-12-13 15:06:31 +01:00
  • a995ee66e2 Change handling of shaders and entry points so they're not aliased baldurk 2015-12-13 14:01:04 +01:00
  • f4b3e80654 Add casts for VS2015 compile warnings baldurk 2015-12-11 16:59:22 +01:00
  • 3568627b35 Allow capabilities.maxImageCount == 0 to mean no upper limit baldurk 2015-12-11 16:58:29 +01:00
  • 84345e1728 Make sure to unwrap surface everywhere baldurk 2015-12-11 16:58:14 +01:00
  • 554b942ef6 Set environment variables with new layer name baldurk 2015-12-11 16:57:04 +01:00
  • 46ed34b599 Implement caching of SPIR-V compiled shaders baldurk 2015-12-11 15:50:11 +01:00
  • eeb62f3d67 Need SPIR-V compilation in release now too. baldurk 2015-12-11 15:11:56 +01:00
  • 764d05bbee Extract out shader caching from D3D to common code baldurk 2015-12-11 15:03:11 +01:00
  • 49f81a6499 Move strhash to string_utils.h baldurk 2015-12-11 14:58:45 +01:00
  • 79819d4f94 Don't bind secondary vertex buffer if not doing secondary shading baldurk 2015-12-11 13:00:40 +01:00
  • d57a55acdd Set partial command pool for freeing the partial command buffer baldurk 2015-12-11 12:59:38 +01:00
  • a1c2452007 Check surface capabilities match what we expect baldurk 2015-12-11 12:58:41 +01:00
  • 05b70a7599 Update layer names to new naming scheme baldurk 2015-12-11 12:58:09 +01:00
  • 84dea96587 Create fully wrapped descriptor set layout for mesh descriptor set baldurk 2015-12-11 12:57:30 +01:00
  • 81f697fc1b Switch to uniform blocks for mesh shaders - matches geometry shader baldurk 2015-12-11 12:56:57 +01:00
  • 6b2c1bfad6 Take a local copy of SPIR-V before patching baldurk 2015-12-11 09:03:34 +01:00
  • a7bdba82ce Handle queue priorities properly if adding a new queue type baldurk 2015-12-11 01:02:46 +01:00
  • 621e77a5e7 Clean up surface properly in Destroy so it can be recreated baldurk 2015-12-11 00:56:18 +01:00
  • fa21a45155 Unwrap surface pointer before passing to CreateSwapchain baldurk 2015-12-11 00:34:35 +01:00
  • 1307de879c Add assert that CreateInstance succeeds baldurk 2015-12-11 00:32:52 +01:00
  • ae2584b7d6 Don't use stage bit as index, convert to array index baldurk 2015-12-11 00:32:42 +01:00
  • cf0537d055 Don't vkMapMemory with size of 0, use VK_WHOLE_SIZE baldurk 2015-12-11 00:32:32 +01:00
  • bcb1ad7cf7 Move layer name to central location baldurk 2015-12-11 00:17:12 +01:00
  • 002ae7adff Fetch unwrapped surface pointer before releasing wrapped object baldurk 2015-12-11 00:10:12 +01:00
  • 4db6655c71 SPIR-V size is in bytes baldurk 2015-12-11 00:09:08 +01:00
  • 751e907543 Update SPIR-V disassembly to match newest version. baldurk 2015-12-10 23:46:11 +01:00
  • ab809dfa87 Fixes for layer handling baldurk 2015-12-10 21:40:33 +01:00
  • 77e9c697b3 Add handling of WSI surface functions baldurk 2015-12-10 21:08:56 +01:00
  • f63dfcfc1f depthclip != depthclamp baldurk 2015-12-10 20:22:25 +01:00
  • 21e0af7507 Implement vkQueueBindSparse baldurk 2015-12-10 20:04:10 +01:00
  • 1097a98d72 Fixup vkQueueSubmit baldurk 2015-12-10 19:28:37 +01:00
  • 795fbcaf8d Fix some misc bugs baldurk 2015-12-10 17:54:20 +01:00
  • ebfd953b5d Get all the wrapper functions compiling except QueueSubmit/BindSparse baldurk 2015-12-10 17:38:56 +01:00
  • 4a2fe2d563 Update debug code to compile, and remove on-disk compiled SPIR-V blobs baldurk 2015-12-31 22:45:49 +01:00
  • dcb57952bf wip debug baldurk 2015-12-10 13:38:31 +01:00
  • 7c7cceac3a Update layer json file baldurk 2015-12-10 13:28:21 +01:00
  • 63d643d43c Replay functions compiling baldurk 2015-12-10 13:28:13 +01:00
  • 3649fc4134 Fix core compiling baldurk 2015-12-10 12:13:34 +01:00
  • 59398c8567 Fix up init state handling to at least compile baldurk 2015-12-10 11:46:39 +01:00
  • 624ab27f15 smaller files compiling baldurk 2015-12-10 10:26:39 +01:00
  • 03d0bc9f88 get vk_info.cpp compiling baldurk 2015-12-10 01:46:13 +01:00
  • 103c285c44 fix vk_<platform> files to compile (commented out GetHandleForSurface) baldurk 2015-12-10 01:30:33 +01:00
  • 998743aafc Update memory type handling baldurk 2015-12-10 01:12:37 +01:00
  • 092abb7b27 Update sparse mapping utility functions for renamed members baldurk 2015-12-10 01:06:22 +01:00
  • 7545d1902f Fix resource utility functions baldurk 2015-12-10 01:04:59 +01:00
  • 57ae4e76f5 Move some functions from device layer table to instance layer table baldurk 2015-12-10 00:56:19 +01:00
  • b9f0c7ef96 More interim compile fixes to headers baldurk 2015-12-10 00:48:36 +01:00
  • 7dd5eec282 Update function signatures baldurk 2015-12-10 00:48:19 +01:00
  • 983b528e20 Some quick compile fixes in header for updated structs etc baldurk 2015-12-09 23:15:39 +01:00
  • 95a64071fb Fixes for new handle types (opaque pointers). Note, 32-bit is broken. baldurk 2015-12-09 23:15:16 +01:00
  • 0e75bafdb1 Fix topology enums baldurk 2015-12-09 22:56:56 +01:00
  • 428968152b Update resource format functions (VkFormat <-> ResourceFormat) baldurk 2015-12-09 22:48:55 +01:00
  • cdaffe0698 Remove WrappedVkShader baldurk 2015-12-09 22:15:26 +01:00
  • a72b32eb23 Rename VkCmdPool -> VkCommandPool baldurk 2015-12-09 21:49:01 +01:00
  • 75a31f9f09 Rename VkCmdBuffer -> VkCommandBuffer baldurk 2015-12-09 21:48:14 +01:00
  • 50195131cc Fix up deserialise functions (delete/cleanup allocated arrays on replay) baldurk 2015-12-09 21:44:28 +01:00
  • 8cc0c10a00 Start updating vk_common Serialise() functions - Part 2: structs baldurk 2015-12-09 17:57:38 +01:00
  • 4147c30206 Start updating vk_common Serialise() functions - Part 1: enums/bitfields baldurk 2015-12-09 16:10:20 +01:00
  • 865ad8431d Update #include statements baldurk 2015-12-09 15:04:03 +01:00
  • 506abdb2d6 For 1.0 we'll only display API events on command buffers baldurk 2015-12-04 16:39:00 +01:00
  • 930e013c9f Separate out vulkan current state values to separate proper structure baldurk 2015-12-04 15:31:12 +01:00
  • 521ec84b8b Add pipeline export to HTML for vulkan baldurk 2015-12-04 14:39:55 +01:00
  • e2f9cffb3d Fix recording image barriers from non-baked command info baldurk 2015-12-04 10:30:45 +01:00
  • 787776f5d3 Fix error firing when printing array constants baldurk 2015-12-04 00:57:58 +01:00
  • f417cf91ac Draw highlight box with rect clears, remove pipeline, strip VBO, etc baldurk 2015-12-31 22:45:08 +01:00
  • 60af596280 Implement texture saving via GetTextureData() baldurk 2015-12-04 00:16:26 +01:00
  • c19a0588b9 Fetch physical device format properties baldurk 2015-12-04 00:13:35 +01:00
  • 276099d55a Fix SPIR-V disassembly of variable declarations inside control flow baldurk 2015-12-03 18:40:13 +01:00
  • 984de2f57d Don't unwrap objects being passed to our own functions baldurk 2015-12-03 18:39:58 +01:00
  • 1348e1a193 Vertex ID isn't dense 0-based, need to rebase and have sparse VB baldurk 2015-12-03 17:40:52 +01:00
  • 80efe190b3 Only release buffers/memory that is not already NULL baldurk 2015-12-03 15:48:58 +01:00
  • c06aeebd3a Crash fix for non-indexed meshes baldurk 2015-12-03 13:14:15 +01:00
  • 3c8fe0e44a Add notes about where we'd need to handle queue resource sharing baldurk 2015-12-02 20:45:36 +01:00
  • acb38757cd Add error if flushing an unmapped region of memory baldurk 2015-12-02 20:40:50 +01:00
  • fa1520bc13 Follow the spec strictly - only coherent memory is 'implicitly flushed' baldurk 2015-12-02 20:40:42 +01:00
  • 5bb4b0dc13 Mapped memory offsets don't have to be aligned at all baldurk 2015-12-02 20:27:03 +01:00