radv: update VK_EXT_scalar_block_layout for Vulkan 1.2
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 07:00:19 +0000 (09:00 +0200)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 15 Jan 2020 14:42:25 +0000 (08:42 -0600)
Promoted to Vulkan 1.2 with the EXT 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 ff13daf9851ea801c8af7a910407846b1f43e11f..20db56d456237de9a49e35342ac31bdf64421b96 100644 (file)
@@ -1044,9 +1044,9 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->geometryStreams = !pdevice->use_ngg_streamout;
                        break;
                }
-               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT: {
-                       VkPhysicalDeviceScalarBlockLayoutFeaturesEXT *features =
-                               (VkPhysicalDeviceScalarBlockLayoutFeaturesEXT *)ext;
+               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: {
+                       VkPhysicalDeviceScalarBlockLayoutFeatures *features =
+                               (VkPhysicalDeviceScalarBlockLayoutFeatures *)ext;
                        features->scalarBlockLayout = pdevice->rad_info.chip_class >= GFX7;
                        break;
                }