Skip to content

Commit 0f96299

Browse files
Apply Feedback
1 parent d91d550 commit 0f96299

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chapters/descriptor_buffer.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ VkPipelineLayout pipeline_layot([ds_layout_0, ds_layout_1, ds_layout_2]);
7878

7979
== Query Descriptor Set Layout Sizes
8080

81-
Now using the new `vkGetDescriptorSetLayoutSizeEXT` and `vkGetDescriptorSetLayoutBindingOffsetEXT` commands, we can get info from the driver what size it needs to properly use these `VkDescriptorSetLayout`.
81+
Now using the `vkGetDescriptorSetLayoutSizeEXT` and `vkGetDescriptorSetLayoutBindingOffsetEXT` commands, we can get info from the driver what size it needs to properly use these `VkDescriptorSetLayout`.
8282

8383
[NOTE]
8484
====
85-
Don't make the assumption that `binding 0` will be the lowest offset!
85+
Don't make the assumption that `binding 0` will be the lowest offset! The driver might sort bindings in a more optimal way such that the offsets might not be incremental as the binding numbers.
8686
====
8787

8888
[source,c++]
@@ -109,7 +109,7 @@ These buffers can be large and they hold a "look up table" to your resources and
109109

110110
[NOTE]
111111
====
112-
The minimum required limit for `VkPhysicalDeviceDescriptorBufferPropertiesEXT::descriptorBufferAddressSpaceSize` is 128MB but link:https://vulkan.gpuinfo.org/displayextensionproperty.php?extensionname=VK_EXT_descriptor_buffer&extensionproperty=descriptorBufferAddressSpaceSize&platform=all[many devices can support 4GB]
112+
The minimum required limit for `VkPhysicalDeviceDescriptorBufferPropertiesEXT::descriptorBufferAddressSpaceSize` is 128MB, but many devices can support 4GB
113113
====
114114

115115
For this demo, we will create two of them.

0 commit comments

Comments
 (0)