atom: correctly initialize bufferDeviceAddressFeatures (#2211)

Signed-off-by: Fabio Anderegg <fabioa@kythera.ai>
This commit is contained in:
Fabio Anderegg
2021-07-16 21:24:06 +01:00
committed by GitHub
parent c0276d22b0
commit 21cb3329fd
@@ -165,12 +165,12 @@ namespace AZ
VkPhysicalDeviceDepthClipEnableFeaturesEXT depthClipEnabled = {};
depthClipEnabled.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT;
depthClipEnabled.depthClipEnable = physicalDevice.GetPhysicalDeviceDepthClipEnableFeatures().depthClipEnable;
descriptorIndexingFeatures.pNext = &depthClipEnabled;
bufferDeviceAddressFeatures.pNext = &depthClipEnabled;
VkPhysicalDeviceRobustness2FeaturesEXT robustness2 = {};
robustness2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT;
robustness2.nullDescriptor = physicalDevice.GetPhysicalDeviceRobutness2Features().nullDescriptor;
bufferDeviceAddressFeatures.pNext = &robustness2;
depthClipEnabled.pNext = &robustness2;
VkPhysicalDeviceVulkan12Features vulkan12Features = {};
VkPhysicalDeviceShaderFloat16Int8FeaturesKHR float16Int8 = {};