mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-22 20:39:20 +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;
|
||||
|
||||
for (u32 i{}; i < engine::ColorTargetCount; i++) {
|
||||
if (i < packedState.GetColorRenderTargetCount()) {
|
||||
attachmentBlendStates.push_back(packedState.GetAttachmentBlendState(i));
|
||||
if (i < packedState.GetColorRenderTargetCount()) {
|
||||
texture::Format format{packedState.GetColorRenderTargetFormat(packedState.ctSelect[i])};
|
||||
colorAttachmentFormats.push_back(format ? format->vkFormat : vk::Format::eUndefined);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user