From: Samuel Pitoiset Date: Tue, 15 Oct 2019 08:16:37 +0000 (+0200) Subject: radv: update VK_KHR_shader_atomic_int64 for Vulkan 1.2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a73d01b1db9ee359145fec7fbc4ae49f2b6a78b1;p=mesa.git radv: update VK_KHR_shader_atomic_int64 for Vulkan 1.2 Promoted to Vulkan 1.2 with the KHR suffix omitted. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 99da0dd368e..4d566b460a0 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1100,9 +1100,9 @@ void radv_GetPhysicalDeviceFeatures2( features->shaderInt8 = !pdevice->use_aco; break; } - case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR: { - VkPhysicalDeviceShaderAtomicInt64FeaturesKHR *features = - (VkPhysicalDeviceShaderAtomicInt64FeaturesKHR *)ext; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES: { + VkPhysicalDeviceShaderAtomicInt64Features *features = + (VkPhysicalDeviceShaderAtomicInt64Features *)ext; features->shaderBufferInt64Atomics = LLVM_VERSION_MAJOR >= 9; features->shaderSharedInt64Atomics = LLVM_VERSION_MAJOR >= 9; break;