|
@@ -1504,6 +1504,7 @@ public:
|
|
|
// allows us to dump implicit AST nodes in the debugger.
|
|
|
compiler.getLangOpts().DumpImplicitTopLevelDecls =
|
|
|
Opts.AstDumpImplicit || !Opts.AstDump;
|
|
|
+ compiler.getLangOpts().HLSLDefaultRowMajor = Opts.DefaultRowMajor;
|
|
|
|
|
|
// SPIRV change starts
|
|
|
#ifdef ENABLE_SPIRV_CODEGEN
|
|
@@ -1549,7 +1550,6 @@ public:
|
|
|
compiler.getCodeGenOpts().HLSLIgnoreOptSemDefs = Opts.IgnoreOptSemDefs;
|
|
|
compiler.getCodeGenOpts().HLSLIgnoreSemDefs = Opts.IgnoreSemDefs;
|
|
|
compiler.getCodeGenOpts().HLSLOverrideSemDefs = Opts.OverrideSemDefs;
|
|
|
- compiler.getCodeGenOpts().HLSLDefaultRowMajor = Opts.DefaultRowMajor;
|
|
|
compiler.getCodeGenOpts().HLSLPreferControlFlow = Opts.PreferFlowControl;
|
|
|
compiler.getCodeGenOpts().HLSLAvoidControlFlow = Opts.AvoidFlowControl;
|
|
|
compiler.getCodeGenOpts().HLSLNotUseLegacyCBufLoad = Opts.NotUseLegacyCBufLoad;
|