From 661d6198bbb9857d3fdc6df477e0742ed0b0765c Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 14 Aug 2023 16:23:19 -0700 Subject: Support per field matrix layout (#3101) * Support per field matrix layout * Fix warnings. * Fix. * Fix tests. * Fix spiv gen. * Fix. * More test fixes. * Fix. * Run only GPU tests on self-hosted servers. * Remove -use-glsl-matrix-layout-modifier. * Fix. --------- Co-authored-by: Yong He --- source/slang/slang-options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/slang/slang-options.cpp') diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp index dbd6b97a4..85602b744 100644 --- a/source/slang/slang-options.cpp +++ b/source/slang/slang-options.cpp @@ -372,11 +372,11 @@ void initCommandOptions(CommandOptions& options) const Option generalOpts[] = { - { OptionKind::MacroDefine, "-D?...", "-D[=], -D [=]", - "Insert a preprocessor macro.\n" + { OptionKind::MacroDefine, "-D?...", "-D[=], -D [=]", + "Insert a preprocessor macro.\n" "The space between - D and is optional. If no is specified, Slang will define the macro with an empty value." }, { OptionKind::DepFile, "-depfile", "-depfile ", "Save the source file dependency list in a file." }, - { OptionKind::EntryPointName, "-entry", "-entry ", + { OptionKind::EntryPointName, "-entry", "-entry ", "Specify the name of an entry-point function.\n" "When compiling from a single file, this defaults to main if you specify a stage using -stage.\n" "Multiple -entry options may be used in a single invocation. " @@ -386,7 +386,7 @@ void initCommandOptions(CommandOptions& options) { OptionKind::EmitIr, "-emit-ir", nullptr, "Emit IR typically as a '.slang-module' when outputting to a container." }, { OptionKind::Help, "-h,-help,--help", "-h or -h ", "Print this message, or help in specified category." }, { OptionKind::HelpStyle, "-help-style", "-help-style ", "Help formatting style" }, - { OptionKind::Include, "-I?...", "-I, -I ", + { OptionKind::Include, "-I?...", "-I, -I ", "Add a path to be used in resolving '#include' " "and 'import' operations."}, { OptionKind::Language, "-lang", "-lang ", "Set the language for the following input files."}, -- cgit v1.2.3