We have to ignore unknown structs, so don't init the deep copy pNext
with the src.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7978>
const VkPipelineViewportStateCreateInfo *src)
{
dst->sType = src->sType;
- dst->pNext = src->pNext;
-
+ dst->pNext = NULL;
dst->flags = src->flags;
if (src->pViewports) {
const VkPipelineColorBlendStateCreateInfo *src)
{
dst->sType = src->sType;
- dst->pNext = src->pNext;
+ dst->pNext = NULL;
dst->flags = src->flags;
dst->logicOpEnable = src->logicOpEnable;
dst->logicOp = src->logicOp;
const VkPipelineDynamicStateCreateInfo *src)
{
dst->sType = src->sType;
- dst->pNext = src->pNext;
+ dst->pNext = NULL;
dst->flags = src->flags;
LVP_PIPELINE_DUP(dst->pDynamicStates,