https://github.com/shader-slang/slang
Raw File
Tip revision: aa8f7b899b7b562b3d3c6e25c3da41569505e70c authored by Chad Engler on 29 September 2021, 20:02:47 UTC
Fix ARM64 detection for MSVC (#1951)
Tip revision: aa8f7b8
constexpr-error.slang.expected
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 = {
}
back to top