aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/remap.switch.none.frag.out
blob: 3347dce0dec9dca06cd932468885cb86e39dd0da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
remap.switch.none.frag
WARNING: 0:5: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
         "precision mediump int; precision highp float;" 

// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 48

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 9 23
                              ExecutionMode 4 OriginUpperLeft
                              Source GLSL 450
                              Name 4  "main"
                              Name 9  "in0"
                              Name 23  "FragColor"
                              Decorate 9(in0) Location 0
                              Decorate 23(FragColor) RelaxedPrecision
                              Decorate 23(FragColor) Location 0
                              Decorate 29 RelaxedPrecision
                              Decorate 36 RelaxedPrecision
                              Decorate 43 RelaxedPrecision
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Input 7(fvec4)
          9(in0):      8(ptr) Variable Input
              10:             TypeInt 32 0
              11:     10(int) Constant 3
              12:             TypePointer Input 6(float)
              15:             TypeInt 32 1
              22:             TypePointer Output 7(fvec4)
   23(FragColor):     22(ptr) Variable Output
              24:     10(int) Constant 0
              27:    6(float) Constant 0
              31:     10(int) Constant 1
              34:    6(float) Constant 1065353216
              38:     10(int) Constant 2
              41:    6(float) Constant 1073741824
              45:    6(float) Constant 3212836864
              46:    7(fvec4) ConstantComposite 45 45 45 45
         4(main):           2 Function None 3
               5:             Label
              13:     12(ptr) AccessChain 9(in0) 11
              14:    6(float) Load 13
              16:     15(int) ConvertFToS 14
                              SelectionMerge 21 None
                              Switch 16 20 
                                     case 0: 17
                                     case 1: 18
                                     case 2: 19
              20:               Label
                                Store 23(FragColor) 46
                                Branch 21
              17:               Label
              25:     12(ptr)   AccessChain 9(in0) 24
              26:    6(float)   Load 25
              28:    6(float)   FAdd 26 27
              29:    7(fvec4)   CompositeConstruct 28 28 28 28
                                Store 23(FragColor) 29
                                Branch 21
              18:               Label
              32:     12(ptr)   AccessChain 9(in0) 31
              33:    6(float)   Load 32
              35:    6(float)   FAdd 33 34
              36:    7(fvec4)   CompositeConstruct 35 35 35 35
                                Store 23(FragColor) 36
                                Branch 21
              19:               Label
              39:     12(ptr)   AccessChain 9(in0) 38
              40:    6(float)   Load 39
              42:    6(float)   FAdd 40 41
              43:    7(fvec4)   CompositeConstruct 42 42 42 42
                                Store 23(FragColor) 43
                                Branch 21
              21:             Label
                              Return
                              FunctionEnd