Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eae6ef0

Browse files
committed
Describe pipeline render pass compatibility
1 parent 8f96c4e commit eae6ef0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

03_Drawing_a_triangle/02_Graphics_pipeline_basics/04_Conclusion.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ pipelineInfo.subpass = 0;
5050
```
5151

5252
And finally we have the reference to the render pass and the index of the sub
53-
pass where this graphics pipeline will be used.
53+
pass where this graphics pipeline will be used. It is also possible to use other
54+
render passes with this pipeline instead of this specific instance, but they
55+
have to be *compatible* with `renderPass`. The requirements for compatibility
56+
are described [here](https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#renderpass-compatibility),
57+
but we won't be using that feature in this tutorial.
5458

5559
```c++
5660
pipelineInfo.basePipelineHandle = VK_NULL_HANDLE; // Optional

0 commit comments

Comments
 (0)