https://github.com/shader-slang/slang
Revision 82f308ca692878bfe9844b86629c6536b4cd0f0a authored by kaizhangNV on 10 July 2024, 21:10:33 UTC, committed by GitHub on 10 July 2024, 21:10:33 UTC
Spirv doesn't have instruction to do the float cast for the matrix type. So we have to convert the matrix row by row, and then construct them to a new matrix. Update the unit test to make sure the cast won't miss any elements. Co-authored-by: Yong He <yonghe@outlook.com>
1 parent b89421c
Tip revision: 82f308ca692878bfe9844b86629c6536b4cd0f0a authored by kaizhangNV on 10 July 2024, 21:10:33 UTC
Fix the invalid spirv generation for matrix cast (#4588)
Fix the invalid spirv generation for matrix cast (#4588)
Tip revision: 82f308c
File | Mode | Size |
---|---|---|
.github | ||
cmake | ||
docs | ||
examples | ||
external | ||
extras | ||
prelude | ||
source | ||
tests | ||
tools | ||
.editorconfig | -rw-r--r-- | 984 bytes |
.gitattributes | -rw-r--r-- | 95 bytes |
.gitignore | -rw-r--r-- | 1.6 KB |
.gitmodules | -rw-r--r-- | 1.3 KB |
.mailmap | -rw-r--r-- | 84 bytes |
CMakeLists.txt | -rw-r--r-- | 23.9 KB |
CMakePresets.json | -rw-r--r-- | 3.9 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 3.1 KB |
CONTRIBUTION.md | -rw-r--r-- | 10.2 KB |
LICENSE | -rw-r--r-- | 1.1 KB |
README.md | -rw-r--r-- | 8.5 KB |
github_build.sh | -rw-r--r-- | 1.6 KB |
github_macos_build.sh | -rw-r--r-- | 1.3 KB |
slang-com-helper.h | -rw-r--r-- | 4.9 KB |
slang-com-ptr.h | -rw-r--r-- | 5.0 KB |
slang-gfx.h | -rw-r--r-- | 88.8 KB |
slang-tag-version.h | -rw-r--r-- | 36 bytes |
slang.h | -rw-r--r-- | 215.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...