blob: ab2f8a593d290f14f3fb64a2db877f8b41fe4070 [file] [log] [blame]
steve-lunarga8456412016-08-17 16:18:06 -06001remap.switch.none.frag
steve-lunarga8456412016-08-17 16:18:06 -06002WARNING: 0:5: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
3 "precision mediump int; precision highp float;"
4
John Kessenich2b5ea9f2018-01-31 18:35:56 -07005// Module Version 10000
John Kessenich0216f242018-03-03 11:47:07 -07006// Generated by (magic number): 80005
steve-lunarg297754c2016-12-09 11:13:23 -07007// Id's are bound by 48
steve-lunarga8456412016-08-17 16:18:06 -06008
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
steve-lunarg297754c2016-12-09 11:13:23 -070022 Decorate 36 RelaxedPrecision
23 Decorate 43 RelaxedPrecision
steve-lunarga8456412016-08-17 16:18:06 -060024 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
steve-lunarg297754c2016-12-09 11:13:23 -070038 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
steve-lunarga8456412016-08-17 16:18:06 -060044 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
steve-lunarg297754c2016-12-09 11:13:23 -070055 Store 23(FragColor) 46
steve-lunarga8456412016-08-17 16:18:06 -060056 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
steve-lunarg297754c2016-12-09 11:13:23 -070065 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
steve-lunarga8456412016-08-17 16:18:06 -060070 Branch 21
71 19: Label
steve-lunarg297754c2016-12-09 11:13:23 -070072 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
steve-lunarga8456412016-08-17 16:18:06 -060077 Branch 21
78 21: Label
79 Return
80 FunctionEnd