yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

CopilotFix #pragma warning not working with multifile modules (#7942)301ffb194

master
389 B11 linesraw
1// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2implementing test_pragma_warning;
3
4namespace impl2
5{
6    interface IConvertibleFrom<From> {}
7
8    // This should still NOT produce warning 30856 (but currently does due to the bug)
9    extension<From : __BuiltinFloatingPointType, To : IConvertibleFrom<From>, let N : int>
10    vector<To, N> : IConvertibleFrom<vector<From, N>> {}
11}