yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
3072cfea9
master
1result code = -1 2standard error = { 3tests/diagnostics/extension-full-name.slang(185): error 30019: expected an expression of type 'GenericType<half>.State', got 'int' 4 state1 = 0; // Error: expected expr of type 'GenericType<half>.State', got 'int' 5 ^ 6tests/diagnostics/extension-full-name.slang(186): error 30019: expected an expression of type 'GenericType<float>.InnerType.Options', got 'int' 7 options1 = 0; // Error: expected expr of type 'GenericType<float>.InnerType.Options', got 'int' 8 ^ 9tests/diagnostics/extension-full-name.slang(187): error 30019: expected an expression of type 'NonGenericType.Config', got 'int' 10 config1 = 0; // Error: expected expr of type 'NonGenericType.Config', got 'int' 11 ^ 12tests/diagnostics/extension-full-name.slang(188): error 30019: expected an expression of type 'Container.Nested.Settings', got 'int' 13 settings1 = 0; // Error: expected expr of type 'Container.Nested.Settings', got 'int' 14 ^ 15tests/diagnostics/extension-full-name.slang(189): error 30019: expected an expression of type 'Container.Nested.DeepNested.Record', got 'int' 16 record1 = 0; // Error: expected expr of type 'Container.Nested.DeepNested.Record', got 'int' 17 ^ 18tests/diagnostics/extension-full-name.slang(189): note: explicit conversion from 'int' to 'Container.Nested.DeepNested.Record' is possible 19tests/diagnostics/extension-full-name.slang(197): error 30027: 'getOptions' is not a member of 'GenericType<int>.InnerType'. 20 intInner.getOptions(); // This won't compile as intInner doesn't have getOptions 21 ^~~~~~~~~~ 22tests/diagnostics/extension-full-name.slang(227): error 30019: expected an expression of type 'GenericType<float>.InnerType.Options', got 'GenericType<half>.State' 23 .createState(); // Error: expected expr of type 'GenericType<float>.InnerType.Options', 24 ^ 25tests/diagnostics/extension-full-name.slang(229): error 30019: expected an expression of type 'GenericType<half>.State', got 'NonGenericType.Config' 26 state1 = nonGenType.createConfig(); // Error: expected expr of type 'GenericType<half>.State', 27 ^ 28tests/diagnostics/extension-full-name.slang(231): error 30019: expected an expression of type 'NonGenericType.Config', got 'Container.Nested.Settings' 29 config1 = nested.createSettings(); // Error: expected expr of type 'NonGenericType.Config', got 30 ^ 31tests/diagnostics/extension-full-name.slang(305): error 30019: expected an expression of type 'Bar[3].DataStats', got 'int' 32 barStats = 0; // Error: expected expr of type 'Bar[3].DataStats', got 'int' 33 ^ 34tests/diagnostics/extension-full-name.slang(313): error 30019: expected an expression of type 'Bar[2].DataStats', got 'Bar[3].DataStats' 35 bar2Stats = barArray.computeStats(); // Error: expected expr of type 'Bar[2].DataStats', got 'Bar[3].DataStats' 36 ^ 37tests/diagnostics/extension-full-name.slang(356): error 30019: expected an expression of type 'SimpleBase.NamedConfig', got 'int' 38 config = 0; // Error: expected expr of type 'SimpleBase.NamedConfig', got 'int' 39 ^ 40} 41standard output = { 42}