summaryrefslogtreecommitdiff
path: root/tests/diagnostics/global-uniform.slang.expected
blob: 44d3599bb0a7c33915e11c82bbcfcd8a2f034303 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 = {
}