From eb9b6043be165f06c7ec78fadbb1ff773c5fc19c Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Fri, 11 Oct 2024 12:26:50 -0500 Subject: vkcube: Remove unused command line option The --validate-checks-disabled flag was unused, so will be removed. --- cube/cube.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cube/cube.c b/cube/cube.c index 78d0bb55..4879317c 100644 --- a/cube/cube.c +++ b/cube/cube.c @@ -437,7 +437,6 @@ struct demo { int32_t curFrame; int32_t frameCount; bool validate; - bool validate_checks_disabled; bool use_break; bool suppress_popups; bool force_errors; @@ -4223,11 +4222,6 @@ static void demo_init(struct demo *demo, int argc, char **argv) { demo->validate = true; continue; } - if (strcmp(argv[i], "--validate-checks-disabled") == 0) { - demo->validate = true; - demo->validate_checks_disabled = true; - continue; - } if (strcmp(argv[i], "--xlib") == 0) { fprintf(stderr, "--xlib is deprecated and no longer does anything"); continue; @@ -4286,7 +4280,7 @@ static void demo_init(struct demo *demo, int argc, char **argv) { ERR_EXIT("Usage: vkcube [--validate]\n", "Usage"); #else char *message = - "Usage:\n %s\t[--use_staging] [--validate] [--validate-checks-disabled]\n" + "Usage:\n %s\t[--use_staging] [--validate]\n" "\t[--break] [--c ] [--suppress_popups]\n" "\t[--incremental_present] [--display_timing]\n" "\t[--gpu_number ]\n" -- cgit v1.2.3