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 = { }