From 1aa6882b8e2eb491e2da200b56474bf5d1b55fb6 Mon Sep 17 00:00:00 2001 From: Tom Rindell Date: Sun, 28 Dec 2025 03:23:27 +0200 Subject: [PATCH] Typo fix The text refers to the first parameter --- en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc b/en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc index b51c5f96..577531df 100644 --- a/en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc +++ b/en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc @@ -273,7 +273,7 @@ We can now bind the graphics pipeline: commandBuffer.bindPipeline(vk::PipelineBindPoint::eGraphics, graphicsPipeline); ---- -The second parameter specifies if the pipeline object is a graphics or compute pipeline. +The first parameter specifies if the pipeline object is a graphics or compute pipeline. We've now told Vulkan which operations to execute in the graphics pipeline and which attachment to use in the fragment shader. As noted in the link:../02_Graphics_pipeline_basics/02_Fixed_functions.md#dynamic-state[fixed functions chapter], we did specify viewport and scissor state for this pipeline to be dynamic.