From cc0f8572ca9c21df5ed3851fc20b8bad5a9de71c Mon Sep 17 00:00:00 2001 From: pyroyoyo Date: Mon, 28 Oct 2024 10:39:15 +0100 Subject: [PATCH] FIX: Validation layers not found by triangle-vulkan test --- tests/triangle-vulkan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/triangle-vulkan.c b/tests/triangle-vulkan.c index b38ee139..cdcbc415 100644 --- a/tests/triangle-vulkan.c +++ b/tests/triangle-vulkan.c @@ -1573,7 +1573,7 @@ static void demo_init_vk(struct demo *demo) { demo->enabled_layer_count = 0; char *instance_validation_layers_alt1[] = { - "VK_LAYER_LUNARG_standard_validation" + "VK_LAYER_KHRONOS_validation" }; char *instance_validation_layers_alt2[] = { @@ -1605,7 +1605,7 @@ static void demo_init_vk(struct demo *demo) { instance_layers); if (validation_found) { demo->enabled_layer_count = ARRAY_SIZE(instance_validation_layers_alt1); - demo->enabled_layers[0] = "VK_LAYER_LUNARG_standard_validation"; + demo->enabled_layers[0] = "VK_LAYER_KHRONOS_validation"; validation_layer_count = 1; } else { // use alternative set of validation layers