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

Skip to content

Commit e59ce23

Browse files
committed
Fix extra / and grammar (thanks @adenflorian)
1 parent 84036f9 commit e59ce23

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

03_Drawing_a_triangle/02_Graphics_pipeline_basics/02_Fixed_functions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ multisampling.sType = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO;
213213
multisampling.sampleShadingEnable = VK_FALSE;
214214
multisampling.rasterizationSamples = VK_SAMPLE_COUNT_1_BIT;
215215
multisampling.minSampleShading = 1.0f; // Optional
216-
multisampling.pSampleMask = nullptr; /// Optional
216+
multisampling.pSampleMask = nullptr; // Optional
217217
multisampling.alphaToCoverageEnable = VK_FALSE; // Optional
218218
multisampling.alphaToOneEnable = VK_FALSE; // Optional
219219
```
@@ -301,7 +301,7 @@ You can find all of the possible operations in the `VkBlendFactor` and
301301

302302
The second structure references the array of structures for all of the
303303
framebuffers and allows you to set blend constants that you can use as blend
304-
factors in the aforementioned calculations.
304+
factors in the aforementioned calculations.
305305

306306
```c++
307307
VkPipelineColorBlendStateCreateInfo colorBlending = {};
@@ -408,4 +408,4 @@ graphics pipeline and that is a [render pass](!Drawing_a_triangle/Graphics_pipel
408408

409409
[C++ code](/code/fixed_functions.cpp) /
410410
[Vertex shader](/code/shader_base.vert) /
411-
[Fragment shader](/code/shader_base.frag)
411+
[Fragment shader](/code/shader_base.frag)

03_Drawing_a_triangle/02_Graphics_pipeline_basics/03_Render_passes.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ void createRenderPass() {
4141
}
4242
```
4343

44-
The `format` of the color attachment should match the one of the swap chain
45-
images and we're not doing anything with multisampling, so we stick to 1 sample.
44+
The `format` of the color attachment should match the format of the swap chain
45+
images, and we're not doing anything with multisampling, so we'll stick to 1
46+
sample.
4647

4748
```c++
4849
colorAttachment.loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR;
@@ -211,4 +212,4 @@ create the graphics pipeline object!
211212

212213
[C++ code](/code/render_passes.cpp) /
213214
[Vertex shader](/code/shader_base.vert) /
214-
[Fragment shader](/code/shader_base.frag)
215+
[Fragment shader](/code/shader_base.frag)

0 commit comments

Comments
 (0)