summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/user-guide/a1-01-matrix-layout.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/user-guide/a1-01-matrix-layout.md b/docs/user-guide/a1-01-matrix-layout.md
index a15b9e620..194e22c07 100644
--- a/docs/user-guide/a1-01-matrix-layout.md
+++ b/docs/user-guide/a1-01-matrix-layout.md
@@ -150,10 +150,9 @@ globalSession->createSession(slangSessionDesc, &session);
This makes Slang treat all matrices as in `column-major` layout, and for example emitting `column_major` qualifier in resulting HLSL code.
-Alternatively the default layout can be set via
+Alternatively the default layout can be set by
-* `setMatrixLayoutMode`/`spSetMatrixLayoutMode` API calls
-* `-matrix-layout-row-major` or `-matrix-layout-column-major` command line options
- * or via `spProcessCommandLineArguments`/`processCommandLineArguments`
+* Including a `CompilerOptionName::MatrixLayoutColumn` or `CompilerOptionName::MatrixLayoutRow` entry in `SessionDesc::compilerOptionEntries`.
+* Setting `-matrix-layout-row-major` or `-matrix-layout-column-major` command line options to `slangc`.