diff options
| author | Yuki Nishidate <30839669+yknishidate@users.noreply.github.com> | 2024-12-29 02:22:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-28 17:22:00 +0000 |
| commit | c4429bc33450be32ed82358c3974da58e5ec25ab (patch) | |
| tree | be20e7a4192d8a285e4f4136980686ac4a768179 /docs/user-guide/a2-01-spirv-target-specific.md | |
| parent | 478be540a6f93ffcb552e496c41fe1c278ae054e (diff) | |
Fix tiny typos (#5944)
Diffstat (limited to 'docs/user-guide/a2-01-spirv-target-specific.md')
| -rw-r--r-- | docs/user-guide/a2-01-spirv-target-specific.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide/a2-01-spirv-target-specific.md b/docs/user-guide/a2-01-spirv-target-specific.md index d57cc8ce5..dcbe44e96 100644 --- a/docs/user-guide/a2-01-spirv-target-specific.md +++ b/docs/user-guide/a2-01-spirv-target-specific.md @@ -291,7 +291,7 @@ Another way to put, Slang treats column as row and row as column when targeting Due to the swap of row and column in terminology, the matrix multiplication needs to be performed little differently. Slang translates a matrix multiplication, `mul(mat1, mat2)`, to `transpose(mul(transpose(mat2), transpose(mat1)))` when targeting SPIR-V. -Note that the matrix translation explained above is orthogoal to the memory layout of a matrix. The memory layout is related to how CPU places matrix values in the memory and how GPU reads them. It is like how `std140` or `std430` works. DXC by default uses `column_major` memory layout and Slang uses row-major memory layout. For more information about the matrix memory layout, please see [a1-01-matrix-layout](a1-01-matrix-layout.md). +Note that the matrix translation explained above is orthogonal to the memory layout of a matrix. The memory layout is related to how CPU places matrix values in the memory and how GPU reads them. It is like how `std140` or `std430` works. DXC by default uses `column_major` memory layout and Slang uses row-major memory layout. For more information about the matrix memory layout, please see [a1-01-matrix-layout](a1-01-matrix-layout.md). Legalization |
