summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/constexpr-error.slang.expected
blob: f6c27b0066c820589f35097a596fcf8688b0a733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
result code = -1
standard error = {
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 = {
}