Skip to content

Commit 6777aa0

Browse files
committed
changed usage of required features in tutorial
1 parent d983438 commit 6777aa0

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

samples/extensions/device_fault/README.adoc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ allocated and bound/unbound addresses in Vulkan application.
3535
[,cpp]
3636
----
3737
REQUEST_OPTIONAL_FEATURE(gpu,
38-
VkPhysicalDeviceFaultFeaturesEXT,
39-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT,
40-
deviceFault);
38+
VkPhysicalDeviceFaultFeaturesEXT,
39+
deviceFault);
4140
----
4241

4342
This code enables the device fault feature, which allows us to query detailed information about device lost errors.
@@ -48,9 +47,8 @@ The feature must be enabled before creating the logical device.
4847
[,cpp]
4948
----
5049
REQUEST_OPTIONAL_FEATURE(gpu,
51-
VkPhysicalDeviceAddressBindingReportFeaturesEXT,
52-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ADDRESS_BINDING_REPORT_FEATURES_EXT,
53-
reportAddressBinding);
50+
VkPhysicalDeviceAddressBindingReportFeaturesEXT,
51+
reportAddressBinding);
5452
----
5553

5654
This feature enables monitoring of GPU memory address bindings, providing insights into memory allocation.

0 commit comments

Comments
 (0)