2 // Module Version 10400
3 // Generated by (magic number): 80007
4 // Id's are bound by 98
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
9 EntryPoint Fragment 4 "main" 17 20 82 84
10 ExecutionMode 4 OriginUpperLeft
24 MemberName 75(S1) 0 "a"
25 MemberName 75(S1) 1 "b"
29 Decorate 17(outv) Location 0
30 Decorate 20(cond) Flat
31 Decorate 20(cond) Location 4
33 Decorate 82(in1) Location 0
35 Decorate 84(in2) Location 2
39 11: TypePointer Function 10(float)
40 13: 10(float) Constant 1065353216
41 15: 10(float) Constant 1073741824
42 16: TypePointer Output 10(float)
43 17(outv): 16(ptr) Variable Output
45 19: TypePointer Input 18(int)
46 20(cond): 19(ptr) Variable Input
47 22: 18(int) Constant 8
49 28: TypeVector 18(int) 4
50 29: TypePointer Function 28(ivec4)
51 39: 18(int) Constant 0
53 45: 44(int) Constant 2
54 50: TypeVector 10(float) 3
55 51: TypeMatrix 50(fvec3) 3
56 52: TypePointer Function 51
57 54: 10(float) Constant 0
58 55: 50(fvec3) ConstantComposite 13 54 54
59 56: 50(fvec3) ConstantComposite 54 13 54
60 57: 50(fvec3) ConstantComposite 54 54 13
61 58: 51 ConstantComposite 55 56 57
62 60: 50(fvec3) ConstantComposite 15 54 54
63 61: 50(fvec3) ConstantComposite 54 15 54
64 62: 50(fvec3) ConstantComposite 54 54 15
65 63: 51 ConstantComposite 60 61 62
66 65: 18(int) Constant 20
67 70: 18(int) Constant 2
68 71: 44(int) Constant 1
69 75(S1): TypeStruct 10(float) 18(int)
70 76: TypePointer Function 75(S1)
71 79: 18(int) Constant 5
72 81: TypePointer Input 75(S1)
73 82(in1): 81(ptr) Variable Input
74 84(in2): 81(ptr) Variable Input
75 4(main): 2 Function None 3
77 12(f1): 11(ptr) Variable Function
78 14(f2): 11(ptr) Variable Function
79 30(iv1): 29(ptr) Variable Function
80 34(iv2): 29(ptr) Variable Function
81 53(m1): 52(ptr) Variable Function
82 59(m2): 52(ptr) Variable Function
83 77(fv): 76(ptr) Variable Function
86 21: 18(int) Load 20(cond)
87 24: 23(bool) SLessThan 21 22
88 25: 10(float) Load 12(f1)
89 26: 10(float) Load 14(f2)
90 27: 10(float) Select 24 25 26
92 31: 10(float) Load 12(f1)
93 32: 18(int) ConvertFToS 31
94 33: 28(ivec4) CompositeConstruct 32 32 32 32
96 35: 10(float) Load 14(f2)
97 36: 18(int) ConvertFToS 35
98 37: 28(ivec4) CompositeConstruct 36 36 36 36
100 38: 18(int) Load 20(cond)
101 40: 23(bool) SGreaterThan 38 39
102 41: 28(ivec4) Load 30(iv1)
103 42: 28(ivec4) Load 34(iv2)
104 43: 28(ivec4) Select 40 41 42
105 46: 18(int) CompositeExtract 43 2
106 47: 10(float) ConvertSToF 46
107 48: 10(float) Load 17(outv)
108 49: 10(float) FMul 48 47
112 64: 18(int) Load 20(cond)
113 66: 23(bool) SLessThan 64 65
116 69: 51 Select 66 67 68
117 72: 10(float) CompositeExtract 69 2 1
118 73: 10(float) Load 17(outv)
119 74: 10(float) FMul 73 72
121 78: 18(int) Load 20(cond)
122 80: 23(bool) SGreaterThan 78 79
123 83: 75(S1) Load 82(in1)
124 85: 75(S1) Load 84(in2)
125 86: 75(S1) Select 80 83 85
127 87: 11(ptr) AccessChain 77(fv) 39
128 88: 10(float) Load 87
129 89: 10(float) Load 17(outv)
130 90: 10(float) FMul 89 88
132 91: 18(int) Load 20(cond)
133 92: 23(bool) SGreaterThan 91 39
134 SelectionMerge 94 None
135 BranchConditional 92 93 96
137 95: 2 FunctionCall 6(fun1()
140 97: 2 FunctionCall 8(fun2()
145 6(fun1(): 2 Function None 3
149 8(fun2(): 2 Function None 3