Bump Vulkan serialise version silently

* We just need to prevent new serialised captures from being loaded in old
  versions of RenderDoc.
This commit is contained in:
baldurk
2018-05-25 14:21:46 +01:00
parent 01a31b51d8
commit b235d03701
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -237,7 +237,11 @@ bool VkInitParams::IsSupportedVersion(uint64_t ver)
if(ver == CurrentVersion)
return true;
// we can check other older versions we support here.
// 0xB -> 0xC - generally this is when we started serialising pNext chains that older RenderDoc
// couldn't support. But we don't need any special backwards compatibiltiy code as it's just added
// serialisation.
if(ver == 0xB)
return true;
return false;
}
+1 -1
View File
@@ -55,7 +55,7 @@ struct VkInitParams
uint32_t GetSerialiseSize();
// check if a frame capture section version is supported
static const uint64_t CurrentVersion = 0xB;
static const uint64_t CurrentVersion = 0xC;
static bool IsSupportedVersion(uint64_t ver);
};