spv.bitops.int8int16.frag Validation failed // Module Version 10300 // Generated by (magic number): 8000b // Id's are bound by 344 Capability Shader Capability Int16 Capability Int8 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" ExecutionMode 4 OriginUpperLeft Source GLSL 450 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8" Name 4 "main" Name 11 "bitOps8(i81;i81;" Name 9 "a" Name 10 "b" Name 18 "bitOps16(i161;i161;" Name 16 "a" Name 17 "b" Name 20 "i8" Name 25 "i8v2" Name 30 "i8v3" Name 35 "i8v4" Name 40 "u8" Name 45 "u8v2" Name 50 "u8v3" Name 55 "u8v4" Name 178 "i16" Name 183 "i16v2" Name 188 "i16v3" Name 193 "i16v4" Name 198 "u16" Name 203 "u16v2" Name 208 "u16v3" Name 213 "u16v4" Name 341 "Uniforms" MemberName 341(Uniforms) 0 "index" Name 343 "" Decorate 341(Uniforms) Block MemberDecorate 341(Uniforms) 0 Offset 0 Decorate 343 Binding 0 Decorate 343 DescriptorSet 0 2: TypeVoid 3: TypeFunction 2 6: TypeInt 8 1 7: TypePointer Function 6(int8_t) 8: TypeFunction 2 7(ptr) 7(ptr) 13: TypeInt 16 1 14: TypePointer Function 13(int16_t) 15: TypeFunction 2 14(ptr) 14(ptr) 23: TypeVector 6(int8_t) 2 24: TypePointer Function 23(i8vec2) 28: TypeVector 6(int8_t) 3 29: TypePointer Function 28(i8vec3) 33: TypeVector 6(int8_t) 4 34: TypePointer Function 33(i8vec4) 38: TypeInt 8 0 39: TypePointer Function 38(int8_t) 43: TypeVector 38(int8_t) 2 44: TypePointer Function 43(i8vec2) 48: TypeVector 38(int8_t) 3 49: TypePointer Function 48(i8vec3) 53: TypeVector 38(int8_t) 4 54: TypePointer Function 53(i8vec4) 181: TypeVector 13(int16_t) 2 182: TypePointer Function 181(i16vec2) 186: TypeVector 13(int16_t) 3 187: TypePointer Function 186(i16vec3) 191: TypeVector 13(int16_t) 4 192: TypePointer Function 191(i16vec4) 196: TypeInt 16 0 197: TypePointer Function 196(int16_t) 201: TypeVector 196(int16_t) 2 202: TypePointer Function 201(i16vec2) 206: TypeVector 196(int16_t) 3 207: TypePointer Function 206(i16vec3) 211: TypeVector 196(int16_t) 4 212: TypePointer Function 211(i16vec4) 340: TypeInt 32 0 341(Uniforms): TypeStruct 340(int) 342: TypePointer Uniform 341(Uniforms) 343: 342(ptr) Variable Uniform 4(main): 2 Function None 3 5: Label Return FunctionEnd 11(bitOps8(i81;i81;): 2 Function None 8 9(a): 7(ptr) FunctionParameter 10(b): 7(ptr) FunctionParameter 12: Label 20(i8): 7(ptr) Variable Function 25(i8v2): 24(ptr) Variable Function 30(i8v3): 29(ptr) Variable Function 35(i8v4): 34(ptr) Variable Function 40(u8): 39(ptr) Variable Function 45(u8v2): 44(ptr) Variable Function 50(u8v3): 49(ptr) Variable Function 55(u8v4): 54(ptr) Variable Function 21: 6(int8_t) Load 20(i8) 22: 6(int8_t) BitReverse 21 Store 20(i8) 22 26: 23(i8vec2) Load 25(i8v2) 27: 23(i8vec2) BitReverse 26 Store 25(i8v2) 27 31: 28(i8vec3) Load 30(i8v3) 32: 28(i8vec3) BitReverse 31 Store 30(i8v3) 32 36: 33(i8vec4) Load 35(i8v4) 37: 33(i8vec4) BitReverse 36 Store 35(i8v4) 37 41: 38(int8_t) Load 40(u8) 42: 38(int8_t) BitReverse 41 Store 40(u8) 42 46: 43(i8vec2) Load 45(u8v2) 47: 43(i8vec2) BitReverse 46 Store 45(u8v2) 47 51: 48(i8vec3) Load 50(u8v3) 52: 48(i8vec3) BitReverse 51 Store 50(u8v3) 52 56: 53(i8vec4) Load 55(u8v4) 57: 53(i8vec4) BitReverse 56 Store 55(u8v4) 57 58: 6(int8_t) Load 20(i8) 59: 6(int8_t) ExtInst 1(GLSL.std.450) 74(FindSMsb) 58 Store 20(i8) 59 60: 23(i8vec2) Load 25(i8v2) 61: 23(i8vec2) ExtInst 1(GLSL.std.450) 74(FindSMsb) 60 Store 25(i8v2) 61 62: 28(i8vec3) Load 30(i8v3) 63: 28(i8vec3) ExtInst 1(GLSL.std.450) 74(FindSMsb) 62 Store 30(i8v3) 63 64: 33(i8vec4) Load 35(i8v4) 65: 33(i8vec4) ExtInst 1(GLSL.std.450) 74(FindSMsb) 64 Store 35(i8v4) 65 66: 38(int8_t) Load 40(u8) 67: 6(int8_t) ExtInst 1(GLSL.std.450) 75(FindUMsb) 66 Store 20(i8) 67 68: 43(i8vec2) Load 45(u8v2) 69: 23(i8vec2) ExtInst 1(GLSL.std.450) 75(FindUMsb) 68 Store 25(i8v2) 69 70: 48(i8vec3) Load 50(u8v3) 71: 28(i8vec3) ExtInst 1(GLSL.std.450) 75(FindUMsb) 70 Store 30(i8v3) 71 72: 53(i8vec4) Load 55(u8v4) 73: 33(i8vec4) ExtInst 1(GLSL.std.450) 75(FindUMsb) 72 Store 35(i8v4) 73 74: 6(int8_t) Load 20(i8) 75: 6(int8_t) ExtInst 1(GLSL.std.450) 73(FindILsb) 74 Store 20(i8) 75 76: 23(i8vec2) Load 25(i8v2) 77: 23(i8vec2) ExtInst 1(GLSL.std.450) 73(FindILsb) 76 Store 25(i8v2) 77 78: 28(i8vec3) Load 30(i8v3) 79: 28(i8vec3) ExtInst 1(GLSL.std.450) 73(FindILsb) 78 Store 30(i8v3) 79 80: 33(i8vec4) Load 35(i8v4) 81: 33(i8vec4) ExtInst 1(GLSL.std.450) 73(FindILsb) 80 Store 35(i8v4) 81 82: 38(int8_t) Load 40(u8) 83: 6(int8_t) ExtInst 1(GLSL.std.450) 73(FindILsb) 82 Store 20(i8) 83 84: 43(i8vec2) Load 45(u8v2) 85: 23(i8vec2) ExtInst 1(GLSL.std.450) 73(FindILsb) 84 Store 25(i8v2) 85 86: 48(i8vec3) Load 50(u8v3) 87: 28(i8vec3) ExtInst 1(GLSL.std.450) 73(FindILsb) 86 Store 30(i8v3) 87 88: 53(i8vec4) Load 55(u8v4) 89: 33(i8vec4) ExtInst 1(GLSL.std.450) 73(FindILsb) 88 Store 35(i8v4) 89 90: 6(int8_t) Load 20(i8) 91: 6(int8_t) BitCount 90 Store 20(i8) 91 92: 23(i8vec2) Load 25(i8v2) 93: 23(i8vec2) BitCount 92 Store 25(i8v2) 93 94: 28(i8vec3) Load 30(i8v3) 95: 28(i8vec3) BitCount 94 Store 30(i8v3) 95 96: 33(i8vec4) Load 35(i8v4) 97: 33(i8vec4) BitCount 96 Store 35(i8v4) 97 98: 38(int8_t) Load 40(u8) 99: 6(int8_t) BitCount 98 Store 20(i8) 99 100: 43(i8vec2) Load 45(u8v2) 101: 23(i8vec2) BitCount 100 Store 25(i8v2) 101 102: 48(i8vec3) Load 50(u8v3) 103: 28(i8vec3) BitCount 102 Store 30(i8v3) 103 104: 53(i8vec4) Load 55(u8v4) 105: 33(i8vec4) BitCount 104 Store 35(i8v4) 105 106: 6(int8_t) Load 20(i8) 107: 6(int8_t) Load 9(a) 108: 6(int8_t) Load 10(b) 109: 6(int8_t) BitFieldSExtract 106 107 108 Store 20(i8) 109 110: 23(i8vec2) Load 25(i8v2) 111: 6(int8_t) Load 9(a) 112: 6(int8_t) Load 10(b) 113: 23(i8vec2) BitFieldSExtract 110 111 112 Store 25(i8v2) 113 114: 28(i8vec3) Load 30(i8v3) 115: 6(int8_t) Load 9(a) 116: 6(int8_t) Load 10(b) 117: 28(i8vec3) BitFieldSExtract 114 115 116 Store 30(i8v3) 117 118: 33(i8vec4) Load 35(i8v4) 119: 6(int8_t) Load 9(a) 120: 6(int8_t) Load 10(b) 121: 33(i8vec4) BitFieldSExtract 118 119 120 Store 35(i8v4) 121 122: 38(int8_t) Load 40(u8) 123: 6(int8_t) Load 9(a) 124: 6(int8_t) Load 10(b) 125: 38(int8_t) BitFieldUExtract 122 123 124 Store 40(u8) 125 126: 43(i8vec2) Load 45(u8v2) 127: 6(int8_t) Load 9(a) 128: 6(int8_t) Load 10(b) 129: 43(i8vec2) BitFieldUExtract 126 127 128 Store 45(u8v2) 129 130: 48(i8vec3) Load 50(u8v3) 131: 6(int8_t) Load 9(a) 132: 6(int8_t) Load 10(b) 133: 48(i8vec3) BitFieldUExtract 130 131 132 Store 50(u8v3) 133 134: 53(i8vec4) Load 55(u8v4) 135: 6(int8_t) Load 9(a) 136: 6(int8_t) Load 10(b) 137: 53(i8vec4) BitFieldUExtract 134 135 136 Store 55(u8v4) 137 138: 6(int8_t) Load 20(i8) 139: 6(int8_t) Load 20(i8) 140: 6(int8_t) Load 9(a) 141: 6(int8_t) Load 10(b) 142: 6(int8_t) BitFieldInsert 138 139 140 141 Store 20(i8) 142 143: 23(i8vec2) Load 25(i8v2) 144: 23(i8vec2) Load 25(i8v2) 145: 6(int8_t) Load 9(a) 146: 6(int8_t) Load 10(b) 147: 23(i8vec2) BitFieldInsert 143 144 145 146 Store 25(i8v2) 147 148: 28(i8vec3) Load 30(i8v3) 149: 28(i8vec3) Load 30(i8v3) 150: 6(int8_t) Load 9(a) 151: 6(int8_t) Load 10(b) 152: 28(i8vec3) BitFieldInsert 148 149 150 151 Store 30(i8v3) 152 153: 33(i8vec4) Load 35(i8v4) 154: 33(i8vec4) Load 35(i8v4) 155: 6(int8_t) Load 9(a) 156: 6(int8_t) Load 10(b) 157: 33(i8vec4) BitFieldInsert 153 154 155 156 Store 35(i8v4) 157 158: 38(int8_t) Load 40(u8) 159: 38(int8_t) Load 40(u8) 160: 6(int8_t) Load 9(a) 161: 6(int8_t) Load 10(b) 162: 38(int8_t) BitFieldInsert 158 159 160 161 Store 40(u8) 162 163: 43(i8vec2) Load 45(u8v2) 164: 43(i8vec2) Load 45(u8v2) 165: 6(int8_t) Load 9(a) 166: 6(int8_t) Load 10(b) 167: 43(i8vec2) BitFieldInsert 163 164 165 166 Store 45(u8v2) 167 168: 48(i8vec3) Load 50(u8v3) 169: 48(i8vec3) Load 50(u8v3) 170: 6(int8_t) Load 9(a) 171: 6(int8_t) Load 10(b) 172: 48(i8vec3) BitFieldInsert 168 169 170 171 Store 50(u8v3) 172 173: 53(i8vec4) Load 55(u8v4) 174: 53(i8vec4) Load 55(u8v4) 175: 6(int8_t) Load 9(a) 176: 6(int8_t) Load 10(b) 177: 53(i8vec4) BitFieldInsert 173 174 175 176 Store 55(u8v4) 177 Return FunctionEnd 18(bitOps16(i161;i161;): 2 Function None 15 16(a): 14(ptr) FunctionParameter 17(b): 14(ptr) FunctionParameter 19: Label 178(i16): 14(ptr) Variable Function 183(i16v2): 182(ptr) Variable Function 188(i16v3): 187(ptr) Variable Function 193(i16v4): 192(ptr) Variable Function 198(u16): 197(ptr) Variable Function 203(u16v2): 202(ptr) Variable Function 208(u16v3): 207(ptr) Variable Function 213(u16v4): 212(ptr) Variable Function 179: 13(int16_t) Load 178(i16) 180: 13(int16_t) BitReverse 179 Store 178(i16) 180 184:181(i16vec2) Load 183(i16v2) 185:181(i16vec2) BitReverse 184 Store 183(i16v2) 185 189:186(i16vec3) Load 188(i16v3) 190:186(i16vec3) BitReverse 189 Store 188(i16v3) 190 194:191(i16vec4) Load 193(i16v4) 195:191(i16vec4) BitReverse 194 Store 193(i16v4) 195 199:196(int16_t) Load 198(u16) 200:196(int16_t) BitReverse 199 Store 198(u16) 200 204:201(i16vec2) Load 203(u16v2) 205:201(i16vec2) BitReverse 204 Store 203(u16v2) 205 209:206(i16vec3) Load 208(u16v3) 210:206(i16vec3) BitReverse 209 Store 208(u16v3) 210 214:211(i16vec4) Load 213(u16v4) 215:211(i16vec4) BitReverse 214 Store 213(u16v4) 215 216: 13(int16_t) Load 178(i16) 217: 13(int16_t) ExtInst 1(GLSL.std.450) 74(FindSMsb) 216 Store 178(i16) 217 218:181(i16vec2) Load 183(i16v2) 219:181(i16vec2) ExtInst 1(GLSL.std.450) 74(FindSMsb) 218 Store 183(i16v2) 219 220:186(i16vec3) Load 188(i16v3) 221:186(i16vec3) ExtInst 1(GLSL.std.450) 74(FindSMsb) 220 Store 188(i16v3) 221 222:191(i16vec4) Load 193(i16v4) 223:191(i16vec4) ExtInst 1(GLSL.std.450) 74(FindSMsb) 222 Store 193(i16v4) 223 224:196(int16_t) Load 198(u16) 225: 13(int16_t) ExtInst 1(GLSL.std.450) 75(FindUMsb) 224 226:196(int16_t) Bitcast 225 Store 198(u16) 226 227:201(i16vec2) Load 203(u16v2) 228:181(i16vec2) ExtInst 1(GLSL.std.450) 75(FindUMsb) 227 229:201(i16vec2) Bitcast 228 Store 203(u16v2) 229 230:206(i16vec3) Load 208(u16v3) 231:186(i16vec3) ExtInst 1(GLSL.std.450) 75(FindUMsb) 230 232:206(i16vec3) Bitcast 231 Store 208(u16v3) 232 233:211(i16vec4) Load 213(u16v4) 234:191(i16vec4) ExtInst 1(GLSL.std.450) 75(FindUMsb) 233 235:211(i16vec4) Bitcast 234 Store 213(u16v4) 235 236: 13(int16_t) Load 178(i16) 237: 13(int16_t) ExtInst 1(GLSL.std.450) 73(FindILsb) 236 Store 178(i16) 237 238:181(i16vec2) Load 183(i16v2) 239:181(i16vec2) ExtInst 1(GLSL.std.450) 73(FindILsb) 238 Store 183(i16v2) 239 240:186(i16vec3) Load 188(i16v3) 241:186(i16vec3) ExtInst 1(GLSL.std.450) 73(FindILsb) 240 Store 188(i16v3) 241 242:191(i16vec4) Load 193(i16v4) 243:191(i16vec4) ExtInst 1(GLSL.std.450) 73(FindILsb) 242 Store 193(i16v4) 243 244:196(int16_t) Load 198(u16) 245: 13(int16_t) ExtInst 1(GLSL.std.450) 73(FindILsb) 244 Store 178(i16) 245 246:201(i16vec2) Load 203(u16v2) 247:181(i16vec2) ExtInst 1(GLSL.std.450) 73(FindILsb) 246 Store 183(i16v2) 247 248:206(i16vec3) Load 208(u16v3) 249:186(i16vec3) ExtInst 1(GLSL.std.450) 73(FindILsb) 248 Store 188(i16v3) 249 250:211(i16vec4) Load 213(u16v4) 251:191(i16vec4) ExtInst 1(GLSL.std.450) 73(FindILsb) 250 Store 193(i16v4) 251 252: 13(int16_t) Load 178(i16) 253: 13(int16_t) BitCount 252 Store 178(i16) 253 254:181(i16vec2) Load 183(i16v2) 255:181(i16vec2) BitCount 254 Store 183(i16v2) 255 256:186(i16vec3) Load 188(i16v3) 257:186(i16vec3) BitCount 256 Store 188(i16v3) 257 258:191(i16vec4) Load 193(i16v4) 259:191(i16vec4) BitCount 258 Store 193(i16v4) 259 260:196(int16_t) Load 198(u16) 261: 13(int16_t) BitCount 260 Store 178(i16) 261 262:201(i16vec2) Load 203(u16v2) 263:181(i16vec2) BitCount 262 Store 183(i16v2) 263 264:206(i16vec3) Load 208(u16v3) 265:186(i16vec3) BitCount 264 Store 188(i16v3) 265 266:211(i16vec4) Load 213(u16v4) 267:191(i16vec4) BitCount 266 Store 193(i16v4) 267 268: 13(int16_t) Load 178(i16) 269: 13(int16_t) Load 16(a) 270: 13(int16_t) Load 17(b) 271: 13(int16_t) BitFieldSExtract 268 269 270 Store 178(i16) 271 272:181(i16vec2) Load 183(i16v2) 273: 13(int16_t) Load 16(a) 274: 13(int16_t) Load 17(b) 275:181(i16vec2) BitFieldSExtract 272 273 274 Store 183(i16v2) 275 276:186(i16vec3) Load 188(i16v3) 277: 13(int16_t) Load 16(a) 278: 13(int16_t) Load 17(b) 279:186(i16vec3) BitFieldSExtract 276 277 278 Store 188(i16v3) 279 280:191(i16vec4) Load 193(i16v4) 281: 13(int16_t) Load 16(a) 282: 13(int16_t) Load 17(b) 283:191(i16vec4) BitFieldSExtract 280 281 282 Store 193(i16v4) 283 284:196(int16_t) Load 198(u16) 285: 13(int16_t) Load 16(a) 286: 13(int16_t) Load 17(b) 287:196(int16_t) BitFieldUExtract 284 285 286 Store 198(u16) 287 288:201(i16vec2) Load 203(u16v2) 289: 13(int16_t) Load 16(a) 290: 13(int16_t) Load 17(b) 291:201(i16vec2) BitFieldUExtract 288 289 290 Store 203(u16v2) 291 292:206(i16vec3) Load 208(u16v3) 293: 13(int16_t) Load 16(a) 294: 13(int16_t) Load 17(b) 295:206(i16vec3) BitFieldUExtract 292 293 294 Store 208(u16v3) 295 296:211(i16vec4) Load 213(u16v4) 297: 13(int16_t) Load 16(a) 298: 13(int16_t) Load 17(b) 299:211(i16vec4) BitFieldUExtract 296 297 298 Store 213(u16v4) 299 300: 13(int16_t) Load 178(i16) 301: 13(int16_t) Load 178(i16) 302: 13(int16_t) Load 16(a) 303: 13(int16_t) Load 17(b) 304: 13(int16_t) BitFieldInsert 300 301 302 303 Store 178(i16) 304 305:181(i16vec2) Load 183(i16v2) 306:181(i16vec2) Load 183(i16v2) 307: 13(int16_t) Load 16(a) 308: 13(int16_t) Load 17(b) 309:181(i16vec2) BitFieldInsert 305 306 307 308 Store 183(i16v2) 309 310:186(i16vec3) Load 188(i16v3) 311:186(i16vec3) Load 188(i16v3) 312: 13(int16_t) Load 16(a) 313: 13(int16_t) Load 17(b) 314:186(i16vec3) BitFieldInsert 310 311 312 313 Store 188(i16v3) 314 315:191(i16vec4) Load 193(i16v4) 316:191(i16vec4) Load 193(i16v4) 317: 13(int16_t) Load 16(a) 318: 13(int16_t) Load 17(b) 319:191(i16vec4) BitFieldInsert 315 316 317 318 Store 193(i16v4) 319 320:196(int16_t) Load 198(u16) 321:196(int16_t) Load 198(u16) 322: 13(int16_t) Load 16(a) 323: 13(int16_t) Load 17(b) 324:196(int16_t) BitFieldInsert 320 321 322 323 Store 198(u16) 324 325:201(i16vec2) Load 203(u16v2) 326:201(i16vec2) Load 203(u16v2) 327: 13(int16_t) Load 16(a) 328: 13(int16_t) Load 17(b) 329:201(i16vec2) BitFieldInsert 325 326 327 328 Store 203(u16v2) 329 330:206(i16vec3) Load 208(u16v3) 331:206(i16vec3) Load 208(u16v3) 332: 13(int16_t) Load 16(a) 333: 13(int16_t) Load 17(b) 334:206(i16vec3) BitFieldInsert 330 331 332 333 Store 208(u16v3) 334 335:211(i16vec4) Load 213(u16v4) 336:211(i16vec4) Load 213(u16v4) 337: 13(int16_t) Load 16(a) 338: 13(int16_t) Load 17(b) 339:211(i16vec4) BitFieldInsert 335 336 337 338 Store 213(u16v4) 339 Return FunctionEnd