From 96f19629d4cfbe282af010cee704409a6fb2f59c Mon Sep 17 00:00:00 2001 From: Mukund Keshava Date: Fri, 28 Feb 2025 07:26:42 +0530 Subject: Remove adapter option from slang-test (#6475) Fixes #6390 This commit removes the deprecated -adapter command-line option from slang-test. This change aligns with commit 015bde8d5a46f32979c00dbb1feb4b3d80729c44, which previously removed the adapter option from render-test and implemented the more AdapterLUID mechanism. Co-authored-by: Ellie Hermaszewska Co-authored-by: Yong He --- tools/slang-test/options.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tools/slang-test/options.cpp') diff --git a/tools/slang-test/options.cpp b/tools/slang-test/options.cpp index b3f4bdc10..45533fe49 100644 --- a/tools/slang-test/options.cpp +++ b/tools/slang-test/options.cpp @@ -190,15 +190,6 @@ static bool _isSubCommand(const char* arg) argCursor++; // Assumed to be handle by .bat file that called us } - else if (strcmp(arg, "-adapter") == 0) - { - if (argCursor == argEnd) - { - stdError.print("error: expected operand for '%s'\n", arg); - return SLANG_FAIL; - } - optionsOut->adapter = *argCursor++; - } else if (strcmp(arg, "-server-count") == 0) { if (argCursor == argEnd) -- cgit v1.2.3