summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/constexpr-error.slang.expected
blob: a744fcafd7f5e141d3baa91ee6affe431b5d09a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
result code = -1
standard error = {
tests/diagnostics/constexpr-error.slang(27): warning 30081: implicit conversion from 'vector<uint,2>' to 'vector<int,2>' is not recommended
    result += t.Sample(s, uv, offset);
                              ^~~~~~
tests/diagnostics/constexpr-error.slang(27): error 40006: expected a compile-time constant
    result += t.Sample(s, uv, offset);
                              ^~~~~~
tests/diagnostics/constexpr-error.slang(35): error 40006: expected a compile-time constant
    result += t.Sample(s, uv, int2(ii));
                                  ^
tests/diagnostics/constexpr-error.slang(41): error 40006: expected a compile-time constant
        result += t.Sample(s, uv, int2(jj));
                                      ^
}
standard output = {
}