Skip to content

Are you supposed to / allowed to create more than one RenderPass in a single draw call? #2368

Answered by laptou
laptou asked this question in Q&A
Discussion options

You must be logged in to vote

Actually, since I'm rendering to a bunch of different textures, it stands to reason that I have to create multiple RenderPasses. So then am I only supposed to create one per CommandEncoder? Because I notice that when I do a GPU trace using Xcode, only the first RenderPass shows up, and I get a black screen :(

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kvark
Comment options

kvark Jan 9, 2022
Maintainer

@laptou
Comment options

Answer selected by laptou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants