https://github.com/shader-slang/slang
Raw File
Tip revision: aa8f7b899b7b562b3d3c6e25c3da41569505e70c authored by Chad Engler on 29 September 2021, 20:02:47 UTC
Fix ARM64 detection for MSVC (#1951)
Tip revision: aa8f7b8
global-uniform.slang.expected
result code = 0
standard error = {
tests/diagnostics/global-uniform.slang(10): warning 39016: 'b' 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.
const uint4 b = uint4(0,1,2,3);
            ^
tests/diagnostics/global-uniform.slang(13): warning 39016: '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.
C c;
  ^
}
standard output = {
}
back to top