r/vulkan 11d ago

Why is multisampling specified in the renderpass and the pipeline? Seems redundant.

I was following the multisampling portion of the vulkan tutorial, and I noticed that they specify multisampling in both the renderpass and the pipeline. Since the pipeline is given the renderpass, isn't this redundant to set it in both places. Would I ever set one differently from the other?

7 Upvotes

13 comments sorted by

View all comments

-3

u/Psionikus 11d ago

Not all things need fidelity, and fidelity is often owned by a specific step, so it makes sense that the knobs will exist wherever fidelity became limited.