1hlsl.params.default.negative.frag 2ERROR: 0:27: '' : invalid default parameter value 3ERROR: 0:32: 'p1' : invalid parameter after default value parameters 4ERROR: 0:40: 'fn1' : ambiguous best function under implicit type conversion 5ERROR: 0:47: 'fn2' : ambiguous best function under implicit type conversion 6ERROR: 4 compilation errors. No code generated. 7 8 9Shader version: 500 10gl_FragCoord origin is upper left 11ERROR: node is still EOpNull! 120:7 Function Definition: fn1(vi4; ( temp 4-component vector of int) 130:7 Function Parameters: 140:7 'p0' ( in 4-component vector of int) 150:? Sequence 160:7 Branch: Return with expression 170:7 Constant: 180:7 1 (const int) 190:7 2 (const int) 200:7 3 (const int) 210:7 4 (const int) 220:9 Function Definition: fn1(vi4;b1;b1; ( temp 4-component vector of int) 230:9 Function Parameters: 240:9 'p0' ( in 4-component vector of int) 250:9 'b1' ( in bool) 260:9 'b2' ( in bool) 270:? Sequence 280:10 Branch: Return with expression 290:10 'p0' ( in 4-component vector of int) 300:17 Function Definition: fn1(vi4;vi4;i1[2];i1; ( temp 4-component vector of int) 310:17 Function Parameters: 320:17 'p0' ( in 4-component vector of int) 330:17 'p1' ( in 4-component vector of int) 340:17 'p2' ( in 2-element array of int) 350:17 'p3' ( in int) 360:? Sequence 370:18 Branch: Return with expression 380:18 add ( temp 4-component vector of int) 390:18 add ( temp 4-component vector of int) 400:18 add ( temp 4-component vector of int) 410:18 'p0' ( in 4-component vector of int) 420:18 'p1' ( in 4-component vector of int) 430:18 direct index ( temp int) 440:18 'p2' ( in 2-element array of int) 450:18 Constant: 460:18 0 (const int) 470:18 'p3' ( in int) 480:23 Function Definition: fn2(vi4;i1; ( temp 4-component vector of int) 490:23 Function Parameters: 500:23 'p0' ( in 4-component vector of int) 510:23 'x' ( in int) 520:? Sequence 530:24 Branch: Return with expression 540:24 Constant: 550:24 10 (const int) 560:24 11 (const int) 570:24 12 (const int) 580:24 13 (const int) 590:28 Function Definition: fn2(vi4; ( temp 4-component vector of int) 600:28 Function Parameters: 610:28 'p0' ( in 4-component vector of int) 620:? Sequence 630:29 Branch: Return with expression 640:29 add ( temp 4-component vector of int) 650:29 'p0' ( in 4-component vector of int) 660:29 Constant: 670:29 20 (const int) 680:29 21 (const int) 690:29 22 (const int) 700:29 23 (const int) 710:33 Function Definition: fn3(i1; ( temp void) 720:33 Function Parameters: 730:33 'p0' ( in int) 740:37 Function Definition: @main( ( temp 4-component vector of int) 750:37 Function Parameters: 760:? Sequence 770:38 Sequence 780:38 move second child to first child ( temp 2-element array of int) 790:38 'myarray' ( temp 2-element array of int) 800:38 Constant: 810:38 30 (const int) 820:38 31 (const int) 830:49 Branch: Return with expression 840:48 add ( temp 4-component vector of int) 850:47 add ( temp 4-component vector of int) 860:45 add ( temp 4-component vector of int) 870:44 add ( temp 4-component vector of int) 880:43 add ( temp 4-component vector of int) 890:42 add ( temp 4-component vector of int) 900:41 add ( temp 4-component vector of int) 910:40 add ( temp 4-component vector of int) 920:40 Function Call: fn1(vi4; ( temp 4-component vector of int) 930:40 Constant: 940:40 100 (const int) 950:40 100 (const int) 960:40 100 (const int) 970:40 100 (const int) 980:41 Function Call: fn1(vi4;vi4;i1[2];i1; ( temp 4-component vector of int) 990:41 Constant: 1000:41 101 (const int) 1010:41 101 (const int) 1020:41 101 (const int) 1030:41 101 (const int) 1040:41 ui4: direct index for structure ( uniform 4-component vector of int) 1050:41 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of int ui4, uniform float ufvar}) 1060:41 Constant: 1070:41 0 (const uint) 1080:15 Constant: 1090:15 1 (const int) 1100:15 2 (const int) 1110:16 Constant: 1120:16 42 (const int) 1130:42 Function Call: fn1(vi4;vi4;i1[2];i1; ( temp 4-component vector of int) 1140:42 Constant: 1150:42 102 (const int) 1160:42 102 (const int) 1170:42 102 (const int) 1180:42 102 (const int) 1190:42 ui4: direct index for structure ( uniform 4-component vector of int) 1200:42 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of int ui4, uniform float ufvar}) 1210:42 Constant: 1220:42 0 (const uint) 1230:42 'myarray' ( temp 2-element array of int) 1240:16 Constant: 1250:16 42 (const int) 1260:43 Function Call: fn1(vi4;vi4;i1[2];i1; ( temp 4-component vector of int) 1270:43 Constant: 1280:43 103 (const int) 1290:43 103 (const int) 1300:43 103 (const int) 1310:43 103 (const int) 1320:43 ui4: direct index for structure ( uniform 4-component vector of int) 1330:43 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of int ui4, uniform float ufvar}) 1340:43 Constant: 1350:43 0 (const uint) 1360:43 'myarray' ( temp 2-element array of int) 1370:43 Constant: 1380:43 99 (const int) 1390:44 Function Call: fn1(vi4;b1;b1; ( temp 4-component vector of int) 1400:44 Constant: 1410:44 104 (const int) 1420:44 104 (const int) 1430:44 104 (const int) 1440:44 104 (const int) 1450:44 Constant: 1460:44 false (const bool) 1470:9 Constant: 1480:9 false (const bool) 1490:45 Function Call: fn1(vi4;b1;b1; ( temp 4-component vector of int) 1500:45 Constant: 1510:45 105 (const int) 1520:45 105 (const int) 1530:45 105 (const int) 1540:45 105 (const int) 1550:45 Constant: 1560:45 false (const bool) 1570:45 Constant: 1580:45 true (const bool) 1590:47 Function Call: fn2(vi4; ( temp 4-component vector of int) 1600:47 Constant: 1610:47 112 (const int) 1620:47 112 (const int) 1630:47 112 (const int) 1640:47 112 (const int) 1650:48 Function Call: fn2(vi4;i1; ( temp 4-component vector of int) 1660:48 Constant: 1670:48 110 (const int) 1680:48 110 (const int) 1690:48 110 (const int) 1700:48 110 (const int) 1710:48 Constant: 1720:48 11 (const int) 1730:49 Function Call: fn2(vi4;i1; ( temp 4-component vector of int) 1740:49 Constant: 1750:49 111 (const int) 1760:49 111 (const int) 1770:49 111 (const int) 1780:49 111 (const int) 1790:49 Constant: 1800:49 12 (const int) 1810:37 Function Definition: main( ( temp void) 1820:37 Function Parameters: 1830:? Sequence 1840:37 move second child to first child ( temp 4-component vector of int) 1850:? '@entryPointOutput' (layout( location=0) out 4-component vector of int) 1860:37 Function Call: @main( ( temp 4-component vector of int) 1870:? Linker Objects 1880:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of int ui4, uniform float ufvar}) 1890:? 'cia' ( const int) 1900:? -4 (const int) 1910:? 'cib' ( const int) 1920:? -42 (const int) 1930:? '@entryPointOutput' (layout( location=0) out 4-component vector of int) 194 195 196Linked fragment stage: 197 198 199Shader version: 500 200gl_FragCoord origin is upper left 201ERROR: node is still EOpNull! 2020:7 Function Definition: fn1(vi4; ( temp 4-component vector of int) 2030:7 Function Parameters: 2040:7 'p0' ( in 4-component vector of int) 2050:? Sequence 2060:7 Branch: Return with expression 2070:7 Constant: 2080:7 1 (const int) 2090:7 2 (const int) 2100:7 3 (const int) 2110:7 4 (const int) 2120:9 Function Definition: fn1(vi4;b1;b1; ( temp 4-component vector of int) 2130:9 Function Parameters: 2140:9 'p0' ( in 4-component vector of int) 2150:9 'b1' ( in bool) 2160:9 'b2' ( in bool) 2170:? Sequence 2180:10 Branch: Return with expression 2190:10 'p0' ( in 4-component vector of int) 2200:17 Function Definition: fn1(vi4;vi4;i1[2];i1; ( temp 4-component vector of int) 2210:17 Function Parameters: 2220:17 'p0' ( in 4-component vector of int) 2230:17 'p1' ( in 4-component vector of int) 2240:17 'p2' ( in 2-element array of int) 2250:17 'p3' ( in int) 2260:? Sequence 2270:18 Branch: Return with expression 2280:18 add ( temp 4-component vector of int) 2290:18 add ( temp 4-component vector of int) 2300:18 add ( temp 4-component vector of int) 2310:18 'p0' ( in 4-component vector of int) 2320:18 'p1' ( in 4-component vector of int) 2330:18 direct index ( temp int) 2340:18 'p2' ( in 2-element array of int) 2350:18 Constant: 2360:18 0 (const int) 2370:18 'p3' ( in int) 2380:23 Function Definition: fn2(vi4;i1; ( temp 4-component vector of int) 2390:23 Function Parameters: 2400:23 'p0' ( in 4-component vector of int) 2410:23 'x' ( in int) 2420:? Sequence 2430:24 Branch: Return with expression 2440:24 Constant: 2450:24 10 (const int) 2460:24 11 (const int) 2470:24 12 (const int) 2480:24 13 (const int) 2490:28 Function Definition: fn2(vi4; ( temp 4-component vector of int) 2500:28 Function Parameters: 2510:28 'p0' ( in 4-component vector of int) 2520:? Sequence 2530:29 Branch: Return with expression 2540:29 add ( temp 4-component vector of int) 2550:29 'p0' ( in 4-component vector of int) 2560:29 Constant: 2570:29 20 (const int) 2580:29 21 (const int) 2590:29 22 (const int) 2600:29 23 (const int) 2610:33 Function Definition: fn3(i1; ( temp void) 2620:33 Function Parameters: 2630:33 'p0' ( in int) 2640:37 Function Definition: @main( ( temp 4-component vector of int) 2650:37 Function Parameters: 2660:? Sequence 2670:38 Sequence 2680:38 move second child to first child ( temp 2-element array of int) 2690:38 'myarray' ( temp 2-element array of int) 2700:38 Constant: 2710:38 30 (const int) 2720:38 31 (const int) 2730:49 Branch: Return with expression 2740:48 add ( temp 4-component vector of int) 2750:47 add ( temp 4-component vector of int) 2760:45 add ( temp 4-component vector of int) 2770:44 add ( temp 4-component vector of int) 2780:43 add ( temp 4-component vector of int) 2790:42 add ( temp 4-component vector of int) 2800:41 add ( temp 4-component vector of int) 2810:40 add ( temp 4-component vector of int) 2820:40 Function Call: fn1(vi4; ( temp 4-component vector of int) 2830:40 Constant: 2840:40 100 (const int) 2850:40 100 (const int) 2860:40 100 (const int) 2870:40 100 (const int) 2880:41 Function Call: fn1(vi4;vi4;i1[2];i1; ( temp 4-component vector of int) 2890:41 Constant: 2900:41 101 (const int) 2910:41 101 (const int) 2920:41 101 (const int) 2930:41 101 (const int) 2940:41 ui4: direct index for structure ( uniform 4-component vector of int) 2950:41 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of int ui4, uniform float ufvar}) 2960:41 Constant: 2970:41 0 (const uint) 2980:15 Constant: 2990:15 1 (const int) 3000:15 2 (const int) 3010:16 Constant: 3020:16 42 (const int) 3030:42 Function Call: fn1(vi4;vi4;i1[2];i1; ( temp 4-component vector of int) 3040:42 Constant: 3050:42 102 (const int) 3060:42 102 (const int) 3070:42 102 (const int) 3080:42 102 (const int) 3090:42 ui4: direct index for structure ( uniform 4-component vector of int) 3100:42 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of int ui4, uniform float ufvar}) 3110:42 Constant: 3120:42 0 (const uint) 3130:42 'myarray' ( temp 2-element array of int) 3140:16 Constant: 3150:16 42 (const int) 3160:43 Function Call: fn1(vi4;vi4;i1[2];i1; ( temp 4-component vector of int) 3170:43 Constant: 3180:43 103 (const int) 3190:43 103 (const int) 3200:43 103 (const int) 3210:43 103 (const int) 3220:43 ui4: direct index for structure ( uniform 4-component vector of int) 3230:43 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of int ui4, uniform float ufvar}) 3240:43 Constant: 3250:43 0 (const uint) 3260:43 'myarray' ( temp 2-element array of int) 3270:43 Constant: 3280:43 99 (const int) 3290:44 Function Call: fn1(vi4;b1;b1; ( temp 4-component vector of int) 3300:44 Constant: 3310:44 104 (const int) 3320:44 104 (const int) 3330:44 104 (const int) 3340:44 104 (const int) 3350:44 Constant: 3360:44 false (const bool) 3370:9 Constant: 3380:9 false (const bool) 3390:45 Function Call: fn1(vi4;b1;b1; ( temp 4-component vector of int) 3400:45 Constant: 3410:45 105 (const int) 3420:45 105 (const int) 3430:45 105 (const int) 3440:45 105 (const int) 3450:45 Constant: 3460:45 false (const bool) 3470:45 Constant: 3480:45 true (const bool) 3490:47 Function Call: fn2(vi4; ( temp 4-component vector of int) 3500:47 Constant: 3510:47 112 (const int) 3520:47 112 (const int) 3530:47 112 (const int) 3540:47 112 (const int) 3550:48 Function Call: fn2(vi4;i1; ( temp 4-component vector of int) 3560:48 Constant: 3570:48 110 (const int) 3580:48 110 (const int) 3590:48 110 (const int) 3600:48 110 (const int) 3610:48 Constant: 3620:48 11 (const int) 3630:49 Function Call: fn2(vi4;i1; ( temp 4-component vector of int) 3640:49 Constant: 3650:49 111 (const int) 3660:49 111 (const int) 3670:49 111 (const int) 3680:49 111 (const int) 3690:49 Constant: 3700:49 12 (const int) 3710:37 Function Definition: main( ( temp void) 3720:37 Function Parameters: 3730:? Sequence 3740:37 move second child to first child ( temp 4-component vector of int) 3750:? '@entryPointOutput' (layout( location=0) out 4-component vector of int) 3760:37 Function Call: @main( ( temp 4-component vector of int) 3770:? Linker Objects 3780:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of int ui4, uniform float ufvar}) 3790:? 'cia' ( const int) 3800:? -4 (const int) 3810:? 'cib' ( const int) 3820:? -42 (const int) 3830:? '@entryPointOutput' (layout( location=0) out 4-component vector of int) 384 385SPIR-V is not generated for failed compile or link 386