Skip to content

vk/graphic_state, tu: Use dynamic blend count from subpass

What does this MR do and why?

vk/graphic_state, tu: Use dynamic blend count from subpass

A future spec clarification will state that pipelines will not have to fill out the blend attachment count if every blend state is dynamic. Instead, this comes from the subpass/rendering/inheritance info. To fix this while still being able to use the same code to emit dynamic and precompiled state, we have to set the attachment count in the blend struct at the beginning of the subpass.

This will also help with ESO where it already worked like this.

Closes: #9709 (closed)

Merge request reports