1spv.aggOps.frag 2WARNING: 0:4: '' : 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 215 8 9 Capability Shader 10 1: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint Fragment 4 "main" 16 41 101 213 13 ExecutionMode 4 OriginUpperLeft 14 Source GLSL 450 15 Name 4 "main" 16 Name 8 "s1" 17 MemberName 8(s1) 0 "i" 18 MemberName 8(s1) 1 "f" 19 Name 13 "a" 20 Name 16 "u" 21 Name 37 "b" 22 Name 41 "w" 23 Name 55 "s1" 24 MemberName 55(s1) 0 "i" 25 MemberName 55(s1) 1 "f" 26 Name 56 "s2" 27 MemberName 56(s2) 0 "i" 28 MemberName 56(s2) 1 "f" 29 MemberName 56(s2) 2 "s1_1" 30 Name 57 "ub1" 31 MemberName 57(ub1) 0 "foo2a" 32 Name 59 "uName1" 33 Name 64 "s1" 34 MemberName 64(s1) 0 "i" 35 MemberName 64(s1) 1 "f" 36 Name 65 "s2" 37 MemberName 65(s2) 0 "i" 38 MemberName 65(s2) 1 "f" 39 MemberName 65(s2) 2 "s1_1" 40 Name 66 "ub2" 41 MemberName 66(ub2) 0 "foo2b" 42 Name 68 "uName2" 43 Name 93 "v" 44 Name 97 "samp2D" 45 Name 101 "coord" 46 Name 213 "color" 47 MemberDecorate 55(s1) 0 Offset 0 48 MemberDecorate 55(s1) 1 Offset 4 49 MemberDecorate 56(s2) 0 Offset 0 50 MemberDecorate 56(s2) 1 Offset 4 51 MemberDecorate 56(s2) 2 Offset 16 52 MemberDecorate 57(ub1) 0 Offset 0 53 Decorate 57(ub1) Block 54 Decorate 59(uName1) DescriptorSet 0 55 MemberDecorate 64(s1) 0 Offset 0 56 MemberDecorate 64(s1) 1 Offset 4 57 MemberDecorate 65(s2) 0 Offset 0 58 MemberDecorate 65(s2) 1 Offset 4 59 MemberDecorate 65(s2) 2 Offset 8 60 MemberDecorate 66(ub2) 0 Offset 0 61 Decorate 66(ub2) BufferBlock 62 Decorate 68(uName2) DescriptorSet 0 63 Decorate 97(samp2D) DescriptorSet 0 64 Decorate 101(coord) RelaxedPrecision 65 Decorate 102 RelaxedPrecision 66 Decorate 107 RelaxedPrecision 67 Decorate 108 RelaxedPrecision 68 Decorate 129 RelaxedPrecision 69 2: TypeVoid 70 3: TypeFunction 2 71 6: TypeInt 32 1 72 7: TypeFloat 32 73 8(s1): TypeStruct 6(int) 7(float) 74 9: TypeInt 32 0 75 10: 9(int) Constant 3 76 11: TypeArray 8(s1) 10 77 12: TypePointer Function 11 78 14: TypeVector 7(float) 4 79 15: TypePointer Input 14(fvec4) 80 16(u): 15(ptr) Variable Input 81 17: 9(int) Constant 0 82 18: TypePointer Input 7(float) 83 22: 9(int) Constant 1 84 26: 9(int) Constant 2 85 33: 6(int) Constant 14 86 34: 7(float) Constant 1096810496 87 35: 8(s1) ConstantComposite 33 34 88 38: 6(int) Constant 17 89 39: 7(float) Constant 1099431936 90 40: 8(s1) ConstantComposite 38 39 91 41(w): 15(ptr) Variable Input 92 55(s1): TypeStruct 6(int) 7(float) 93 56(s2): TypeStruct 6(int) 7(float) 55(s1) 94 57(ub1): TypeStruct 56(s2) 95 58: TypePointer Uniform 57(ub1) 96 59(uName1): 58(ptr) Variable Uniform 97 60: 6(int) Constant 0 98 61: TypePointer Uniform 56(s2) 99 64(s1): TypeStruct 6(int) 7(float) 100 65(s2): TypeStruct 6(int) 7(float) 64(s1) 101 66(ub2): TypeStruct 65(s2) 102 67: TypePointer Uniform 66(ub2) 103 68(uName2): 67(ptr) Variable Uniform 104 69: TypePointer Uniform 65(s2) 105 72: TypeBool 106 92: TypePointer Function 14(fvec4) 107 94: TypeImage 7(float) 2D sampled format:Unknown 108 95: TypeSampledImage 94 109 96: TypePointer UniformConstant 95 110 97(samp2D): 96(ptr) Variable UniformConstant 111 99: TypeVector 7(float) 2 112 100: TypePointer Input 99(fvec2) 113 101(coord): 100(ptr) Variable Input 114 106: 7(float) Constant 1073741824 115 112: TypeVector 72(bool) 4 116 117: 7(float) Constant 1077936128 117 126: 7(float) Constant 1082130432 118 132: TypeVector 72(bool) 2 119 137: 7(float) Constant 1084227584 120 173: 7(float) Constant 1086324736 121 209: 7(float) Constant 1088421888 122 212: TypePointer Output 14(fvec4) 123 213(color): 212(ptr) Variable Output 124 4(main): 2 Function None 3 125 5: Label 126 13(a): 12(ptr) Variable Function 127 37(b): 12(ptr) Variable Function 128 93(v): 92(ptr) Variable Function 129 19: 18(ptr) AccessChain 16(u) 17 130 20: 7(float) Load 19 131 21: 6(int) ConvertFToS 20 132 23: 18(ptr) AccessChain 16(u) 22 133 24: 7(float) Load 23 134 25: 8(s1) CompositeConstruct 21 24 135 27: 18(ptr) AccessChain 16(u) 26 136 28: 7(float) Load 27 137 29: 6(int) ConvertFToS 28 138 30: 18(ptr) AccessChain 16(u) 10 139 31: 7(float) Load 30 140 32: 8(s1) CompositeConstruct 29 31 141 36: 11 CompositeConstruct 25 32 35 142 Store 13(a) 36 143 42: 18(ptr) AccessChain 41(w) 17 144 43: 7(float) Load 42 145 44: 6(int) ConvertFToS 43 146 45: 18(ptr) AccessChain 41(w) 22 147 46: 7(float) Load 45 148 47: 8(s1) CompositeConstruct 44 46 149 48: 18(ptr) AccessChain 41(w) 26 150 49: 7(float) Load 48 151 50: 6(int) ConvertFToS 49 152 51: 18(ptr) AccessChain 41(w) 10 153 52: 7(float) Load 51 154 53: 8(s1) CompositeConstruct 50 52 155 54: 11 CompositeConstruct 40 47 53 156 Store 37(b) 54 157 62: 61(ptr) AccessChain 59(uName1) 60 158 63: 56(s2) Load 62 159 70: 69(ptr) AccessChain 68(uName2) 60 160 71: 65(s2) Load 70 161 73: 6(int) CompositeExtract 63 0 162 74: 6(int) CompositeExtract 71 0 163 75: 72(bool) IEqual 73 74 164 76: 7(float) CompositeExtract 63 1 165 77: 7(float) CompositeExtract 71 1 166 78: 72(bool) FOrdEqual 76 77 167 79: 72(bool) LogicalAnd 75 78 168 80: 55(s1) CompositeExtract 63 2 169 81: 64(s1) CompositeExtract 71 2 170 82: 6(int) CompositeExtract 80 0 171 83: 6(int) CompositeExtract 81 0 172 84: 72(bool) IEqual 82 83 173 85: 7(float) CompositeExtract 80 1 174 86: 7(float) CompositeExtract 81 1 175 87: 72(bool) FOrdEqual 85 86 176 88: 72(bool) LogicalAnd 84 87 177 89: 72(bool) LogicalAnd 79 88 178 SelectionMerge 91 None 179 BranchConditional 89 90 104 180 90: Label 181 98: 95 Load 97(samp2D) 182 102: 99(fvec2) Load 101(coord) 183 103: 14(fvec4) ImageSampleImplicitLod 98 102 184 Store 93(v) 103 185 Branch 91 186 104: Label 187 105: 95 Load 97(samp2D) 188 107: 99(fvec2) Load 101(coord) 189 108: 99(fvec2) VectorTimesScalar 107 106 190 109: 14(fvec4) ImageSampleImplicitLod 105 108 191 Store 93(v) 109 192 Branch 91 193 91: Label 194 110: 14(fvec4) Load 16(u) 195 111: 14(fvec4) Load 93(v) 196 113: 112(bvec4) FOrdEqual 110 111 197 114: 72(bool) All 113 198 SelectionMerge 116 None 199 BranchConditional 114 115 116 200 115: Label 201 118: 14(fvec4) Load 93(v) 202 119: 14(fvec4) VectorTimesScalar 118 117 203 Store 93(v) 119 204 Branch 116 205 116: Label 206 120: 14(fvec4) Load 16(u) 207 121: 14(fvec4) Load 93(v) 208 122: 112(bvec4) FOrdNotEqual 120 121 209 123: 72(bool) Any 122 210 SelectionMerge 125 None 211 BranchConditional 123 124 125 212 124: Label 213 127: 14(fvec4) Load 93(v) 214 128: 14(fvec4) VectorTimesScalar 127 126 215 Store 93(v) 128 216 Branch 125 217 125: Label 218 129: 99(fvec2) Load 101(coord) 219 130: 14(fvec4) Load 93(v) 220 131: 99(fvec2) VectorShuffle 130 130 1 3 221 133: 132(bvec2) FOrdEqual 129 131 222 134: 72(bool) All 133 223 SelectionMerge 136 None 224 BranchConditional 134 135 136 225 135: Label 226 138: 14(fvec4) Load 93(v) 227 139: 14(fvec4) VectorTimesScalar 138 137 228 Store 93(v) 139 229 Branch 136 230 136: Label 231 140: 11 Load 13(a) 232 141: 11 Load 37(b) 233 142: 8(s1) CompositeExtract 140 0 234 143: 8(s1) CompositeExtract 141 0 235 144: 6(int) CompositeExtract 142 0 236 145: 6(int) CompositeExtract 143 0 237 146: 72(bool) IEqual 144 145 238 147: 7(float) CompositeExtract 142 1 239 148: 7(float) CompositeExtract 143 1 240 149: 72(bool) FOrdEqual 147 148 241 150: 72(bool) LogicalAnd 146 149 242 151: 8(s1) CompositeExtract 140 1 243 152: 8(s1) CompositeExtract 141 1 244 153: 6(int) CompositeExtract 151 0 245 154: 6(int) CompositeExtract 152 0 246 155: 72(bool) IEqual 153 154 247 156: 7(float) CompositeExtract 151 1 248 157: 7(float) CompositeExtract 152 1 249 158: 72(bool) FOrdEqual 156 157 250 159: 72(bool) LogicalAnd 155 158 251 160: 72(bool) LogicalAnd 150 159 252 161: 8(s1) CompositeExtract 140 2 253 162: 8(s1) CompositeExtract 141 2 254 163: 6(int) CompositeExtract 161 0 255 164: 6(int) CompositeExtract 162 0 256 165: 72(bool) IEqual 163 164 257 166: 7(float) CompositeExtract 161 1 258 167: 7(float) CompositeExtract 162 1 259 168: 72(bool) FOrdEqual 166 167 260 169: 72(bool) LogicalAnd 165 168 261 170: 72(bool) LogicalAnd 160 169 262 SelectionMerge 172 None 263 BranchConditional 170 171 172 264 171: Label 265 174: 14(fvec4) Load 93(v) 266 175: 14(fvec4) VectorTimesScalar 174 173 267 Store 93(v) 175 268 Branch 172 269 172: Label 270 176: 11 Load 13(a) 271 177: 11 Load 37(b) 272 178: 8(s1) CompositeExtract 176 0 273 179: 8(s1) CompositeExtract 177 0 274 180: 6(int) CompositeExtract 178 0 275 181: 6(int) CompositeExtract 179 0 276 182: 72(bool) INotEqual 180 181 277 183: 7(float) CompositeExtract 178 1 278 184: 7(float) CompositeExtract 179 1 279 185: 72(bool) FOrdNotEqual 183 184 280 186: 72(bool) LogicalOr 182 185 281 187: 8(s1) CompositeExtract 176 1 282 188: 8(s1) CompositeExtract 177 1 283 189: 6(int) CompositeExtract 187 0 284 190: 6(int) CompositeExtract 188 0 285 191: 72(bool) INotEqual 189 190 286 192: 7(float) CompositeExtract 187 1 287 193: 7(float) CompositeExtract 188 1 288 194: 72(bool) FOrdNotEqual 192 193 289 195: 72(bool) LogicalOr 191 194 290 196: 72(bool) LogicalOr 186 195 291 197: 8(s1) CompositeExtract 176 2 292 198: 8(s1) CompositeExtract 177 2 293 199: 6(int) CompositeExtract 197 0 294 200: 6(int) CompositeExtract 198 0 295 201: 72(bool) INotEqual 199 200 296 202: 7(float) CompositeExtract 197 1 297 203: 7(float) CompositeExtract 198 1 298 204: 72(bool) FOrdNotEqual 202 203 299 205: 72(bool) LogicalOr 201 204 300 206: 72(bool) LogicalOr 196 205 301 SelectionMerge 208 None 302 BranchConditional 206 207 208 303 207: Label 304 210: 14(fvec4) Load 93(v) 305 211: 14(fvec4) VectorTimesScalar 210 209 306 Store 93(v) 211 307 Branch 208 308 208: Label 309 214: 14(fvec4) Load 93(v) 310 Store 213(color) 214 311 Return 312 FunctionEnd 313