Home | History | Annotate | Download | only in baseResults
      1 spv.subpass.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 67
      5 
      6                               Capability Shader
      7                               Capability InputAttachment
      8                1:             ExtInstImport  "GLSL.std.450"
      9                               MemoryModel Logical GLSL450
     10                               EntryPoint Fragment 4  "main" 15 27 53
     11                               ExecutionMode 4 OriginUpperLeft
     12                               Source GLSL 400
     13                               Name 4  "main"
     14                               Name 11  "foo(iIPM1;"
     15                               Name 10  "sb"
     16                               Name 15  "icolor"
     17                               Name 27  "color"
     18                               Name 30  "sub"
     19                               Name 35  "subMS"
     20                               Name 42  "isub"
     21                               Name 45  "isubMS"
     22                               Name 53  "ucolor"
     23                               Name 56  "usub"
     24                               Name 61  "usubMS"
     25                               Decorate 30(sub) DescriptorSet 0
     26                               Decorate 30(sub) Binding 0
     27                               Decorate 30(sub) InputAttachmentIndex 1
     28                               Decorate 35(subMS) DescriptorSet 0
     29                               Decorate 35(subMS) Binding 0
     30                               Decorate 35(subMS) InputAttachmentIndex 2
     31                               Decorate 42(isub) DescriptorSet 0
     32                               Decorate 42(isub) Binding 0
     33                               Decorate 42(isub) InputAttachmentIndex 3
     34                               Decorate 45(isubMS) DescriptorSet 0
     35                               Decorate 45(isubMS) Binding 0
     36                               Decorate 45(isubMS) InputAttachmentIndex 4
     37                               Decorate 56(usub) DescriptorSet 0
     38                               Decorate 56(usub) Binding 0
     39                               Decorate 56(usub) InputAttachmentIndex 5
     40                               Decorate 61(usubMS) DescriptorSet 0
     41                               Decorate 61(usubMS) Binding 0
     42                               Decorate 61(usubMS) InputAttachmentIndex 6
     43                2:             TypeVoid
     44                3:             TypeFunction 2
     45                6:             TypeInt 32 1
     46                7:             TypeImage 6(int) SubpassData multi-sampled nonsampled format:Unknown
     47                8:             TypePointer UniformConstant 7
     48                9:             TypeFunction 2 8(ptr)
     49               13:             TypeVector 6(int) 4
     50               14:             TypePointer Output 13(ivec4)
     51       15(icolor):     14(ptr) Variable Output
     52               17:      6(int) Constant 3
     53               18:      6(int) Constant 0
     54               19:             TypeVector 6(int) 2
     55               20:   19(ivec2) ConstantComposite 18 18
     56               24:             TypeFloat 32
     57               25:             TypeVector 24(float) 4
     58               26:             TypePointer Output 25(fvec4)
     59        27(color):     26(ptr) Variable Output
     60               28:             TypeImage 24(float) SubpassData nonsampled format:Unknown
     61               29:             TypePointer UniformConstant 28
     62          30(sub):     29(ptr) Variable UniformConstant
     63               33:             TypeImage 24(float) SubpassData multi-sampled nonsampled format:Unknown
     64               34:             TypePointer UniformConstant 33
     65        35(subMS):     34(ptr) Variable UniformConstant
     66               40:             TypeImage 6(int) SubpassData nonsampled format:Unknown
     67               41:             TypePointer UniformConstant 40
     68         42(isub):     41(ptr) Variable UniformConstant
     69       45(isubMS):      8(ptr) Variable UniformConstant
     70               50:             TypeInt 32 0
     71               51:             TypeVector 50(int) 4
     72               52:             TypePointer Output 51(ivec4)
     73       53(ucolor):     52(ptr) Variable Output
     74               54:             TypeImage 50(int) SubpassData nonsampled format:Unknown
     75               55:             TypePointer UniformConstant 54
     76         56(usub):     55(ptr) Variable UniformConstant
     77               59:             TypeImage 50(int) SubpassData multi-sampled nonsampled format:Unknown
     78               60:             TypePointer UniformConstant 59
     79       61(usubMS):     60(ptr) Variable UniformConstant
     80          4(main):           2 Function None 3
     81                5:             Label
     82               31:          28 Load 30(sub)
     83               32:   25(fvec4) ImageRead 31 20
     84                               Store 27(color) 32
     85               36:          33 Load 35(subMS)
     86               37:   25(fvec4) ImageRead 36 20 Sample 17
     87               38:   25(fvec4) Load 27(color)
     88               39:   25(fvec4) FAdd 38 37
     89                               Store 27(color) 39
     90               43:          40 Load 42(isub)
     91               44:   13(ivec4) ImageRead 43 20
     92                               Store 15(icolor) 44
     93               46:           7 Load 45(isubMS)
     94               47:   13(ivec4) ImageRead 46 20 Sample 17
     95               48:   13(ivec4) Load 15(icolor)
     96               49:   13(ivec4) IAdd 48 47
     97                               Store 15(icolor) 49
     98               57:          54 Load 56(usub)
     99               58:   51(ivec4) ImageRead 57 20
    100                               Store 53(ucolor) 58
    101               62:          59 Load 61(usubMS)
    102               63:   51(ivec4) ImageRead 62 20 Sample 17
    103               64:   51(ivec4) Load 53(ucolor)
    104               65:   51(ivec4) IAdd 64 63
    105                               Store 53(ucolor) 65
    106               66:           2 FunctionCall 11(foo(iIPM1;) 45(isubMS)
    107                               Return
    108                               FunctionEnd
    109   11(foo(iIPM1;):           2 Function None 9
    110           10(sb):      8(ptr) FunctionParameter
    111               12:             Label
    112               16:           7 Load 10(sb)
    113               21:   13(ivec4) ImageRead 16 20 Sample 17
    114               22:   13(ivec4) Load 15(icolor)
    115               23:   13(ivec4) IAdd 22 21
    116                               Store 15(icolor) 23
    117                               Return
    118                               FunctionEnd
    119