mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-09 22:01:36 +00:00
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:
1 parent
01a31b51d8
commit
b235d03701
2 files changed
+6
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user