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"