Skip to content

Commit 6296f5b

Browse files
author
Greg Roth
committed
null change to retrigger formatting check
1 parent 74c3da2 commit 6296f5b

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

tools/clang/tools/dxcompiler/dxcompilerobj.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -940,9 +940,7 @@ class DxcCompiler : public IDxcCompiler3,
940940
action.Execute();
941941
action.EndSourceFile();
942942
}
943-
}
944-
// SPIRV change starts
945-
else if (!isPreprocessing && opts.GenSPIRV) {
943+
} else if (!isPreprocessing && opts.GenSPIRV) { // SPIRV change starts
946944
// Since SpirvOptions is passed to the SPIR-V CodeGen as a whole
947945
// structure, we need to copy a few non-spirv-specific options into the
948946
// structure.
@@ -969,9 +967,8 @@ class DxcCompiler : public IDxcCompiler3,
969967
action.Execute();
970968
action.EndSourceFile();
971969
outStream.flush();
972-
}
973-
// SPIRV change ends
974-
else if (!isPreprocessing) {
970+
// SPIRV change ends
971+
} else if (!isPreprocessing) {
975972
EmitBCAction action(&llvmContext);
976973
FrontendInputFile file(pUtf8SourceName, IK_HLSL);
977974
bool compileOK;

0 commit comments

Comments
 (0)