Vulkan : add structure type for color blend state (#2091)

This commit is contained in:
raven02 2016-08-23 19:07:51 +08:00 committed by GitHub
parent af1ff4439d
commit 2aa2c1811f
1 changed files with 2 additions and 1 deletions

View File

@ -925,7 +925,8 @@ bool VKGSRender::load_program()
properties.att_state[render_targets[idx]].blendEnable = VK_FALSE;
}
}
properties.cs.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO;
properties.cs.attachmentCount = m_draw_buffers_count;
properties.cs.pAttachments = properties.att_state;