Idk what is still missing

This commit is contained in:
Dynamitos committed 2024-10-21 11:13:26 +02:00
1 parent 17746f8d20
commit 07dad4641d
9 files changed
+909 -157

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import subprocess
e = ['Reset', 'Classify', 'Split', 'PrepareIndirect', 'Allocate', 'Bisect', 'PropagateBisect', 'PrepareSimplify', 'Simplify', 'PropagateSimplify', 'ReducePrePass', 'ReduceFirstPass', 'ReduceSecondPass', 'BisectorIndexation', 'PrepareBisectorIndirect', 'Validate']
def generate(entry: list[str], file: str):
for point in entry:
subprocess.run(['C:/Users/Dynamitos/slang/build/Release/bin/slangc', '-I', '../lib', f'{file}.slang', '-profile', 'spirv_1_6', '-stage', 'compute', '-target','spirv', '-entry', f'{point}', '-o', f'{point}.spv', '-emit-spirv-via-glsl'])
generate(e, 'CBTCompute')
e = ['ClearBuffer', 'EvaluateLEB']
generate(e, 'LEB')