mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 15:04:16 +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++) {
|
||||||
if (i < packedState.GetColorRenderTargetCount()) {
|
|
||||||
attachmentBlendStates.push_back(packedState.GetAttachmentBlendState(i));
|
attachmentBlendStates.push_back(packedState.GetAttachmentBlendState(i));
|
||||||
|
if (i < packedState.GetColorRenderTargetCount()) {
|
||||||
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