shader-slang / slang

Making it easier to work with shaders
MIT License
1.78k stars 159 forks source link

[Metal] constructing matrix from row vectors result in invalid code. #4369

Closed csyonghe closed 2 weeks ago

csyonghe commented 2 weeks ago

Metal does not provide constructors to make matrix from slang::row vectors. Such operations must be expanded out explicitly.