Skip to content

Commit dde0110

Browse files
committed
Always infer entry point name from list of stages
1 parent 7c115af commit dde0110

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shaders/slang/compileshaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def getShaderStages(filename):
8383
print("Compiling %s" % input_file)
8484
output_base_file_name = input_file
8585
for stage in stages:
86-
if (len(stages) > 1):
86+
if (len(stages) > 0):
8787
entry_point = stage + "Main"
8888
else:
8989
entry_point = "main"

0 commit comments

Comments
 (0)