Commit Graph

2507 Commits

Author SHA1 Message Date
baldurk eeb62f3d67 Need SPIR-V compilation in release now too. 2016-02-07 18:48:57 +01:00
baldurk 764d05bbee Extract out shader caching from D3D to common code 2016-02-07 18:48:57 +01:00
baldurk 49f81a6499 Move strhash to string_utils.h 2016-02-07 18:48:56 +01:00
baldurk 79819d4f94 Don't bind secondary vertex buffer if not doing secondary shading 2016-02-07 18:48:55 +01:00
baldurk d57a55acdd Set partial command pool for freeing the partial command buffer 2016-02-07 18:48:54 +01:00
baldurk a1c2452007 Check surface capabilities match what we expect 2016-02-07 18:48:53 +01:00
baldurk 05b70a7599 Update layer names to new naming scheme 2016-02-07 18:48:52 +01:00
baldurk 84dea96587 Create fully wrapped descriptor set layout for mesh descriptor set 2016-02-07 18:48:51 +01:00
baldurk 81f697fc1b Switch to uniform blocks for mesh shaders - matches geometry shader 2016-02-07 18:48:50 +01:00
baldurk 6b2c1bfad6 Take a local copy of SPIR-V before patching 2016-02-07 18:48:50 +01:00
baldurk a7bdba82ce Handle queue priorities properly if adding a new queue type 2016-02-07 18:48:49 +01:00
baldurk 621e77a5e7 Clean up surface properly in Destroy so it can be recreated 2016-02-07 18:48:48 +01:00
baldurk fa21a45155 Unwrap surface pointer before passing to CreateSwapchain 2016-02-07 18:48:47 +01:00
baldurk 1307de879c Add assert that CreateInstance succeeds 2016-02-07 18:48:46 +01:00
baldurk ae2584b7d6 Don't use stage bit as index, convert to array index 2016-02-07 18:48:45 +01:00
baldurk cf0537d055 Don't vkMapMemory with size of 0, use VK_WHOLE_SIZE 2016-02-07 18:48:44 +01:00
baldurk bcb1ad7cf7 Move layer name to central location 2016-02-07 18:48:43 +01:00
baldurk 002ae7adff Fetch unwrapped surface pointer before releasing wrapped object 2016-02-07 18:48:42 +01:00
baldurk 4db6655c71 SPIR-V size is in bytes 2016-02-07 18:48:42 +01:00
baldurk 751e907543 Update SPIR-V disassembly to match newest version. 2016-02-07 18:48:41 +01:00
baldurk ab809dfa87 Fixes for layer handling 2016-02-07 18:48:40 +01:00
baldurk 77e9c697b3 Add handling of WSI surface functions 2016-02-07 18:48:39 +01:00
baldurk f63dfcfc1f depthclip != depthclamp 2016-02-07 18:48:38 +01:00
baldurk 21e0af7507 Implement vkQueueBindSparse 2016-02-07 18:48:37 +01:00
baldurk 1097a98d72 Fixup vkQueueSubmit 2016-02-07 18:48:36 +01:00
baldurk 795fbcaf8d Fix some misc bugs 2016-02-07 18:48:35 +01:00
baldurk ebfd953b5d Get all the wrapper functions compiling except QueueSubmit/BindSparse 2016-02-07 18:48:35 +01:00
baldurk 4a2fe2d563 Update debug code to compile, and remove on-disk compiled SPIR-V blobs
* We'll compile in-memory now (and implement a user-side caching system
  like we have with D3D).
2016-02-07 18:48:34 +01:00
baldurk dcb57952bf wip debug 2016-02-07 18:48:33 +01:00
baldurk 7c7cceac3a Update layer json file 2016-02-07 18:48:32 +01:00
baldurk 63d643d43c Replay functions compiling 2016-02-07 18:48:31 +01:00
baldurk 3649fc4134 Fix core compiling 2016-02-07 18:48:30 +01:00
baldurk 59398c8567 Fix up init state handling to at least compile 2016-02-07 18:48:29 +01:00
baldurk 624ab27f15 smaller files compiling 2016-02-07 18:48:28 +01:00
baldurk 03d0bc9f88 get vk_info.cpp compiling 2016-02-07 18:48:27 +01:00
baldurk 103c285c44 fix vk_<platform> files to compile (commented out GetHandleForSurface) 2016-02-07 18:48:26 +01:00
baldurk 998743aafc Update memory type handling 2016-02-07 18:48:25 +01:00
baldurk 092abb7b27 Update sparse mapping utility functions for renamed members 2016-02-07 18:48:24 +01:00
baldurk 7545d1902f Fix resource utility functions 2016-02-07 18:48:24 +01:00
baldurk 57ae4e76f5 Move some functions from device layer table to instance layer table 2016-02-07 18:48:23 +01:00
baldurk b9f0c7ef96 More interim compile fixes to headers 2016-02-07 18:48:22 +01:00
baldurk 7dd5eec282 Update function signatures 2016-02-07 18:48:21 +01:00
baldurk 983b528e20 Some quick compile fixes in header for updated structs etc 2016-02-07 18:48:20 +01:00
baldurk 95a64071fb Fixes for new handle types (opaque pointers). Note, 32-bit is broken. 2016-02-07 18:48:19 +01:00
baldurk 0e75bafdb1 Fix topology enums 2016-02-07 18:48:18 +01:00
baldurk 428968152b Update resource format functions (VkFormat <-> ResourceFormat) 2016-02-07 18:48:17 +01:00
baldurk cdaffe0698 Remove WrappedVkShader 2016-02-07 18:48:17 +01:00
baldurk a72b32eb23 Rename VkCmdPool -> VkCommandPool 2016-02-07 18:48:16 +01:00
baldurk 75a31f9f09 Rename VkCmdBuffer -> VkCommandBuffer 2016-02-07 18:48:15 +01:00
baldurk 50195131cc Fix up deserialise functions (delete/cleanup allocated arrays on replay) 2016-02-07 18:48:14 +01:00