Skip to content

Commit 87f2089

Browse files
author
GBDixonAlex
committed
- add fvk-use-scalar-layout for spirv compat
1 parent ea682ca commit 87f2089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pmfx_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def cross_compile_hlsl_spirv(info, src, stage, entry_point, temp_filepath, outpu
751751

752752
spirv_filepath = os.path.splitext(temp_filepath)[0] + ".spirv"
753753

754-
cmdline = "{} -T {}_{} -E {} -spirv -Od -Fo {} {}".format(exe, stage, "6_3", entry_point, spirv_filepath, temp_filepath)
754+
cmdline = "{} -T {}_{} -E {} -spirv -fvk-use-scalar-layout -Od -Fo {} {}".format(exe, stage, "6_3", entry_point, spirv_filepath, temp_filepath)
755755

756756
print(f"{cmdline}")
757757

0 commit comments

Comments
 (0)