yum-mirror/slang

Making it easier to work with shaders

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

jsmall-nvidiaDiagnostic location highlighting (#1700)369279e91

master
713 B17 linesraw
1result code = 0
2standard error = {
3tests/diagnostics/float-literal.slang(7): warning 39999: float literal '5e+40' unrepresentable, converted to 'inf'
4    a += 5e+40;
5         ^~~~~
6tests/diagnostics/float-literal.slang(9): warning 39999: '9e-50' is smaller than the smallest representable value for type float, converted to '0'
7    a += 9e-50;
8         ^~~~~
9tests/diagnostics/float-literal.slang(19): warning 39999: float literal '5e+40' unrepresentable, converted to 'inf'
10    b += -5e+40;
11          ^~~~~
12tests/diagnostics/float-literal.slang(20): warning 39999: '9e-50' is smaller than the smallest representable value for type float, converted to '0'
13    b += -9e-50;
14          ^~~~~
15}
16standard output = {
17}