From dde011039eb0e17781eeb702efae5a53a22d0d22 Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Mon, 5 May 2025 21:42:04 +0200 Subject: [PATCH] Always infer entry point name from list of stages --- shaders/slang/compileshaders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/slang/compileshaders.py b/shaders/slang/compileshaders.py index 5a6faf94..3f7f39ab 100644 --- a/shaders/slang/compileshaders.py +++ b/shaders/slang/compileshaders.py @@ -83,7 +83,7 @@ for root, dirs, files in os.walk(dir_path): print("Compiling %s" % input_file) output_base_file_name = input_file for stage in stages: - if (len(stages) > 1): + if (len(stages) > 0): entry_point = stage + "Main" else: entry_point = "main"