From f88bedb7bf5f98dd953f8f0223c5dca871a80152 Mon Sep 17 00:00:00 2001 From: Jon Leech Date: Mon, 25 Aug 2025 16:48:14 +0100 Subject: [PATCH 1/2] Fix usage of backquotes with word characters on either side. Fixes #212 --- en/03_Drawing_a_triangle/00_Setup/01_Instance.adoc | 5 ++--- en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/en/03_Drawing_a_triangle/00_Setup/01_Instance.adoc b/en/03_Drawing_a_triangle/00_Setup/01_Instance.adoc index b6ef04e8..bbe990db 100644 --- a/en/03_Drawing_a_triangle/00_Setup/01_Instance.adoc +++ b/en/03_Drawing_a_triangle/00_Setup/01_Instance.adoc @@ -170,10 +170,9 @@ https://vulkan.lunarg.com/doc/sdk/1.3.216.0/mac/getting_started.html[Getting Sta Beginning with the 1.3.216 Vulkan SDK, the `VK_KHR_PORTABILITY_subset` extension is mandatory. -To get over this error, first add the - `vk::InstanceCreateFlagBits::eEnumeratePortabilityKHR` bit +To get over this error, first add the `vk::InstanceCreateFlagBits::eEnumeratePortabilityKHR` bit to `VkInstanceCreateInfo` struct flags, then add -`vk::KHRPortabilityEnumerationExtensionName`to instance enabled +`vk::KHRPortabilityEnumerationExtensionName` to instance enabled extension list. Typically, the code could be like this: diff --git a/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc b/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc index 1a902caa..8cba929e 100644 --- a/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc +++ b/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc @@ -505,7 +505,7 @@ image::/images/swap_chain_validation_layer.png[] == Retrieving the swap chain images The swap chain has been created now, so all that remains is retrieving the -handles of the `VkImage`s in it. We'll reference these during rendering +handles of the ``VkImage``s in it. We'll reference these during rendering operations in later chapters. [,c++] From 1794e728c17b0219cbf43d061cdd56644e81d2db Mon Sep 17 00:00:00 2001 From: Jon Leech Date: Tue, 9 Sep 2025 17:23:40 +0100 Subject: [PATCH 2/2] Try to improve markup --- en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc b/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc index 8cba929e..6e20ad54 100644 --- a/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc +++ b/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc @@ -505,7 +505,7 @@ image::/images/swap_chain_validation_layer.png[] == Retrieving the swap chain images The swap chain has been created now, so all that remains is retrieving the -handles of the ``VkImage``s in it. We'll reference these during rendering +handles of the `VkImage` objects it contains. We'll reference these during rendering operations in later chapters. [,c++]