baldurk
a214e9bdec
Remove dynamic state objects
2016-02-07 18:42:43 +01:00
baldurk
fe99dcdbe7
Implement vkCmdUpdateBuffer wrapping
2016-02-07 18:42:36 +01:00
baldurk
27aec9b277
Add thread-local temp memory pool for storing temp unwrapped structs
...
* Avoids needing to do lots of small allocations
2016-02-07 18:42:33 +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
78cc3acce7
Fix command buffer event ID numbering
2016-02-07 18:41:22 +01:00
baldurk
12fc8e9935
Implement some query pool functions
2016-02-07 18:41:18 +01:00
baldurk
ca3c283528
Fix event counting edge-case for empty command buffers
2016-02-07 18:41:15 +01:00
baldurk
38a34db5ca
Don't assert pNext == NULL, some apps seem to pass (invalid?) structs
2016-02-07 18:41:09 +01:00
baldurk
34da5158cf
Rename "Command Buffer Start" to "Render Pass Start"
2016-02-07 18:41:02 +01:00
baldurk
5525a767a6
Don't forcibly disjoint all cmd buffers and sort to the start
...
* I misunderstood how descriptor sets were used - they are allowed to be
dereferenced anywhere between cmd buffer record time and when
execution finishes. I thought they were only ever dereferenced during
exec. So it means we must preserve cmd buffer ordering vs. queue
submit and descriptor update. We still want to force cmd buffers into
the start of the frame that were recorded pre-frame though.
2016-02-07 18:40:57 +01:00
baldurk
60c206d4e1
Remove some overzealous unwrapping
2016-02-07 18:40:55 +01:00
baldurk
26b8ff197b
Split out vk_core.cpp into a few files for (mildly) better organisation
...
* No changes to any of the functions in this - purely re-organisation
and moving of code.
2016-02-07 18:40:42 +01:00