Skip to content

Commit 3c01d65

Browse files
authored
Removed out of context sentence and improved a clarity of device creation parameters
One sentence seemed to be out of place, which I have replaced with another sentence that followed up on the code behind it. Lastly the information about parameters passed to the `vk::raii::Device()` were all in one sentence which was quite difficult to read.
1 parent 109a4f4 commit 3c01d65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,15 @@ 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-
As mentioned earlier, we need several device-specific extensions for our application to work properly.
168+
With the `vk::DeviceCreateInfo` filled in, we can now proceede with creating logical device.
169169

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

175175
The parameters are the physical device to interface with, and the usage
176-
info we just specified, the optional allocation callbacks pointer and a pointer
176+
info we just specified. Additional and optional parameters are the allocation callbacks pointer and a pointer
177177
to a variable to store the logical device handle in. Similarly to the instance
178178
creation function, this call can throw errors based on enabling non-existent
179179
extensions or specifying the desired usage of unsupported features.

0 commit comments

Comments
 (0)