From 21cb3329fd1c0149114548c780e861d0a9e6b635 Mon Sep 17 00:00:00 2001 From: Fabio Anderegg Date: Fri, 16 Jul 2021 21:24:06 +0100 Subject: [PATCH] atom: correctly initialize bufferDeviceAddressFeatures (#2211) Signed-off-by: Fabio Anderegg --- Gems/Atom/RHI/Vulkan/Code/Source/RHI/Device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gems/Atom/RHI/Vulkan/Code/Source/RHI/Device.cpp b/Gems/Atom/RHI/Vulkan/Code/Source/RHI/Device.cpp index 8aaffaab41..39cbf7da1f 100644 --- a/Gems/Atom/RHI/Vulkan/Code/Source/RHI/Device.cpp +++ b/Gems/Atom/RHI/Vulkan/Code/Source/RHI/Device.cpp @@ -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 = {};