Vulkan: Color Blend State for Multi Attachment Framebuffer #108419

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:vulkan-color-blend-state into main 2023-05-30 13:46:16 +02:00

1 Commits

Author SHA1 Message Date
Jeroen Bakker f1bc6eb267 Vulkan: Color Blend State for Multi Attachment Framebuffer
Current implementation of the Color Blend State worked for framebuffers
with a single attachment. This PR adds support for Color Blend State for
multiple attachments. It is assumed that the Blend State is the same for
all attachments.

NOTE: Integer based attachments aren't yet supported. In OpenGL it is
assumed that Integer based attachments aren't blended. It is currently
to early to tell if this is also the case for Vulkan. If this assumption
is incorrect we should use multi blend state.
2023-05-30 13:08:13 +02:00