yum-mirror/slang

Making it easier to work with shaders

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

Yong HeWarning on lossy implicit casts. (#2367)adaea0e99

master
179 B13 linesraw
1// bool-to-float.slang
2
3// Diagnostic messages related to converting bool to float
4
5//DIAGNOSTIC_TEST:SIMPLE:
6
7struct Test
8{
9    void test()
10    {
11        float f = true;
12    }
13}