yum-mirror/slang

Making it easier to work with shaders

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

Yong HeDiagnose on initExpr of a global `const` decl (#7711)56e91e91e

master
351 B8 linesraw
1result code = 0
2standard error = {
3tests/diagnostics/global-uniform.slang(13): warning 39019: 'c' is implicitly a global shader parameter, not a global variable. If a global variable is intended, add the 'static' modifier. If a uniform shader parameter is intended, add the 'uniform' modifier to silence this warning.
4C c;
5  ^
6}
7standard output = {
8}