summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/constexpr-error.slang.expected
blob: 4dea62ca14310bc0285b6b5521b2f869e4ac8854 (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, uint2(ii));
                                   ^
tests/diagnostics/constexpr-error.slang(41): error 40006: expected a compile-time constant
        result += t.Sample(s, uv, uint2(jj));
                                       ^
}
standard output = {
}