Home | History | Annotate | Download | only in baseResults
      1 remap.similar_1a.none.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 86
      5 
      6                               Capability Shader
      7                1:             ExtInstImport  "GLSL.std.450"
      8                               MemoryModel Logical GLSL450
      9                               EntryPoint Fragment 4  "main" 53 73 75
     10                               ExecutionMode 4 OriginUpperLeft
     11                               Source GLSL 450
     12                               Name 4  "main"
     13                               Name 11  "Test1(i1;"
     14                               Name 10  "bound"
     15                               Name 14  "Test2(i1;"
     16                               Name 13  "bound"
     17                               Name 17  "r"
     18                               Name 19  "x"
     19                               Name 44  "param"
     20                               Name 53  "ini4"
     21                               Name 73  "outf4"
     22                               Name 75  "inf"
     23                               Name 78  "param"
     24                               Name 82  "param"
     25                               Decorate 53(ini4) Flat
     26                2:             TypeVoid
     27                3:             TypeFunction 2
     28                6:             TypeInt 32 1
     29                7:             TypePointer Function 6(int)
     30                8:             TypeFloat 32
     31                9:             TypeFunction 8(float) 7(ptr)
     32               16:             TypePointer Function 8(float)
     33               18:    8(float) Constant 0
     34               20:      6(int) Constant 0
     35               28:             TypeBool
     36               30:    8(float) Constant 1056964608
     37               34:      6(int) Constant 1
     38               40:      6(int) Constant 2
     39               51:             TypeVector 6(int) 4
     40               52:             TypePointer Input 51(ivec4)
     41         53(ini4):     52(ptr) Variable Input
     42               54:             TypeInt 32 0
     43               55:     54(int) Constant 1
     44               56:             TypePointer Input 6(int)
     45               59:     54(int) Constant 2
     46               64:     54(int) Constant 0
     47               71:             TypeVector 8(float) 4
     48               72:             TypePointer Output 71(fvec4)
     49        73(outf4):     72(ptr) Variable Output
     50               74:             TypePointer Input 8(float)
     51          75(inf):     74(ptr) Variable Input
     52          4(main):           2 Function None 3
     53                5:             Label
     54        78(param):      7(ptr) Variable Function
     55        82(param):      7(ptr) Variable Function
     56               76:    8(float) Load 75(inf)
     57               77:      6(int) ConvertFToS 76
     58                               Store 78(param) 77
     59               79:    8(float) FunctionCall 11(Test1(i1;) 78(param)
     60               80:    8(float) Load 75(inf)
     61               81:      6(int) ConvertFToS 80
     62                               Store 82(param) 81
     63               83:    8(float) FunctionCall 14(Test2(i1;) 82(param)
     64               84:    8(float) FAdd 79 83
     65               85:   71(fvec4) CompositeConstruct 84 84 84 84
     66                               Store 73(outf4) 85
     67                               Return
     68                               FunctionEnd
     69    11(Test1(i1;):    8(float) Function None 9
     70        10(bound):      7(ptr) FunctionParameter
     71               12:             Label
     72            17(r):     16(ptr) Variable Function
     73            19(x):      7(ptr) Variable Function
     74                               Store 17(r) 18
     75                               Store 19(x) 20
     76                               Branch 21
     77               21:             Label
     78                               LoopMerge 23 24 None
     79                               Branch 25
     80               25:             Label
     81               26:      6(int) Load 19(x)
     82               27:      6(int) Load 10(bound)
     83               29:    28(bool) SLessThan 26 27
     84                               BranchConditional 29 22 23
     85               22:               Label
     86               31:    8(float)   Load 17(r)
     87               32:    8(float)   FAdd 31 30
     88                                 Store 17(r) 32
     89                                 Branch 24
     90               24:               Label
     91               33:      6(int)   Load 19(x)
     92               35:      6(int)   IAdd 33 34
     93                                 Store 19(x) 35
     94                                 Branch 21
     95               23:             Label
     96               36:    8(float) Load 17(r)
     97                               ReturnValue 36
     98                               FunctionEnd
     99    14(Test2(i1;):    8(float) Function None 9
    100        13(bound):      7(ptr) FunctionParameter
    101               15:             Label
    102        44(param):      7(ptr) Variable Function
    103               39:      6(int) Load 13(bound)
    104               41:    28(bool) SGreaterThan 39 40
    105                               SelectionMerge 43 None
    106                               BranchConditional 41 42 48
    107               42:               Label
    108               45:      6(int)   Load 13(bound)
    109                                 Store 44(param) 45
    110               46:    8(float)   FunctionCall 11(Test1(i1;) 44(param)
    111                                 ReturnValue 46
    112               48:               Label
    113               49:      6(int)   Load 13(bound)
    114               50:      6(int)   IMul 49 40
    115               57:     56(ptr)   AccessChain 53(ini4) 55
    116               58:      6(int)   Load 57
    117               60:     56(ptr)   AccessChain 53(ini4) 59
    118               61:      6(int)   Load 60
    119               62:      6(int)   IMul 58 61
    120               63:      6(int)   IAdd 50 62
    121               65:     56(ptr)   AccessChain 53(ini4) 64
    122               66:      6(int)   Load 65
    123               67:      6(int)   IAdd 63 66
    124               68:    8(float)   ConvertSToF 67
    125                                 ReturnValue 68
    126               43:             Label
    127               70:    8(float) Undef
    128                               ReturnValue 70
    129                               FunctionEnd
    130