Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcad3953 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

vulkan: fix "vkinfo -validate"

Some layers were renamed/merged.

Bug: 28317797
Change-Id: Ie7982790502ad1bed3234b26129cff9e06667365
parent 8955f3f7
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -182,12 +182,11 @@ void GatherGpuInfo(VkPhysicalDevice gpu,
    // clang-format off
    const char *kValidationLayers[] = {
        "VK_LAYER_GOOGLE_threading",
        "VK_LAYER_LUNARG_parameter_validation",
        "VK_LAYER_LUNARG_device_limits",
        "VK_LAYER_LUNARG_draw_state",
        "VK_LAYER_LUNARG_image",
        "VK_LAYER_LUNARG_mem_tracker",
        "VK_LAYER_LUNARG_object_tracker",
        "VK_LAYER_LUNARG_param_checker",
        "VK_LAYER_LUNARG_image",
        "VK_LAYER_LUNARG_core_validation",
        "VK_LAYER_LUNARG_swapchain",
        "VK_LAYER_GOOGLE_unique_objects"
    };
@@ -252,12 +251,11 @@ void GatherInfo(VulkanInfo* info, const Options& options) {
    // clang-format off
    const char *kValidationLayers[] = {
        "VK_LAYER_GOOGLE_threading",
        "VK_LAYER_LUNARG_parameter_validation",
        "VK_LAYER_LUNARG_device_limits",
        "VK_LAYER_LUNARG_draw_state",
        "VK_LAYER_LUNARG_image",
        "VK_LAYER_LUNARG_mem_tracker",
        "VK_LAYER_LUNARG_object_tracker",
        "VK_LAYER_LUNARG_param_checker",
        "VK_LAYER_LUNARG_image",
        "VK_LAYER_LUNARG_core_validation",
        "VK_LAYER_LUNARG_swapchain",
        "VK_LAYER_GOOGLE_unique_objects"
    };