  return $ VkPipelineColorBlendStateCreateInfo { vkSType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO
                                               , vkPNext = nullPtr
                                               , vkFlags = zeroBits
                                               , vkLogicOpEnable = logicOpEnable
                                               , vkLogicOp = logicOp
                                               , vkAttachmentCount = fromIntegral attachmentsLen
                                               , vkPAttachments = attachmentsPtr
                                               , vkBlendConstants = let V4 x y z w = blendConstants in SV.fromTuple $ coerce (x, y, z, w)