radv: update VK_KHR_8bit_storage for Vulkan 1.2
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 07:03:28 +0000 (09:03 +0200)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 15 Jan 2020 14:42:25 +0000 (08:42 -0600)
Promoted to Vulkan 1.2 with the KHR suffix omitted.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index 20db56d456237de9a49e35342ac31bdf64421b96..76e191a93a876b169fcbd800e7d40561c1b4c5fb 100644 (file)
@@ -1084,9 +1084,9 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->hostQueryReset = true;
                        break;
                }
-               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR: {
-                       VkPhysicalDevice8BitStorageFeaturesKHR *features =
-                           (VkPhysicalDevice8BitStorageFeaturesKHR*)ext;
+               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: {
+                       VkPhysicalDevice8BitStorageFeatures *features =
+                           (VkPhysicalDevice8BitStorageFeatures *)ext;
                        bool enabled = pdevice->rad_info.chip_class >= GFX8 && !pdevice->use_aco;
                        features->storageBuffer8BitAccess = enabled;
                        features->uniformAndStorageBuffer8BitAccess = enabled;