diff options
| author | Yong He <yonghe@outlook.com> | 2024-03-20 13:30:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 13:30:31 -0700 |
| commit | 04ffa84c95b68ae50c25d32703fa9e6d49d2a10a (patch) | |
| tree | b2f12f57e8d335f8ed1ceb1405070346633b146d /docs | |
| parent | 6cefb85bc32208fec1524a7d1cf3c20d8ce21c15 (diff) | |
Update a1-01-matrix-layout.md
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user-guide/a1-01-matrix-layout.md | 4 |
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 |
