6 // Module Version 10000
7 // Generated by (magic number): 80001
8 // Id's are bound by 100
11 1: ExtInstImport "GLSL.std.450"
12 MemoryModel Logical GLSL450
13 EntryPoint Fragment 4 "main" 16 28 33 43
14 ExecutionMode 4 OriginLowerLeft
19 Name 16 "gl_FrontFacing"
22 Name 33 "gl_ClipDistance"
28 MemberName 91(bn) 0 "matra"
29 MemberName 91(bn) 1 "matca"
30 MemberName 91(bn) 2 "matr"
31 MemberName 91(bn) 3 "matc"
32 MemberName 91(bn) 4 "matrdef"
35 MemberName 96(bi) 0 "v"
37 Decorate 16(gl_FrontFacing) BuiltIn FrontFacing
38 Decorate 33(gl_ClipDistance) BuiltIn ClipDistance
39 Decorate 89 ArrayStride 64
40 Decorate 90 ArrayStride 64
41 MemberDecorate 91(bn) 0 RowMajor
42 MemberDecorate 91(bn) 0 Offset 0
43 MemberDecorate 91(bn) 0 MatrixStride 16
44 MemberDecorate 91(bn) 1 ColMajor
45 MemberDecorate 91(bn) 1 Offset 256
46 MemberDecorate 91(bn) 1 MatrixStride 16
47 MemberDecorate 91(bn) 2 RowMajor
48 MemberDecorate 91(bn) 2 Offset 512
49 MemberDecorate 91(bn) 2 MatrixStride 16
50 MemberDecorate 91(bn) 3 ColMajor
51 MemberDecorate 91(bn) 3 Offset 576
52 MemberDecorate 91(bn) 3 MatrixStride 16
53 MemberDecorate 91(bn) 4 RowMajor
54 MemberDecorate 91(bn) 4 Offset 640
55 MemberDecorate 91(bn) 4 MatrixStride 16
57 Decorate 95 ArrayStride 16
58 MemberDecorate 96(bi) 0 Offset 0
63 7: TypeFunction 6(float)
64 10: TypePointer Private 6(float)
65 11(i1): 10(ptr) Variable Private
66 12: TypePointer Function 6(float)
68 15: TypePointer Input 14(bool)
69 16(gl_FrontFacing): 15(ptr) Variable Input
70 20: 6(float) Constant 3221225472
71 22: 6(float) Constant 1073741824
72 24(i2): 10(ptr) Variable Private
73 25: 6(float) Constant 1120665600
74 26: TypeVector 6(float) 4
75 27: TypePointer Output 26(fvec4)
76 28(o): 27(ptr) Variable Output
78 30: 29(int) Constant 5
79 31: TypeArray 6(float) 30
80 32: TypePointer Input 31
81 33(gl_ClipDistance): 32(ptr) Variable Input
83 35: 34(int) Constant 2
84 36: TypePointer Input 6(float)
85 39: 29(int) Constant 1
86 40: TypePointer Output 6(float)
87 42: TypePointer Input 26(fvec4)
88 43(k): 42(ptr) Variable Input
89 45: TypeVector 34(int) 4
90 50: 29(int) Constant 2
91 52: TypeImage 6(float) Rect sampled format:Unknown
92 53: TypeSampledImage 52
93 54: TypePointer UniformConstant 53
94 55(sampR): 54(ptr) Variable UniformConstant
95 58: TypeVector 34(int) 2
96 60: TypeImage 34(int) Buffer sampled format:Unknown
97 61: TypeSampledImage 60
98 62: TypePointer UniformConstant 61
99 63(sampB): 62(ptr) Variable UniformConstant
100 69: TypeVector 6(float) 2
101 72: 6(float) Constant 1120403456
102 74: 29(int) Constant 3
103 82: TypeImage 6(float) 2D sampled format:Unknown
104 83: TypeSampledImage 82
106 85: TypePointer UniformConstant 84
107 86(samp2Da): 85(ptr) Variable UniformConstant
108 87: TypeMatrix 26(fvec4) 4
109 88: 29(int) Constant 4
112 91(bn): TypeStruct 89 90 87 87 87
113 92: TypePointer Uniform 91(bn)
114 93: 92(ptr) Variable Uniform
115 94: TypeVector 6(float) 3
116 95: TypeArray 94(fvec3) 50
117 96(bi): TypeStruct 95
118 97: TypeArray 96(bi) 88
119 98: TypePointer Uniform 97
120 99(bname): 98(ptr) Variable Uniform
121 4(main): 2 Function None 3
123 13: 12(ptr) Variable Function
124 17: 14(bool) Load 16(gl_FrontFacing)
125 SelectionMerge 19 None
126 BranchConditional 17 18 21
137 37: 36(ptr) AccessChain 33(gl_ClipDistance) 35
139 41: 40(ptr) AccessChain 28(o) 39
141 44: 26(fvec4) Load 43(k)
142 46: 45(ivec4) ConvertFToS 44
143 47: 34(int) CompositeExtract 46 0
144 48: 36(ptr) AccessChain 33(gl_ClipDistance) 47
146 51: 40(ptr) AccessChain 28(o) 50
148 56: 53 Load 55(sampR)
150 59: 58(ivec2) ImageQuerySize 57
151 64: 61 Load 63(sampB)
153 66: 34(int) ImageQuerySize 65
154 67: 58(ivec2) CompositeConstruct 66 66
155 68: 58(ivec2) IAdd 59 67
156 70: 69(fvec2) ConvertSToF 68
157 71: 6(float) CompositeExtract 70 0
158 73: 6(float) FDiv 71 72
159 75: 40(ptr) AccessChain 28(o) 74
161 76: 6(float) FunctionCall 8(foo()
162 77: 40(ptr) AccessChain 28(o) 50
166 8(foo(): 6(float) Function None 7
168 78: 6(float) Load 11(i1)
169 79: 6(float) Load 24(i2)
170 80: 6(float) FAdd 78 79