Home | History | Annotate | Download | only in baseResults
      1 hlsl.emptystructreturn.vert
      2 Shader version: 500
      3 0:? Sequence
      4 0:10  Function Definition: @main(struct-vs_in1; ( temp structure{})
      5 0:10    Function Parameters: 
      6 0:10      'i' ( in structure{})
      7 0:?     Sequence
      8 0:12      Branch: Return with expression
      9 0:12        'o' ( temp structure{})
     10 0:10  Function Definition: main( ( temp void)
     11 0:10    Function Parameters: 
     12 0:?     Sequence
     13 0:10      Sequence
     14 0:10        move second child to first child ( temp structure{})
     15 0:?           'i' ( temp structure{})
     16 0:?           'i' ( in structure{})
     17 0:10      Sequence
     18 0:10        move second child to first child ( temp structure{})
     19 0:?           '@entryPointOutput' ( out structure{})
     20 0:10          Function Call: @main(struct-vs_in1; ( temp structure{})
     21 0:?             'i' ( temp structure{})
     22 0:?   Linker Objects
     23 
     24 
     25 Linked vertex stage:
     26 
     27 
     28 Shader version: 500
     29 0:? Sequence
     30 0:10  Function Definition: @main(struct-vs_in1; ( temp structure{})
     31 0:10    Function Parameters: 
     32 0:10      'i' ( in structure{})
     33 0:?     Sequence
     34 0:12      Branch: Return with expression
     35 0:12        'o' ( temp structure{})
     36 0:10  Function Definition: main( ( temp void)
     37 0:10    Function Parameters: 
     38 0:?     Sequence
     39 0:10      Sequence
     40 0:10        move second child to first child ( temp structure{})
     41 0:?           'i' ( temp structure{})
     42 0:?           'i' ( in structure{})
     43 0:10      Sequence
     44 0:10        move second child to first child ( temp structure{})
     45 0:?           '@entryPointOutput' ( out structure{})
     46 0:10          Function Call: @main(struct-vs_in1; ( temp structure{})
     47 0:?             'i' ( temp structure{})
     48 0:?   Linker Objects
     49 
     50 Validation failed
     51 // Module Version 10000
     52 // Generated by (magic number): 80007
     53 // Id's are bound by 27
     54 
     55                               Capability Shader
     56                1:             ExtInstImport  "GLSL.std.450"
     57                               MemoryModel Logical GLSL450
     58                               EntryPoint Vertex 4  "main"
     59                               Source HLSL 500
     60                               Name 4  "main"
     61                               Name 6  "vs_in"
     62                               Name 8  "vs_out"
     63                               Name 11  "@main(struct-vs_in1;"
     64                               Name 10  "i"
     65                               Name 14  "o"
     66                               Name 18  "i"
     67                               Name 20  "i"
     68                               Name 23  "@entryPointOutput"
     69                               Name 24  "param"
     70                2:             TypeVoid
     71                3:             TypeFunction 2
     72         6(vs_in):             TypeStruct
     73                7:             TypePointer Function 6(vs_in)
     74        8(vs_out):             TypeStruct
     75                9:             TypeFunction 8(vs_out) 7(ptr)
     76               13:             TypePointer Function 8(vs_out)
     77               19:             TypePointer Input 6(vs_in)
     78            20(i):     19(ptr) Variable Input
     79               22:             TypePointer Output 8(vs_out)
     80 23(@entryPointOutput):     22(ptr) Variable Output
     81          4(main):           2 Function None 3
     82                5:             Label
     83            18(i):      7(ptr) Variable Function
     84        24(param):      7(ptr) Variable Function
     85               21:    6(vs_in) Load 20(i)
     86                               Store 18(i) 21
     87               25:    6(vs_in) Load 18(i)
     88                               Store 24(param) 25
     89               26:   8(vs_out) FunctionCall 11(@main(struct-vs_in1;) 24(param)
     90                               Store 23(@entryPointOutput) 26
     91                               Return
     92                               FunctionEnd
     93 11(@main(struct-vs_in1;):   8(vs_out) Function None 9
     94            10(i):      7(ptr) FunctionParameter
     95               12:             Label
     96            14(o):     13(ptr) Variable Function
     97               15:   8(vs_out) Load 14(o)
     98                               ReturnValue 15
     99                               FunctionEnd
    100