radv: fix missing break in radv_GetPhysicalDeviceProperties2()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 19 May 2020 09:53:13 +0000 (11:53 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 15:51:14 +0000 (15:51 +0000)
Fixes: 57e796a12a8 ("radv: Implement VK_EXT_custom_border_color")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5097>

src/amd/vulkan/radv_device.c

index b4b429a4ed72aa89123e12289b86d6d73fc7d888..682b3f3b1736f1ed095c1f35d542f38614099635 100644 (file)
@@ -1944,6 +1944,7 @@ void radv_GetPhysicalDeviceProperties2(
                                (VkPhysicalDeviceRobustness2PropertiesEXT *)ext;
                        properties->robustStorageBufferAccessSizeAlignment = 4;
                        properties->robustUniformBufferAccessSizeAlignment = 4;
+                       break;
                }
                case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT: {
                        VkPhysicalDeviceCustomBorderColorPropertiesEXT *props =