Previously Serialise_vkCmdCopyAccelerationStructureKHR(..) and Serialise_vkCmdCopyMemoryToAccelerationStructureKHR(..) would just use the command buffer used in the deserialised API call. This is not correct, it should use the 'rerecord' one when in active replay state.
This had the effect of the wrong command buffer being used on replay resulting in the copy command being used on a command buffer not in the recordng state.
Previously
Serialise_vkCmdCopyAccelerationStructureKHR(..)
andSerialise_vkCmdCopyMemoryToAccelerationStructureKHR(..)
would just use the command buffer used in the deserialised API call. This is not correct, it should use the 'rerecord' one when in active replay state.This had the effect of the wrong command buffer being used on replay resulting in the copy command being used on a command buffer not in the recordng state.