Home | History | Annotate | Download | only in baseResults
      1 spv.swizzle.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 108
      5 
      6                               Capability Shader
      7                1:             ExtInstImport  "GLSL.std.450"
      8                               MemoryModel Logical GLSL450
      9                               EntryPoint Fragment 4  "main" 14 30 69 107
     10                               ExecutionMode 4 OriginUpperLeft
     11                               Source GLSL 140
     12                               Name 4  "main"
     13                               Name 8  "blendscale"
     14                               Name 12  "w"
     15                               Name 14  "u"
     16                               Name 16  "w_dep"
     17                               Name 18  "w_reorder"
     18                               Name 20  "w2"
     19                               Name 22  "w_flow"
     20                               Name 30  "t"
     21                               Name 49  "w_undef"
     22                               Name 56  "p"
     23                               Name 69  "gl_FragColor"
     24                               Name 81  "c"
     25                               Name 83  "rep"
     26                               Name 107  "blend"
     27                               Decorate 69(gl_FragColor) Location 0
     28                2:             TypeVoid
     29                3:             TypeFunction 2
     30                6:             TypeFloat 32
     31                7:             TypePointer Function 6(float)
     32                9:    6(float) Constant 1071971828
     33               10:             TypeVector 6(float) 4
     34               11:             TypePointer Function 10(fvec4)
     35               13:             TypePointer Input 10(fvec4)
     36            14(u):     13(ptr) Variable Input
     37               25:             TypeInt 32 0
     38               26:     25(int) Constant 2
     39               28:             TypeVector 6(float) 2
     40               29:             TypePointer Input 28(fvec2)
     41            30(t):     29(ptr) Variable Input
     42               35:     25(int) Constant 0
     43               40:     25(int) Constant 1
     44               54:             TypeBool
     45               55:             TypePointer Private 54(bool)
     46            56(p):     55(ptr) Variable Private
     47               60:             TypePointer Input 6(float)
     48               68:             TypePointer Output 10(fvec4)
     49 69(gl_FragColor):     68(ptr) Variable Output
     50               80:             TypePointer Function 28(fvec2)
     51               84:    6(float) Constant 0
     52               85:    6(float) Constant 1065353216
     53               86:   10(fvec4) ConstantComposite 84 84 84 85
     54               92:    6(float) Constant 3212836864
     55              102:    6(float) Constant 1079613850
     56       107(blend):     60(ptr) Variable Input
     57          4(main):           2 Function None 3
     58                5:             Label
     59    8(blendscale):      7(ptr) Variable Function
     60            12(w):     11(ptr) Variable Function
     61        16(w_dep):     11(ptr) Variable Function
     62    18(w_reorder):     11(ptr) Variable Function
     63           20(w2):     11(ptr) Variable Function
     64       22(w_flow):     11(ptr) Variable Function
     65      49(w_undef):     11(ptr) Variable Function
     66            81(c):     80(ptr) Variable Function
     67          83(rep):     11(ptr) Variable Function
     68                               Store 8(blendscale) 9
     69               15:   10(fvec4) Load 14(u)
     70                               Store 12(w) 15
     71               17:   10(fvec4) Load 14(u)
     72                               Store 16(w_dep) 17
     73               19:   10(fvec4) Load 14(u)
     74                               Store 18(w_reorder) 19
     75               21:   10(fvec4) Load 14(u)
     76                               Store 20(w2) 21
     77               23:   10(fvec4) Load 14(u)
     78                               Store 22(w_flow) 23
     79               24:    6(float) Load 8(blendscale)
     80               27:      7(ptr) AccessChain 18(w_reorder) 26
     81                               Store 27 24
     82               31:   28(fvec2) Load 30(t)
     83               32:   10(fvec4) Load 12(w)
     84               33:   10(fvec4) VectorShuffle 32 31 0 5 2 4
     85                               Store 12(w) 33
     86               34:    6(float) Load 8(blendscale)
     87               36:      7(ptr) AccessChain 18(w_reorder) 35
     88                               Store 36 34
     89               37:   10(fvec4) Load 14(u)
     90               38:   10(fvec4) VectorShuffle 37 37 2 3 0 1
     91                               Store 20(w2) 38
     92               39:    6(float) Load 8(blendscale)
     93               41:      7(ptr) AccessChain 18(w_reorder) 40
     94                               Store 41 39
     95               42:   10(fvec4) Load 20(w2)
     96               43:   28(fvec2) VectorShuffle 42 42 0 2
     97               44:   10(fvec4) Load 16(w_dep)
     98               45:   10(fvec4) VectorShuffle 44 43 4 5 2 3
     99                               Store 16(w_dep) 45
    100               46:   28(fvec2) Load 30(t)
    101               47:   10(fvec4) Load 16(w_dep)
    102               48:   10(fvec4) VectorShuffle 47 46 0 1 4 5
    103                               Store 16(w_dep) 48
    104               50:   10(fvec4) Load 14(u)
    105               51:   28(fvec2) VectorShuffle 50 50 2 3
    106               52:   10(fvec4) Load 49(w_undef)
    107               53:   10(fvec4) VectorShuffle 52 51 4 5 2 3
    108                               Store 49(w_undef) 53
    109               57:    54(bool) Load 56(p)
    110                               SelectionMerge 59 None
    111                               BranchConditional 57 58 64
    112               58:               Label
    113               61:     60(ptr)   AccessChain 30(t) 35
    114               62:    6(float)   Load 61
    115               63:      7(ptr)   AccessChain 22(w_flow) 35
    116                                 Store 63 62
    117                                 Branch 59
    118               64:               Label
    119               65:     60(ptr)   AccessChain 30(t) 40
    120               66:    6(float)   Load 65
    121               67:      7(ptr)   AccessChain 22(w_flow) 35
    122                                 Store 67 66
    123                                 Branch 59
    124               59:             Label
    125               70:   10(fvec4) Load 18(w_reorder)
    126               71:   10(fvec4) Load 49(w_undef)
    127               72:   10(fvec4) Load 12(w)
    128               73:   10(fvec4) Load 20(w2)
    129               74:   10(fvec4) FMul 72 73
    130               75:   10(fvec4) Load 16(w_dep)
    131               76:   10(fvec4) FMul 74 75
    132               77:   10(fvec4) Load 22(w_flow)
    133               78:   10(fvec4) FMul 76 77
    134               79:   10(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 70 71 78
    135                               Store 69(gl_FragColor) 79
    136               82:   28(fvec2) Load 30(t)
    137                               Store 81(c) 82
    138                               Store 83(rep) 86
    139               87:      7(ptr) AccessChain 81(c) 35
    140               88:    6(float) Load 87
    141               89:    54(bool) FOrdLessThan 88 84
    142                               SelectionMerge 91 None
    143                               BranchConditional 89 90 91
    144               90:               Label
    145               93:      7(ptr)   AccessChain 81(c) 35
    146               94:    6(float)   Load 93
    147               95:    6(float)   FMul 94 92
    148               96:      7(ptr)   AccessChain 81(c) 35
    149                                 Store 96 95
    150                                 Branch 91
    151               91:             Label
    152               97:      7(ptr) AccessChain 81(c) 35
    153               98:    6(float) Load 97
    154               99:    54(bool) FOrdLessThanEqual 98 85
    155                               SelectionMerge 101 None
    156                               BranchConditional 99 100 101
    157              100:               Label
    158              103:      7(ptr)   AccessChain 83(rep) 35
    159                                 Store 103 102
    160                                 Branch 101
    161              101:             Label
    162              104:   10(fvec4) Load 83(rep)
    163              105:   10(fvec4) Load 69(gl_FragColor)
    164              106:   10(fvec4) FAdd 105 104
    165                               Store 69(gl_FragColor) 106
    166                               Return
    167                               FunctionEnd
    168