Resources under VkWin32KeyedMutexAcquireReleaseInfoNV are optional

This commit is contained in:
baldurk
2020-01-06 16:20:44 +00:00
parent 77b6b627da
commit ba3b4dda36
+4
View File
@@ -8360,6 +8360,10 @@ void DoSerialise(SerialiserType &ser, VkWin32KeyedMutexAcquireReleaseInfoNV &el)
el.sType == VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV);
SerialiseNext(ser, el.sType, el.pNext);
// resources here are optional because we don't take references on the memory as we don't replay
// the win32 mutexes
OPTIONAL_RESOURCES();
SERIALISE_MEMBER(acquireCount);
SERIALISE_MEMBER_ARRAY(pAcquireSyncs, acquireCount);
SERIALISE_MEMBER_ARRAY(pAcquireKeys, acquireCount);