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
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
baldurk
8cc0c10a00
Start updating vk_common Serialise() functions - Part 2: structs
2016-02-07 18:48:13 +01:00
baldurk
4147c30206
Start updating vk_common Serialise() functions - Part 1: enums/bitfields
2016-02-07 18:48:12 +01:00
baldurk
865ad8431d
Update #include statements
2016-02-07 18:48:11 +01:00
baldurk
930e013c9f
Separate out vulkan current state values to separate proper structure
...
* This lets us remove a hack for mesh output readback that replays a
single drawcall with different index count by setting a magic number.
2016-02-07 18:48:09 +01:00
baldurk
e2f9cffb3d
Fix recording image barriers from non-baked command info
2016-02-07 18:48:08 +01:00
baldurk
787776f5d3
Fix error firing when printing array constants
2016-02-07 18:48:07 +01:00
baldurk
f417cf91ac
Draw highlight box with rect clears, remove pipeline, strip VBO, etc
2016-02-07 18:48:06 +01:00
baldurk
60af596280
Implement texture saving via GetTextureData()
2016-02-07 18:48:05 +01:00
baldurk
c19a0588b9
Fetch physical device format properties
2016-02-07 18:48:04 +01:00
baldurk
276099d55a
Fix SPIR-V disassembly of variable declarations inside control flow
2016-02-07 18:48:03 +01:00
baldurk
984de2f57d
Don't unwrap objects being passed to our own functions
2016-02-07 18:48:02 +01:00
baldurk
1348e1a193
Vertex ID isn't dense 0-based, need to rebase and have sparse VB
...
* This isn't ideal, but compared to streamout/xfb we don't have a
practical way to do dense output, so need to hope that indices are
mostly clustered and don't cause too many problems.
2016-02-07 18:48:01 +01:00