From a72d5bc3eb413b53ff9d5165afc6ded9fcf8e115 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Mon, 10 Jan 2022 16:52:50 -0600 Subject: [PATCH] Add 1.2.1 as valid Layer Manifest version --- loader/loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/loader.c b/loader/loader.c index 3892aa305..5907613ed 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2561,8 +2561,8 @@ static VkResult loader_read_layer_json(const struct loader_instance *inst, struc } static inline bool is_valid_layer_json_version(const layer_json_version *layer_json) { - // Supported versions are: 1.0.0, 1.0.1, 1.1.0 - 1.1.2, and 1.2.0. - if ((layer_json->major == 1 && layer_json->minor == 2 && layer_json->patch < 1) || + // Supported versions are: 1.0.0, 1.0.1, 1.1.0 - 1.1.2, and 1.2.0 - 1.2.1. + if ((layer_json->major == 1 && layer_json->minor == 2 && layer_json->patch < 2) || (layer_json->major == 1 && layer_json->minor == 1 && layer_json->patch < 3) || (layer_json->major == 1 && layer_json->minor == 0 && layer_json->patch < 2)) { return true;