Skip to content

Commit

Permalink
Fix Vulkan extension checking (#1075)
Browse files Browse the repository at this point in the history
The wrong copy of the descriptor indexing struct was being added to the
extension chain meaning that everything else was discarded.
  • Loading branch information
gnl21 authored Jan 8, 2025
1 parent 6dac142 commit ec5e5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/config_helper_vulkan.cc
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ amber::Result ConfigHelperVulkan::CheckVulkanPhysicalDeviceRequirements(
if (supports_descriptor_indexing_) {
descriptor_indexing_features.sType =
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT;
descriptor_indexing_feature_.pNext = next_ptr;
descriptor_indexing_features.pNext = next_ptr;
next_ptr = &descriptor_indexing_features;
}

Expand Down

0 comments on commit ec5e5e3

Please sign in to comment.