mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 15:54:18 +01:00
Always set blend state for all colour attachments
This commit is contained in:
parent
177925be93
commit
44f6aada18
@ -552,8 +552,8 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
|||||||
boost::container::static_vector<vk::Format, engine::ColorTargetCount> colorAttachmentFormats;
|
boost::container::static_vector<vk::Format, engine::ColorTargetCount> colorAttachmentFormats;
|
||||||
|
|
||||||
for (u32 i{}; i < engine::ColorTargetCount; i++) {
|
for (u32 i{}; i < engine::ColorTargetCount; i++) {
|
||||||
|
attachmentBlendStates.push_back(packedState.GetAttachmentBlendState(i));
|
||||||
if (i < packedState.GetColorRenderTargetCount()) {
|
if (i < packedState.GetColorRenderTargetCount()) {
|
||||||
attachmentBlendStates.push_back(packedState.GetAttachmentBlendState(i));
|
|
||||||
texture::Format format{packedState.GetColorRenderTargetFormat(packedState.ctSelect[i])};
|
texture::Format format{packedState.GetColorRenderTargetFormat(packedState.ctSelect[i])};
|
||||||
colorAttachmentFormats.push_back(format ? format->vkFormat : vk::Format::eUndefined);
|
colorAttachmentFormats.push_back(format ? format->vkFormat : vk::Format::eUndefined);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user