File tree Expand file tree Collapse file tree
en/03_Drawing_a_triangle/00_Setup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,17 +165,17 @@ link:https://docs.vulkan.org/spec/latest/chapters/raytracing.html#extendingvulka
165165That 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----
172172device = 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
179179extensions or specifying the desired usage of unsupported features.
180180
181181Logical devices don't interact directly with instances, which is why it's not
You can’t perform that action at this time.
0 commit comments