diff options
Diffstat (limited to 'source/slang/slang-spirv-val.cpp')
| -rw-r--r-- | source/slang/slang-spirv-val.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-spirv-val.cpp b/source/slang/slang-spirv-val.cpp index a6bc29306..b5a02f3fe 100644 --- a/source/slang/slang-spirv-val.cpp +++ b/source/slang/slang-spirv-val.cpp @@ -55,6 +55,7 @@ SlangResult debugValidateSPIRV(const List<uint8_t>& spirv) commandLine.m_executableLocation.setName("spirv-val"); commandLine.addArg("--target-env"); commandLine.addArg("vulkan1.2"); + commandLine.addArg("--scalar-block-layout"); RefPtr<Process> p; const auto createResult = Process::create(commandLine, 0, p); // If we failed to even start the process, then validation isn't available |
