Home | History | Annotate | Download | only in baseResults
      1 spv.multiStructFuncall.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 66
      5 
      6                               Capability Shader
      7                1:             ExtInstImport  "GLSL.std.450"
      8                               MemoryModel Logical GLSL450
      9                               EntryPoint Fragment 4  "main"
     10                               ExecutionMode 4 OriginUpperLeft
     11                               Source GLSL 450
     12                               Name 4  "main"
     13                               Name 9  "S"
     14                               MemberName 9(S) 0  "m"
     15                               Name 12  "fooConst(struct-S-mf441;"
     16                               Name 11  "s"
     17                               Name 17  "foo(struct-S-mf441;"
     18                               Name 16  "s"
     19                               Name 20  "fooOut(struct-S-mf441;"
     20                               Name 19  "s"
     21                               Name 22  "S"
     22                               MemberName 22(S) 0  "m"
     23                               Name 23  "blockName"
     24                               MemberName 23(blockName) 0  "s1"
     25                               Name 25  ""
     26                               Name 31  "S"
     27                               MemberName 31(S) 0  "m"
     28                               Name 32  "arg"
     29                               Name 39  "s2"
     30                               Name 42  "param"
     31                               Name 48  "param"
     32                               Name 51  "param"
     33                               Name 62  "param"
     34                               MemberDecorate 22(S) 0 ColMajor
     35                               MemberDecorate 22(S) 0 Offset 0
     36                               MemberDecorate 22(S) 0 MatrixStride 16
     37                               MemberDecorate 23(blockName) 0 Offset 0
     38                               Decorate 23(blockName) BufferBlock
     39                               Decorate 25 DescriptorSet 0
     40                               Decorate 25 Binding 0
     41                               MemberDecorate 31(S) 0 ColMajor
     42                2:             TypeVoid
     43                3:             TypeFunction 2
     44                6:             TypeFloat 32
     45                7:             TypeVector 6(float) 4
     46                8:             TypeMatrix 7(fvec4) 4
     47             9(S):             TypeStruct 8
     48               10:             TypeFunction 2 9(S)
     49               14:             TypePointer Function 9(S)
     50               15:             TypeFunction 2 14(ptr)
     51            22(S):             TypeStruct 8
     52    23(blockName):             TypeStruct 22(S)
     53               24:             TypePointer Uniform 23(blockName)
     54               25:     24(ptr) Variable Uniform
     55               26:             TypeInt 32 1
     56               27:     26(int) Constant 0
     57               28:             TypePointer Uniform 22(S)
     58            31(S):             TypeStruct 8
     59               34:             TypePointer Function 8
     60               38:             TypePointer Private 9(S)
     61           39(s2):     38(ptr) Variable Private
     62               60:             TypePointer Uniform 8
     63          4(main):           2 Function None 3
     64                5:             Label
     65          32(arg):     14(ptr) Variable Function
     66        42(param):     14(ptr) Variable Function
     67        48(param):     14(ptr) Variable Function
     68        51(param):     14(ptr) Variable Function
     69        62(param):     14(ptr) Variable Function
     70               29:     28(ptr) AccessChain 25 27
     71               30:       22(S) Load 29
     72               33:           8 CompositeExtract 30 0
     73               35:     34(ptr) AccessChain 32(arg) 27
     74                               Store 35 33
     75               36:        9(S) Load 32(arg)
     76               37:           2 FunctionCall 12(fooConst(struct-S-mf441;) 36
     77               40:        9(S) Load 39(s2)
     78               41:           2 FunctionCall 12(fooConst(struct-S-mf441;) 40
     79               43:     28(ptr) AccessChain 25 27
     80               44:       22(S) Load 43
     81               45:           8 CompositeExtract 44 0
     82               46:     34(ptr) AccessChain 42(param) 27
     83                               Store 46 45
     84               47:           2 FunctionCall 17(foo(struct-S-mf441;) 42(param)
     85               49:        9(S) Load 39(s2)
     86                               Store 48(param) 49
     87               50:           2 FunctionCall 17(foo(struct-S-mf441;) 48(param)
     88               52:     28(ptr) AccessChain 25 27
     89               53:       22(S) Load 52
     90               54:           8 CompositeExtract 53 0
     91               55:     34(ptr) AccessChain 51(param) 27
     92                               Store 55 54
     93               56:           2 FunctionCall 20(fooOut(struct-S-mf441;) 51(param)
     94               57:        9(S) Load 51(param)
     95               58:     28(ptr) AccessChain 25 27
     96               59:           8 CompositeExtract 57 0
     97               61:     60(ptr) AccessChain 58 27
     98                               Store 61 59
     99               63:        9(S) Load 39(s2)
    100                               Store 62(param) 63
    101               64:           2 FunctionCall 20(fooOut(struct-S-mf441;) 62(param)
    102               65:        9(S) Load 62(param)
    103                               Store 39(s2) 65
    104                               Return
    105                               FunctionEnd
    106 12(fooConst(struct-S-mf441;):           2 Function None 10
    107            11(s):        9(S) FunctionParameter
    108               13:             Label
    109                               Return
    110                               FunctionEnd
    111 17(foo(struct-S-mf441;):           2 Function None 15
    112            16(s):     14(ptr) FunctionParameter
    113               18:             Label
    114                               Return
    115                               FunctionEnd
    116 20(fooOut(struct-S-mf441;):           2 Function None 15
    117            19(s):     14(ptr) FunctionParameter
    118               21:             Label
    119                               Return
    120                               FunctionEnd
    121