blend_attachments[i].colorWriteMask = get_vulkan_color_mask(blend->write_mask);
}
}
+ else
+ {
+ for(unsigned i=0; i<n_color_attachments; ++i)
+ blend_attachments[i].colorWriteMask = VK_COLOR_COMPONENT_R_BIT|VK_COLOR_COMPONENT_G_BIT|VK_COLOR_COMPONENT_B_BIT|VK_COLOR_COMPONENT_A_BIT;
+ }
blend_info->sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO;
blend_info->attachmentCount = n_color_attachments;