Slang shaders for buffer device address example
This commit is contained in:
parent
bc3c41e89a
commit
880b48485f
3 changed files with 68 additions and 1 deletions
|
|
@ -41,6 +41,6 @@ for root, dirs, files in os.walk(dir_path):
|
|||
input_file = os.path.join(root, file)
|
||||
output_file = input_file + ".spv"
|
||||
output_file = output_file.replace(".slang", "")
|
||||
res = subprocess.call("%s %s -profile spirv_1_4 -target spirv -o %s -entry %s" % (compiler_path, input_file, output_file, "main"), shell=True)
|
||||
res = subprocess.call("%s %s -profile spirv_1_4 -matrix-layout-column-major -target spirv -o %s -entry %s" % (compiler_path, input_file, output_file, "main"), shell=True)
|
||||
if res != 0:
|
||||
sys.exit(res)
|
||||
Loading…
Add table
Add a link
Reference in a new issue