Home | History | Annotate | Download | only in baseResults
      1 remap.switch.none.frag
      2 WARNING: 0:5: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
      3          "precision mediump int; precision highp float;" 
      4 
      5 // Module Version 10000
      6 // Generated by (magic number): 80007
      7 // Id's are bound by 48
      8 
      9                               Capability Shader
     10                1:             ExtInstImport  "GLSL.std.450"
     11                               MemoryModel Logical GLSL450
     12                               EntryPoint Fragment 4  "main" 9 23
     13                               ExecutionMode 4 OriginUpperLeft
     14                               Source GLSL 450
     15                               Name 4  "main"
     16                               Name 9  "in0"
     17                               Name 23  "FragColor"
     18                               Decorate 9(in0) Location 0
     19                               Decorate 23(FragColor) RelaxedPrecision
     20                               Decorate 23(FragColor) Location 0
     21                               Decorate 29 RelaxedPrecision
     22                               Decorate 36 RelaxedPrecision
     23                               Decorate 43 RelaxedPrecision
     24                2:             TypeVoid
     25                3:             TypeFunction 2
     26                6:             TypeFloat 32
     27                7:             TypeVector 6(float) 4
     28                8:             TypePointer Input 7(fvec4)
     29           9(in0):      8(ptr) Variable Input
     30               10:             TypeInt 32 0
     31               11:     10(int) Constant 3
     32               12:             TypePointer Input 6(float)
     33               15:             TypeInt 32 1
     34               22:             TypePointer Output 7(fvec4)
     35    23(FragColor):     22(ptr) Variable Output
     36               24:     10(int) Constant 0
     37               27:    6(float) Constant 0
     38               31:     10(int) Constant 1
     39               34:    6(float) Constant 1065353216
     40               38:     10(int) Constant 2
     41               41:    6(float) Constant 1073741824
     42               45:    6(float) Constant 3212836864
     43               46:    7(fvec4) ConstantComposite 45 45 45 45
     44          4(main):           2 Function None 3
     45                5:             Label
     46               13:     12(ptr) AccessChain 9(in0) 11
     47               14:    6(float) Load 13
     48               16:     15(int) ConvertFToS 14
     49                               SelectionMerge 21 None
     50                               Switch 16 20 
     51                                      case 0: 17
     52                                      case 1: 18
     53                                      case 2: 19
     54               20:               Label
     55                                 Store 23(FragColor) 46
     56                                 Branch 21
     57               17:               Label
     58               25:     12(ptr)   AccessChain 9(in0) 24
     59               26:    6(float)   Load 25
     60               28:    6(float)   FAdd 26 27
     61               29:    7(fvec4)   CompositeConstruct 28 28 28 28
     62                                 Store 23(FragColor) 29
     63                                 Branch 21
     64               18:               Label
     65               32:     12(ptr)   AccessChain 9(in0) 31
     66               33:    6(float)   Load 32
     67               35:    6(float)   FAdd 33 34
     68               36:    7(fvec4)   CompositeConstruct 35 35 35 35
     69                                 Store 23(FragColor) 36
     70                                 Branch 21
     71               19:               Label
     72               39:     12(ptr)   AccessChain 9(in0) 38
     73               40:    6(float)   Load 39
     74               42:    6(float)   FAdd 40 41
     75               43:    7(fvec4)   CompositeConstruct 42 42 42 42
     76                                 Store 23(FragColor) 43
     77                                 Branch 21
     78               21:             Label
     79                               Return
     80                               FunctionEnd
     81