summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/user-guide/a1-01-matrix-layout.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/a1-01-matrix-layout.md b/docs/user-guide/a1-01-matrix-layout.md
index 9c9d0feef..a15b9e620 100644
--- a/docs/user-guide/a1-01-matrix-layout.md
+++ b/docs/user-guide/a1-01-matrix-layout.md
@@ -9,8 +9,8 @@ The differences between default matrix layout or storage conventions between GLS
A high level summary:
-* Default matrix **layout** in memory for Slang is `column-major`.
- * This default is for *legacy* reasons and may change in the future.
+* Default matrix **layout** in memory for Slang is `row-major`.
+ * Except when running the compiler through the `slangc` tool, in which case the default is `col-major`. This default is for *legacy* reasons and may change in the future.
* Row-major layout is the only *portable* layout to use across targets (with significant caveats for non 4x4 matrices)
* Use `setMatrixLayoutMode`/`spSetMatrixLayoutMode`/`createSession` to set the default
* Use `-matrix-layout-row-major` or `-matrix-layout-column-major` for the command line