mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 05:35:48 +00:00
Serialise basePipelineIndex properly instead of as empty
* Setting it to empty is invalid for derived pipelines - since we don't want the index to be 0 we want to use basePipelineHandle. We patched it to -1 before serialising so the value is safe.
This commit is contained in:
@@ -2511,7 +2511,7 @@ void DoSerialise(SerialiserType &ser, VkGraphicsPipelineCreateInfo &el)
|
||||
else
|
||||
SERIALISE_MEMBER_EMPTY(basePipelineHandle);
|
||||
|
||||
SERIALISE_MEMBER_EMPTY(basePipelineIndex);
|
||||
SERIALISE_MEMBER(basePipelineIndex);
|
||||
}
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user