From 0105707f5439d808da745702e0ed5ae61002f33b Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 10 Aug 2018 16:29:18 +0100 Subject: [PATCH] Add some missing pNext chain handlers --- renderdoc/driver/vulkan/vk_common.cpp | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/renderdoc/driver/vulkan/vk_common.cpp b/renderdoc/driver/vulkan/vk_common.cpp index 3e5f4a43b..7cd9c2d1b 100644 --- a/renderdoc/driver/vulkan/vk_common.cpp +++ b/renderdoc/driver/vulkan/vk_common.cpp @@ -728,6 +728,40 @@ void UnwrapNextChain(CaptureState state, const char *structName, byte *&tempMem, { CopyNextChainedStruct(tempMem, nextInput, nextChainTail); } + else if(nextInput->sType == VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR) + { + CopyNextChainedStruct(tempMem, nextInput, nextChainTail); + } + else if(nextInput->sType == VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO) + { + CopyNextChainedStruct(tempMem, nextInput, nextChainTail); + } + else if(nextInput->sType == VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO) + { + CopyNextChainedStruct(tempMem, nextInput, nextChainTail); + } + else if(nextInput->sType == VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO) + { + CopyNextChainedStruct(tempMem, nextInput, + nextChainTail); + } + else if(nextInput->sType == + VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT) + { + CopyNextChainedStruct( + tempMem, nextInput, nextChainTail); + } + else if(nextInput->sType == + VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO) + { + CopyNextChainedStruct(tempMem, nextInput, + nextChainTail); + } + else if(nextInput->sType == VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT) + { + CopyNextChainedStruct(tempMem, nextInput, + nextChainTail); + } else { RDCERR("unrecognised struct %d in %s pNext chain", nextInput->sType, structName);