KhronosGroup / KhronosGroup/Vulkan-Tutorial

Possible leftover `renderpass` wording in Swap Chain Recreation

Open Beginner friendly
#506 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
418
Forks
126
Avg merge
11d 6h
Merged PRs (30d)
31

Description

In the [Swap Chain Recreation chapter](https://docs.vulkan.org/tutorial/latest/03_Drawing_a_triangle/04_Swap_chain_recreation.html), there’s this line:

> "Note that we don’t recreate the renderpass here for simplicity."

But earlier in the tutorial, it switches to Dynamic Rendering and sets:

```cpp
.renderPass = nullptr
```

As far as I can tell, the tutorial never creates a `VkRenderPass` object at all.

Is this sentence left over from the older version of the tutorial that used render passes?

If so, maybe it would be clearer to talk about recreating things that depend on the swap chain image format, such as the graphics pipeline, instead of the render pass.

Contributor guide

Open the contributing guide

Research direction

Open the Swap Chain Recreation chapter and inspect the quoted renderpass sentence alongside the earlier Dynamic Rendering example with `.renderPass = nullptr`. Confirm whether the tutorial creates a VkRenderPass, then revise the wording to describe the swap-chain-dependent object(s) accurately and verify the chapter remains consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.