Skip to content

Commit 3b906a7

Browse files
authored
Fix typos and enhance logical device creation details
Corrected typos and improved clarity in the explanation of logical device creation.
1 parent 5960239 commit 3b906a7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

en/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,17 @@ link:https://docs.vulkan.org/spec/latest/chapters/raytracing.html#extendingvulka
165165
That means that the `enabledLayerCount` and `ppEnabledLayerNames` fields of
166166
`VkDeviceCreateInfo` are ignored by up-to-date implementations.
167167

168-
With the `vk::DeviceCreateInfo` filled in, we can now proceede with creating logical device.
168+
With the `vk::DeviceCreateInfo` filled in, we can now proceed with creating logical device.
169169

170170
[,c++]
171171
----
172172
device = vk::raii::Device( physicalDevice, deviceCreateInfo );
173173
----
174174

175-
The parameters are the physical device to interface with, and the usage
176-
info we just specified. Additional and optional parameters are the allocation callbacks pointer and a pointer
177-
to a variable to store the logical device handle in. Similarly to the instance
178-
creation function, this call can throw errors based on enabling non-existent
175+
Passed parameters are the physical device to interface with, and the create
176+
info we`ve just specified. Additional and optional parameters include the allocation callbacks pointer and a pointer
177+
specifying where to store the created logical device handle. In our case the function call returns the `vk::Device` handle directly.
178+
Similarly to the instance creation function, this call can throw errors based on enabling non-existent
179179
extensions or specifying the desired usage of unsupported features.
180180

181181
Logical devices don't interact directly with instances, which is why it's not

0 commit comments

Comments
 (0)