This commit is contained in:
ceeac 2025-01-19 07:28:42 +00:00 committed by GitHub
commit f49019938f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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