Home | History | Annotate | Download | only in baseResults
      1 hlsl.structStructName.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:4  Function Definition: @main( ( temp int)
      6 0:4    Function Parameters: 
      7 0:?     Sequence
      8 0:6      Branch: Return with expression
      9 0:6        s: direct index for structure ( temp int)
     10 0:6          't' ( temp structure{ temp int s})
     11 0:6          Constant:
     12 0:6            0 (const int)
     13 0:4  Function Definition: main( ( temp void)
     14 0:4    Function Parameters: 
     15 0:?     Sequence
     16 0:4      move second child to first child ( temp int)
     17 0:?         '@entryPointOutput' (layout( location=0) out int)
     18 0:4        Function Call: @main( ( temp int)
     19 0:?   Linker Objects
     20 0:?     '@entryPointOutput' (layout( location=0) out int)
     21 
     22 
     23 Linked fragment stage:
     24 
     25 
     26 Shader version: 500
     27 gl_FragCoord origin is upper left
     28 0:? Sequence
     29 0:4  Function Definition: @main( ( temp int)
     30 0:4    Function Parameters: 
     31 0:?     Sequence
     32 0:6      Branch: Return with expression
     33 0:6        s: direct index for structure ( temp int)
     34 0:6          't' ( temp structure{ temp int s})
     35 0:6          Constant:
     36 0:6            0 (const int)
     37 0:4  Function Definition: main( ( temp void)
     38 0:4    Function Parameters: 
     39 0:?     Sequence
     40 0:4      move second child to first child ( temp int)
     41 0:?         '@entryPointOutput' (layout( location=0) out int)
     42 0:4        Function Call: @main( ( temp int)
     43 0:?   Linker Objects
     44 0:?     '@entryPointOutput' (layout( location=0) out int)
     45 
     46 // Module Version 10000
     47 // Generated by (magic number): 80007
     48 // Id's are bound by 22
     49 
     50                               Capability Shader
     51                1:             ExtInstImport  "GLSL.std.450"
     52                               MemoryModel Logical GLSL450
     53                               EntryPoint Fragment 4  "main" 20
     54                               ExecutionMode 4 OriginUpperLeft
     55                               Source HLSL 500
     56                               Name 4  "main"
     57                               Name 8  "@main("
     58                               Name 10  "S"
     59                               MemberName 10(S) 0  "s"
     60                               Name 12  "t"
     61                               Name 20  "@entryPointOutput"
     62                               Decorate 20(@entryPointOutput) Location 0
     63                2:             TypeVoid
     64                3:             TypeFunction 2
     65                6:             TypeInt 32 1
     66                7:             TypeFunction 6(int)
     67            10(S):             TypeStruct 6(int)
     68               11:             TypePointer Function 10(S)
     69               13:      6(int) Constant 0
     70               14:             TypePointer Function 6(int)
     71               19:             TypePointer Output 6(int)
     72 20(@entryPointOutput):     19(ptr) Variable Output
     73          4(main):           2 Function None 3
     74                5:             Label
     75               21:      6(int) FunctionCall 8(@main()
     76                               Store 20(@entryPointOutput) 21
     77                               Return
     78                               FunctionEnd
     79        8(@main():      6(int) Function None 7
     80                9:             Label
     81            12(t):     11(ptr) Variable Function
     82               15:     14(ptr) AccessChain 12(t) 13
     83               16:      6(int) Load 15
     84                               ReturnValue 16
     85                               FunctionEnd
     86