diff options
author | Samuel Pitoiset <[email protected]> | 2019-10-15 10:16:37 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2020-01-15 08:42:25 -0600 |
commit | a73d01b1db9ee359145fec7fbc4ae49f2b6a78b1 (patch) | |
tree | c4bd24b557dc0fea69a009653fe7fbb241fdf41a /src/amd/vulkan/radv_device.c | |
parent | 83d1773a5784d3900294108a99111748322331f5 (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |