mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +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:
@@ -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