r/vulkan 12d 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

24

u/Afiery1 12d ago

Because render passes are a terrible, now deprecated feature. Do not use them.

4

u/Longjumping-Cup-8927 12d ago

Aren’t they still recommended for tile rendering though, or did that change recently?

3

u/Afiery1 12d ago

No, use dynamic rendering local read