yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

cheneym2Support mixture of precompiled and non-precompiled modules (#4860)ddf4a323b

master
183 B8 linesraw
1//TEST_IGNORE_FILE:
2
3module "module-library-matrix";
4
5public float4x4 to4x4(float3x4 source)
6{
7    return float4x4(source[0], source[1], source[2], float4(0.0f, 0.0f, 0.0f, 1.0f));
8}