You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/Building_a_Simple_Engine/Tooling/05_extensions.adoc
+75-5Lines changed: 75 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ While VK_EXT_robustness2 is the focus of this section, there are other extension
139
139
140
140
==== VK_KHR_buffer_device_address
141
141
142
-
This extension allows you to use physical device addresses for buffers, which can be useful for advanced techniques. It includes robustness features for handling invalid addresses:
142
+
This extension allows you to use physical device addresses for buffers, which can be useful for advanced techniques. It includes robustness features for handling invalid addresses (when combined with robust access features like VK_EXT_robustness2 or core robustBufferAccess):
This extension allows for more flexible descriptor indexing, including robustness features for handling out-of-bounds descriptor array accesses:
172
+
This extension allows for more flexible descriptor indexing, including robustness-related capabilities such as tolerating out-of-bounds indices (reads become zero when robust access is enabled), partially bound descriptor sets, and update-after-bind. To actually make use of these behaviors you need to enable both device features and descriptor set layout binding flags:
auto descriptor_sets = vk::raii::DescriptorSets{device, alloc_info};
250
+
----
251
+
252
+
Note: With VK_EXT_robustness2's nullDescriptor = VK_TRUE and descriptor indexing's partially-bound behavior, unbound array elements will read as zero rather than invoking undefined behavior.
253
+
184
254
=== Combining Robustness Extensions with Debugging Tools
185
255
186
256
For maximum effectiveness, combine robustness extensions with the debugging tools we discussed in previous sections:
0 commit comments