https://shader-slang.org/slang/user-guide/a1-01-matrix-layout.html so far the biggest issue in slang is whatever the heck they were smoking when this happened...'n"Default matrix layout in memory for Slang is row-major.
-
https://shader-slang.org/slang/user-guide/a1-01-matrix-layout.html so far the biggest issue in slang is whatever the heck they were smoking when this happened...
"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."
then this banger in the SPIR-V section...
"A m-row-by-n-column matrix in Slang, represented as floatmxn or matrix<T, m, n>, is translated to OpTypeMatrix (OpTypeVector(T, n), m) in SPIRV."
-
https://shader-slang.org/slang/user-guide/a1-01-matrix-layout.html so far the biggest issue in slang is whatever the heck they were smoking when this happened...
"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."
then this banger in the SPIR-V section...
"A m-row-by-n-column matrix in Slang, represented as floatmxn or matrix<T, m, n>, is translated to OpTypeMatrix (OpTypeVector(T, n), m) in SPIRV."
"Slang translates a matrix multiplication, mul(mat1, mat2), to transpose(mul(transpose(mat2), transpose(mat1))) when targeting SPIR-V."
come on
-
undefined oblomov@sociale.network shared this topic on