Home | History | Annotate | Download | only in baseResults
      1 hlsl.function.frag
      2 ERROR: 0:24: 'fun1' : unknown variable 
      3 ERROR: 0:24: 'return' : type does not match, or is not convertible to, the function's return type 
      4 ERROR: 2 compilation errors.  No code generated.
      5 
      6 
      7 Shader version: 500
      8 gl_FragCoord origin is upper left
      9 ERROR: node is still EOpNull!
     10 0:2  Function Definition: fun0( ( temp 4-component vector of float)
     11 0:2    Function Parameters: 
     12 0:?     Sequence
     13 0:3      Branch: Return with expression
     14 0:3        Constant:
     15 0:3          1.000000
     16 0:3          1.000000
     17 0:3          1.000000
     18 0:3          1.000000
     19 0:7  Function Definition: fun2(vf4; ( temp uint)
     20 0:7    Function Parameters: 
     21 0:7      'col' ( in 4-component vector of float)
     22 0:?     Sequence
     23 0:8      Branch: Return with expression
     24 0:8        Constant:
     25 0:8          7 (const uint)
     26 0:12  Function Definition: fun4(u1;u1; ( temp 4-component vector of float)
     27 0:12    Function Parameters: 
     28 0:12      'id1' ( in uint)
     29 0:12      'id2' ( in uint)
     30 0:?     Sequence
     31 0:13      Branch: Return with expression
     32 0:13        Construct vec4 ( temp 4-component vector of float)
     33 0:13          Convert uint to float ( temp float)
     34 0:13            component-wise multiply ( temp uint)
     35 0:13              'id1' ( in uint)
     36 0:13              'id2' ( in uint)
     37 0:17  Function Definition: fun1(i1; ( temp 4-component vector of float)
     38 0:17    Function Parameters: 
     39 0:17      'index' ( in int)
     40 0:?     Sequence
     41 0:18      Sequence
     42 0:18        move second child to first child ( temp uint)
     43 0:18          'entityId' ( temp uint)
     44 0:18          Function Call: fun2(vf4; ( temp uint)
     45 0:18            Function Call: fun0( ( temp 4-component vector of float)
     46 0:19      Branch: Return with expression
     47 0:19        Function Call: fun4(u1;u1; ( temp 4-component vector of float)
     48 0:19          'entityId' ( temp uint)
     49 0:19          'entityId' ( temp uint)
     50 0:23  Function Definition: @main( ( temp int)
     51 0:23    Function Parameters: 
     52 0:23  Function Definition: main( ( temp void)
     53 0:23    Function Parameters: 
     54 0:?     Sequence
     55 0:23      move second child to first child ( temp int)
     56 0:?         '@entryPointOutput' (layout( location=0) out int)
     57 0:23        Function Call: @main( ( temp int)
     58 0:?   Linker Objects
     59 0:?     '@entryPointOutput' (layout( location=0) out int)
     60 
     61 
     62 Linked fragment stage:
     63 
     64 
     65 Shader version: 500
     66 gl_FragCoord origin is upper left
     67 ERROR: node is still EOpNull!
     68 0:2  Function Definition: fun0( ( temp 4-component vector of float)
     69 0:2    Function Parameters: 
     70 0:?     Sequence
     71 0:3      Branch: Return with expression
     72 0:3        Constant:
     73 0:3          1.000000
     74 0:3          1.000000
     75 0:3          1.000000
     76 0:3          1.000000
     77 0:7  Function Definition: fun2(vf4; ( temp uint)
     78 0:7    Function Parameters: 
     79 0:7      'col' ( in 4-component vector of float)
     80 0:?     Sequence
     81 0:8      Branch: Return with expression
     82 0:8        Constant:
     83 0:8          7 (const uint)
     84 0:12  Function Definition: fun4(u1;u1; ( temp 4-component vector of float)
     85 0:12    Function Parameters: 
     86 0:12      'id1' ( in uint)
     87 0:12      'id2' ( in uint)
     88 0:?     Sequence
     89 0:13      Branch: Return with expression
     90 0:13        Construct vec4 ( temp 4-component vector of float)
     91 0:13          Convert uint to float ( temp float)
     92 0:13            component-wise multiply ( temp uint)
     93 0:13              'id1' ( in uint)
     94 0:13              'id2' ( in uint)
     95 0:17  Function Definition: fun1(i1; ( temp 4-component vector of float)
     96 0:17    Function Parameters: 
     97 0:17      'index' ( in int)
     98 0:?     Sequence
     99 0:18      Sequence
    100 0:18        move second child to first child ( temp uint)
    101 0:18          'entityId' ( temp uint)
    102 0:18          Function Call: fun2(vf4; ( temp uint)
    103 0:18            Function Call: fun0( ( temp 4-component vector of float)
    104 0:19      Branch: Return with expression
    105 0:19        Function Call: fun4(u1;u1; ( temp 4-component vector of float)
    106 0:19          'entityId' ( temp uint)
    107 0:19          'entityId' ( temp uint)
    108 0:23  Function Definition: @main( ( temp int)
    109 0:23    Function Parameters: 
    110 0:23  Function Definition: main( ( temp void)
    111 0:23    Function Parameters: 
    112 0:?     Sequence
    113 0:23      move second child to first child ( temp int)
    114 0:?         '@entryPointOutput' (layout( location=0) out int)
    115 0:23        Function Call: @main( ( temp int)
    116 0:?   Linker Objects
    117 0:?     '@entryPointOutput' (layout( location=0) out int)
    118 
    119 SPIR-V is not generated for failed compile or link
    120