summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/constexpr-error.slang.expected
blob: 6f124fe349a5df32b8e32a6158bfdc95be9b91a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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(39): error 40006: expected a compile-time constant
    for(uint jj = 0; jj < uv.y; jj++)
                     ^~
tests/diagnostics/constexpr-error.slang(41): error 40006: expected a compile-time constant
        result += t.Sample(s, uv, int2(jj));
                                      ^
tests/diagnostics/constexpr-error.slang(39): error 40006: expected a compile-time constant
    for(uint jj = 0; jj < uv.y; jj++)
                                  ^~
}
standard output = {
}