| spv.int16.frag |
| // Module Version 10000 |
| // Generated by (magic number): 80002 |
| // Id's are bound by 520 |
| |
| Capability Shader |
| Capability Float16 |
| Capability Float64 |
| Capability Int64 |
| Capability Int16 |
| Capability Int8 |
| Capability StorageUniform16 |
| Extension "SPV_AMD_gpu_shader_half_float" |
| Extension "SPV_AMD_gpu_shader_int16" |
| Extension "SPV_KHR_16bit_storage" |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint Fragment 4 "main" |
| ExecutionMode 4 OriginUpperLeft |
| Source GLSL 450 |
| SourceExtension "GL_KHX_shader_explicit_arithmetic_types" |
| SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16" |
| SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32" |
| SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64" |
| SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16" |
| SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32" |
| SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" |
| SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8" |
| Name 4 "main" |
| Name 6 "literal(" |
| Name 8 "typeCast16(" |
| Name 10 "operators(" |
| Name 12 "builtinFuncs(" |
| Name 16 "i16" |
| Name 24 "Uniforms" |
| MemberName 24(Uniforms) 0 "index" |
| Name 26 "" |
| Name 33 "indexable" |
| Name 38 "u16" |
| Name 46 "indexable" |
| Name 51 "i32v" |
| Name 54 "i16v" |
| Name 57 "u16v" |
| Name 65 "u32v" |
| Name 72 "i64v" |
| Name 78 "u64v" |
| Name 92 "f16v" |
| Name 98 "f32v" |
| Name 104 "f64v" |
| Name 152 "i8v" |
| Name 159 "u8v" |
| Name 172 "bv" |
| Name 192 "u16v" |
| Name 197 "i16" |
| Name 216 "i" |
| Name 223 "uv" |
| Name 239 "i64" |
| Name 278 "b" |
| Name 340 "i16v" |
| Name 343 "i16" |
| Name 353 "u16v" |
| Name 355 "u16" |
| Name 425 "i32" |
| Name 428 "i64" |
| Name 431 "i16v4" |
| Name 434 "u32" |
| Name 435 "u16v2" |
| Name 439 "u64" |
| Name 442 "u16v4" |
| Name 454 "bv" |
| Name 515 "Block" |
| MemberName 515(Block) 0 "i16" |
| MemberName 515(Block) 1 "i16v2" |
| MemberName 515(Block) 2 "i16v3" |
| MemberName 515(Block) 3 "i16v4" |
| MemberName 515(Block) 4 "u16" |
| MemberName 515(Block) 5 "u16v2" |
| MemberName 515(Block) 6 "u16v3" |
| MemberName 515(Block) 7 "u16v4" |
| Name 517 "block" |
| Name 518 "si16" |
| Name 519 "su16" |
| MemberDecorate 24(Uniforms) 0 Offset 0 |
| Decorate 24(Uniforms) Block |
| Decorate 26 DescriptorSet 0 |
| Decorate 26 Binding 0 |
| MemberDecorate 515(Block) 0 Offset 0 |
| MemberDecorate 515(Block) 1 Offset 4 |
| MemberDecorate 515(Block) 2 Offset 8 |
| MemberDecorate 515(Block) 3 Offset 16 |
| MemberDecorate 515(Block) 4 Offset 24 |
| MemberDecorate 515(Block) 5 Offset 28 |
| MemberDecorate 515(Block) 6 Offset 32 |
| MemberDecorate 515(Block) 7 Offset 40 |
| Decorate 515(Block) Block |
| Decorate 517(block) DescriptorSet 0 |
| Decorate 517(block) Binding 1 |
| Decorate 518(si16) SpecId 100 |
| Decorate 519(su16) SpecId 101 |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 14: TypeInt 16 1 |
| 15: TypePointer Function 14(int) |
| 17: TypeInt 32 0 |
| 18: 17(int) Constant 3 |
| 19: TypeArray 14(int) 18 |
| 20: 14(int) Constant 4294962927 |
| 21: 14(int) Constant 4294967295 |
| 22: 14(int) Constant 16384 |
| 23: 19 ConstantComposite 20 21 22 |
| 24(Uniforms): TypeStruct 17(int) |
| 25: TypePointer Uniform 24(Uniforms) |
| 26: 25(ptr) Variable Uniform |
| 27: TypeInt 32 1 |
| 28: 27(int) Constant 0 |
| 29: TypePointer Uniform 17(int) |
| 32: TypePointer Function 19 |
| 36: TypeInt 16 0 |
| 37: TypePointer Function 27(int) |
| 39: TypeArray 27(int) 18 |
| 40: 36(int) Constant 65535 |
| 41: 36(int) Constant 32767 |
| 42: 39 ConstantComposite 40 40 41 |
| 45: TypePointer Function 39 |
| 49: TypeVector 27(int) 2 |
| 50: TypePointer Function 49(ivec2) |
| 52: TypeVector 14(int) 2 |
| 53: TypePointer Function 52(ivec2) |
| 63: TypeVector 17(int) 2 |
| 64: TypePointer Function 63(ivec2) |
| 69: TypeInt 64 1 |
| 70: TypeVector 69(int) 2 |
| 71: TypePointer Function 70(ivec2) |
| 75: TypeInt 64 0 |
| 76: TypeVector 75(int) 2 |
| 77: TypePointer Function 76(ivec2) |
| 89: TypeFloat 16 |
| 90: TypeVector 89(float) 2 |
| 91: TypePointer Function 90(fvec2) |
| 95: TypeFloat 32 |
| 96: TypeVector 95(float) 2 |
| 97: TypePointer Function 96(fvec2) |
| 101: TypeFloat 64 |
| 102: TypeVector 101(float) 2 |
| 103: TypePointer Function 102(fvec2) |
| 149: TypeInt 8 1 |
| 150: TypeVector 149(int) 2 |
| 151: TypePointer Function 150(ivec2) |
| 158: TypeInt 8 0 |
| 169: TypeBool |
| 170: TypeVector 169(bool) 2 |
| 171: TypePointer Function 170(bvec2) |
| 174: 14(int) Constant 0 |
| 175: 14(int) Constant 1 |
| 176: 52(ivec2) ConstantComposite 174 174 |
| 177: 52(ivec2) ConstantComposite 175 175 |
| 180: 36(int) Constant 0 |
| 181: 36(int) Constant 1 |
| 182: TypeVector 36(int) 2 |
| 183: 182(ivec2) ConstantComposite 180 180 |
| 184: 182(ivec2) ConstantComposite 181 181 |
| 190: TypeVector 27(int) 3 |
| 191: TypePointer Function 190(ivec3) |
| 194: TypeVector 14(int) 3 |
| 221: TypeVector 17(int) 3 |
| 222: TypePointer Function 221(ivec3) |
| 238: TypePointer Function 69(int) |
| 260: 17(int) Constant 1 |
| 266: 17(int) Constant 2 |
| 277: TypePointer Function 169(bool) |
| 279: 17(int) Constant 0 |
| 293: TypePointer Function 17(int) |
| 351: 52(ivec2) ConstantComposite 21 21 |
| 360: 190(ivec3) ConstantComposite 180 180 180 |
| 402: 169(bool) ConstantTrue |
| 409: 169(bool) ConstantFalse |
| 410: 170(bvec2) ConstantComposite 409 409 |
| 422: TypeVector 169(bool) 3 |
| 423: 422(bvec3) ConstantComposite 409 409 409 |
| 429: TypeVector 14(int) 4 |
| 430: TypePointer Function 429(ivec4) |
| 438: TypePointer Function 75(int) |
| 440: TypeVector 27(int) 4 |
| 441: TypePointer Function 440(ivec4) |
| 453: TypePointer Function 422(bvec3) |
| 515(Block): TypeStruct 14(int) 52(ivec2) 194(ivec3) 429(ivec4) 27(int) 49(ivec2) 190(ivec3) 440(ivec4) |
| 516: TypePointer Uniform 515(Block) |
| 517(block): 516(ptr) Variable Uniform |
| 518(si16): 14(int) SpecConstant 4294967286 |
| 519(su16): 36(int) SpecConstant 20 |
| 4(main): 2 Function None 3 |
| 5: Label |
| Return |
| FunctionEnd |
| 6(literal(): 2 Function None 3 |
| 7: Label |
| 16(i16): 15(ptr) Variable Function |
| 33(indexable): 32(ptr) Variable Function |
| 38(u16): 37(ptr) Variable Function |
| 46(indexable): 45(ptr) Variable Function |
| 30: 29(ptr) AccessChain 26 28 |
| 31: 17(int) Load 30 |
| Store 33(indexable) 23 |
| 34: 15(ptr) AccessChain 33(indexable) 31 |
| 35: 14(int) Load 34 |
| Store 16(i16) 35 |
| 43: 29(ptr) AccessChain 26 28 |
| 44: 17(int) Load 43 |
| Store 46(indexable) 42 |
| 47: 37(ptr) AccessChain 46(indexable) 44 |
| 48: 27(int) Load 47 |
| Store 38(u16) 48 |
| Return |
| FunctionEnd |
| 8(typeCast16(): 2 Function None 3 |
| 9: Label |
| 51(i32v): 50(ptr) Variable Function |
| 54(i16v): 53(ptr) Variable Function |
| 57(u16v): 50(ptr) Variable Function |
| 65(u32v): 64(ptr) Variable Function |
| 72(i64v): 71(ptr) Variable Function |
| 78(u64v): 77(ptr) Variable Function |
| 92(f16v): 91(ptr) Variable Function |
| 98(f32v): 97(ptr) Variable Function |
| 104(f64v): 103(ptr) Variable Function |
| 152(i8v): 151(ptr) Variable Function |
| 159(u8v): 53(ptr) Variable Function |
| 172(bv): 171(ptr) Variable Function |
| 55: 52(ivec2) Load 54(i16v) |
| 56: 49(ivec2) SConvert 55 |
| Store 51(i32v) 56 |
| 58: 49(ivec2) Load 57(u16v) |
| 59: 49(ivec2) UConvert 58 |
| 60: 49(ivec2) Bitcast 59 |
| Store 51(i32v) 60 |
| 61: 52(ivec2) Load 54(i16v) |
| 62: 49(ivec2) Bitcast 61 |
| Store 57(u16v) 62 |
| 66: 52(ivec2) Load 54(i16v) |
| 67: 49(ivec2) SConvert 66 |
| 68: 63(ivec2) Bitcast 67 |
| Store 65(u32v) 68 |
| 73: 52(ivec2) Load 54(i16v) |
| 74: 70(ivec2) SConvert 73 |
| Store 72(i64v) 74 |
| 79: 52(ivec2) Load 54(i16v) |
| 80: 70(ivec2) SConvert 79 |
| 81: 76(ivec2) Bitcast 80 |
| Store 78(u64v) 81 |
| 82: 49(ivec2) Load 57(u16v) |
| 83: 63(ivec2) UConvert 82 |
| Store 65(u32v) 83 |
| 84: 49(ivec2) Load 57(u16v) |
| 85: 70(ivec2) UConvert 84 |
| 86: 70(ivec2) Bitcast 85 |
| Store 72(i64v) 86 |
| 87: 49(ivec2) Load 57(u16v) |
| 88: 76(ivec2) UConvert 87 |
| Store 78(u64v) 88 |
| 93: 52(ivec2) Load 54(i16v) |
| 94: 90(fvec2) ConvertSToF 93 |
| Store 92(f16v) 94 |
| 99: 52(ivec2) Load 54(i16v) |
| 100: 96(fvec2) ConvertSToF 99 |
| Store 98(f32v) 100 |
| 105: 52(ivec2) Load 54(i16v) |
| 106: 102(fvec2) ConvertSToF 105 |
| Store 104(f64v) 106 |
| 107: 49(ivec2) Load 57(u16v) |
| 108: 90(fvec2) ConvertUToF 107 |
| Store 92(f16v) 108 |
| 109: 49(ivec2) Load 57(u16v) |
| 110: 96(fvec2) ConvertUToF 109 |
| Store 98(f32v) 110 |
| 111: 49(ivec2) Load 57(u16v) |
| 112: 102(fvec2) ConvertUToF 111 |
| Store 104(f64v) 112 |
| 113: 52(ivec2) Load 54(i16v) |
| 114: 49(ivec2) SConvert 113 |
| Store 51(i32v) 114 |
| 115: 49(ivec2) Load 57(u16v) |
| 116: 49(ivec2) UConvert 115 |
| 117: 49(ivec2) Bitcast 116 |
| Store 51(i32v) 117 |
| 118: 52(ivec2) Load 54(i16v) |
| 119: 49(ivec2) Bitcast 118 |
| Store 57(u16v) 119 |
| 120: 52(ivec2) Load 54(i16v) |
| 121: 49(ivec2) SConvert 120 |
| 122: 63(ivec2) Bitcast 121 |
| Store 65(u32v) 122 |
| 123: 52(ivec2) Load 54(i16v) |
| 124: 70(ivec2) SConvert 123 |
| Store 72(i64v) 124 |
| 125: 52(ivec2) Load 54(i16v) |
| 126: 70(ivec2) SConvert 125 |
| 127: 76(ivec2) Bitcast 126 |
| Store 78(u64v) 127 |
| 128: 49(ivec2) Load 57(u16v) |
| 129: 63(ivec2) UConvert 128 |
| Store 65(u32v) 129 |
| 130: 49(ivec2) Load 57(u16v) |
| 131: 70(ivec2) UConvert 130 |
| 132: 70(ivec2) Bitcast 131 |
| Store 72(i64v) 132 |
| 133: 49(ivec2) Load 57(u16v) |
| 134: 70(ivec2) UConvert 133 |
| 135: 70(ivec2) Bitcast 134 |
| 136: 76(ivec2) Bitcast 135 |
| Store 78(u64v) 136 |
| 137: 52(ivec2) Load 54(i16v) |
| 138: 90(fvec2) ConvertSToF 137 |
| Store 92(f16v) 138 |
| 139: 52(ivec2) Load 54(i16v) |
| 140: 96(fvec2) ConvertSToF 139 |
| Store 98(f32v) 140 |
| 141: 52(ivec2) Load 54(i16v) |
| 142: 102(fvec2) ConvertSToF 141 |
| Store 104(f64v) 142 |
| 143: 49(ivec2) Load 57(u16v) |
| 144: 90(fvec2) ConvertUToF 143 |
| Store 92(f16v) 144 |
| 145: 49(ivec2) Load 57(u16v) |
| 146: 96(fvec2) ConvertUToF 145 |
| Store 98(f32v) 146 |
| 147: 49(ivec2) Load 57(u16v) |
| 148: 102(fvec2) ConvertUToF 147 |
| Store 104(f64v) 148 |
| 153: 52(ivec2) Load 54(i16v) |
| 154: 150(ivec2) SConvert 153 |
| Store 152(i8v) 154 |
| 155: 49(ivec2) Load 57(u16v) |
| 156: 150(ivec2) UConvert 155 |
| 157: 150(ivec2) Bitcast 156 |
| Store 152(i8v) 157 |
| 160: 52(ivec2) Load 54(i16v) |
| 161: 150(ivec2) SConvert 160 |
| 162: 52(ivec2) Bitcast 161 |
| Store 159(u8v) 162 |
| 163: 49(ivec2) Load 57(u16v) |
| 164: 52(ivec2) UConvert 163 |
| Store 159(u8v) 164 |
| 165: 49(ivec2) Load 57(u16v) |
| 166: 52(ivec2) UConvert 165 |
| 167: 52(ivec2) UConvert 166 |
| 168: 52(ivec2) Bitcast 167 |
| Store 54(i16v) 168 |
| 173: 170(bvec2) Load 172(bv) |
| 178: 52(ivec2) Select 173 177 176 |
| Store 54(i16v) 178 |
| 179: 170(bvec2) Load 172(bv) |
| 185: 49(ivec2) Select 179 184 183 |
| Store 57(u16v) 185 |
| 186: 52(ivec2) Load 54(i16v) |
| 187: 170(bvec2) INotEqual 186 183 |
| Store 172(bv) 187 |
| 188: 49(ivec2) Load 57(u16v) |
| 189: 170(bvec2) INotEqual 188 183 |
| Store 172(bv) 189 |
| Return |
| FunctionEnd |
| 10(operators(): 2 Function None 3 |
| 11: Label |
| 192(u16v): 191(ptr) Variable Function |
| 197(i16): 15(ptr) Variable Function |
| 216(i): 37(ptr) Variable Function |
| 223(uv): 222(ptr) Variable Function |
| 239(i64): 238(ptr) Variable Function |
| 278(b): 277(ptr) Variable Function |
| 193: 190(ivec3) Load 192(u16v) |
| 195: 194(ivec3) CompositeConstruct 175 175 175 |
| 196: 190(ivec3) IAdd 193 195 |
| Store 192(u16v) 196 |
| 198: 14(int) Load 197(i16) |
| 199: 14(int) ISub 198 175 |
| Store 197(i16) 199 |
| 200: 14(int) Load 197(i16) |
| 201: 14(int) IAdd 200 175 |
| Store 197(i16) 201 |
| 202: 190(ivec3) Load 192(u16v) |
| 203: 194(ivec3) CompositeConstruct 175 175 175 |
| 204: 190(ivec3) ISub 202 203 |
| Store 192(u16v) 204 |
| 205: 190(ivec3) Load 192(u16v) |
| 206: 190(ivec3) Not 205 |
| Store 192(u16v) 206 |
| 207: 14(int) Load 197(i16) |
| Store 197(i16) 207 |
| 208: 190(ivec3) Load 192(u16v) |
| 209: 190(ivec3) SNegate 208 |
| Store 192(u16v) 209 |
| 210: 14(int) Load 197(i16) |
| 211: 14(int) Load 197(i16) |
| 212: 14(int) IAdd 211 210 |
| Store 197(i16) 212 |
| 213: 190(ivec3) Load 192(u16v) |
| 214: 190(ivec3) Load 192(u16v) |
| 215: 190(ivec3) ISub 214 213 |
| Store 192(u16v) 215 |
| 217: 14(int) Load 197(i16) |
| 218: 27(int) SConvert 217 |
| 219: 27(int) Load 216(i) |
| 220: 27(int) IMul 219 218 |
| Store 216(i) 220 |
| 224: 190(ivec3) Load 192(u16v) |
| 225: 221(ivec3) UConvert 224 |
| 226: 221(ivec3) Load 223(uv) |
| 227: 221(ivec3) UDiv 226 225 |
| Store 223(uv) 227 |
| 228: 14(int) Load 197(i16) |
| 229: 27(int) SConvert 228 |
| 230: 17(int) Bitcast 229 |
| 231: 221(ivec3) Load 223(uv) |
| 232: 221(ivec3) CompositeConstruct 230 230 230 |
| 233: 221(ivec3) UMod 231 232 |
| Store 223(uv) 233 |
| 234: 190(ivec3) Load 192(u16v) |
| 235: 221(ivec3) UConvert 234 |
| 236: 221(ivec3) Load 223(uv) |
| 237: 221(ivec3) IAdd 235 236 |
| Store 223(uv) 237 |
| 240: 14(int) Load 197(i16) |
| 241: 69(int) SConvert 240 |
| 242: 69(int) Load 239(i64) |
| 243: 69(int) ISub 241 242 |
| Store 239(i64) 243 |
| 244: 190(ivec3) Load 192(u16v) |
| 245: 221(ivec3) UConvert 244 |
| 246: 221(ivec3) Load 223(uv) |
| 247: 221(ivec3) IMul 245 246 |
| Store 223(uv) 247 |
| 248: 14(int) Load 197(i16) |
| 249: 69(int) SConvert 248 |
| 250: 69(int) Load 239(i64) |
| 251: 69(int) IMul 249 250 |
| Store 239(i64) 251 |
| 252: 14(int) Load 197(i16) |
| 253: 27(int) SConvert 252 |
| 254: 27(int) Load 216(i) |
| 255: 27(int) SMod 253 254 |
| Store 216(i) 255 |
| 256: 14(int) Load 197(i16) |
| 257: 190(ivec3) Load 192(u16v) |
| 258: 194(ivec3) CompositeConstruct 256 256 256 |
| 259: 190(ivec3) ShiftLeftLogical 257 258 |
| Store 192(u16v) 259 |
| 261: 37(ptr) AccessChain 192(u16v) 260 |
| 262: 27(int) Load 261 |
| 263: 14(int) Load 197(i16) |
| 264: 14(int) ShiftRightArithmetic 263 262 |
| Store 197(i16) 264 |
| 265: 14(int) Load 197(i16) |
| 267: 37(ptr) AccessChain 192(u16v) 266 |
| 268: 27(int) Load 267 |
| 269: 14(int) ShiftLeftLogical 265 268 |
| Store 197(i16) 269 |
| 270: 190(ivec3) Load 192(u16v) |
| 271: 190(ivec3) UConvert 270 |
| 272: 190(ivec3) Bitcast 271 |
| 273: 27(int) Load 216(i) |
| 274: 190(ivec3) CompositeConstruct 273 273 273 |
| 275: 190(ivec3) ShiftLeftLogical 272 274 |
| 276: 221(ivec3) Bitcast 275 |
| Store 223(uv) 276 |
| 280: 37(ptr) AccessChain 192(u16v) 279 |
| 281: 27(int) Load 280 |
| 282: 14(int) Load 197(i16) |
| 283: 27(int) Bitcast 282 |
| 284: 169(bool) INotEqual 281 283 |
| Store 278(b) 284 |
| 285: 14(int) Load 197(i16) |
| 286: 27(int) Bitcast 285 |
| 287: 37(ptr) AccessChain 192(u16v) 279 |
| 288: 27(int) Load 287 |
| 289: 169(bool) IEqual 286 288 |
| Store 278(b) 289 |
| 290: 37(ptr) AccessChain 192(u16v) 279 |
| 291: 27(int) Load 290 |
| 292: 17(int) UConvert 291 |
| 294: 293(ptr) AccessChain 223(uv) 260 |
| 295: 17(int) Load 294 |
| 296: 169(bool) UGreaterThan 292 295 |
| Store 278(b) 296 |
| 297: 14(int) Load 197(i16) |
| 298: 27(int) SConvert 297 |
| 299: 27(int) Load 216(i) |
| 300: 169(bool) SLessThan 298 299 |
| Store 278(b) 300 |
| 301: 37(ptr) AccessChain 192(u16v) 260 |
| 302: 27(int) Load 301 |
| 303: 17(int) UConvert 302 |
| 304: 293(ptr) AccessChain 223(uv) 279 |
| 305: 17(int) Load 304 |
| 306: 169(bool) UGreaterThanEqual 303 305 |
| Store 278(b) 306 |
| 307: 14(int) Load 197(i16) |
| 308: 27(int) SConvert 307 |
| 309: 27(int) Load 216(i) |
| 310: 169(bool) SLessThanEqual 308 309 |
| Store 278(b) 310 |
| 311: 14(int) Load 197(i16) |
| 312: 27(int) SConvert 311 |
| 313: 17(int) Bitcast 312 |
| 314: 221(ivec3) Load 223(uv) |
| 315: 221(ivec3) CompositeConstruct 313 313 313 |
| 316: 221(ivec3) BitwiseOr 314 315 |
| Store 223(uv) 316 |
| 317: 14(int) Load 197(i16) |
| 318: 27(int) SConvert 317 |
| 319: 27(int) Load 216(i) |
| 320: 27(int) BitwiseOr 318 319 |
| Store 216(i) 320 |
| 321: 14(int) Load 197(i16) |
| 322: 69(int) SConvert 321 |
| 323: 69(int) Load 239(i64) |
| 324: 69(int) BitwiseAnd 323 322 |
| Store 239(i64) 324 |
| 325: 190(ivec3) Load 192(u16v) |
| 326: 221(ivec3) UConvert 325 |
| 327: 221(ivec3) Load 223(uv) |
| 328: 221(ivec3) BitwiseAnd 326 327 |
| Store 223(uv) 328 |
| 329: 14(int) Load 197(i16) |
| 330: 27(int) SConvert 329 |
| 331: 17(int) Bitcast 330 |
| 332: 221(ivec3) Load 223(uv) |
| 333: 221(ivec3) CompositeConstruct 331 331 331 |
| 334: 221(ivec3) BitwiseXor 332 333 |
| Store 223(uv) 334 |
| 335: 190(ivec3) Load 192(u16v) |
| 336: 14(int) Load 197(i16) |
| 337: 27(int) Bitcast 336 |
| 338: 190(ivec3) CompositeConstruct 337 337 337 |
| 339: 190(ivec3) BitwiseXor 335 338 |
| Store 192(u16v) 339 |
| Return |
| FunctionEnd |
| 12(builtinFuncs(): 2 Function None 3 |
| 13: Label |
| 340(i16v): 53(ptr) Variable Function |
| 343(i16): 15(ptr) Variable Function |
| 353(u16v): 191(ptr) Variable Function |
| 355(u16): 37(ptr) Variable Function |
| 425(i32): 37(ptr) Variable Function |
| 428(i64): 238(ptr) Variable Function |
| 431(i16v4): 430(ptr) Variable Function |
| 434(u32): 293(ptr) Variable Function |
| 435(u16v2): 50(ptr) Variable Function |
| 439(u64): 438(ptr) Variable Function |
| 442(u16v4): 441(ptr) Variable Function |
| 454(bv): 453(ptr) Variable Function |
| 341: 52(ivec2) Load 340(i16v) |
| 342: 52(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 341 |
| Store 340(i16v) 342 |
| 344: 14(int) Load 343(i16) |
| 345: 14(int) ExtInst 1(GLSL.std.450) 7(SSign) 344 |
| Store 343(i16) 345 |
| 346: 52(ivec2) Load 340(i16v) |
| 347: 14(int) Load 343(i16) |
| 348: 52(ivec2) CompositeConstruct 347 347 |
| 349: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 346 348 |
| Store 340(i16v) 349 |
| 350: 52(ivec2) Load 340(i16v) |
| 352: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 350 351 |
| Store 340(i16v) 352 |
| 354: 190(ivec3) Load 353(u16v) |
| 356: 27(int) Load 355(u16) |
| 357: 190(ivec3) CompositeConstruct 356 356 356 |
| 358: 190(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 354 357 |
| Store 353(u16v) 358 |
| 359: 190(ivec3) Load 353(u16v) |
| 361: 190(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 359 360 |
| Store 353(u16v) 361 |
| 362: 52(ivec2) Load 340(i16v) |
| 363: 14(int) Load 343(i16) |
| 364: 52(ivec2) CompositeConstruct 363 363 |
| 365: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 362 364 |
| Store 340(i16v) 365 |
| 366: 52(ivec2) Load 340(i16v) |
| 367: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 366 351 |
| Store 340(i16v) 367 |
| 368: 190(ivec3) Load 353(u16v) |
| 369: 27(int) Load 355(u16) |
| 370: 190(ivec3) CompositeConstruct 369 369 369 |
| 371: 190(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 368 370 |
| Store 353(u16v) 371 |
| 372: 190(ivec3) Load 353(u16v) |
| 373: 190(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 372 360 |
| Store 353(u16v) 373 |
| 374: 52(ivec2) Load 340(i16v) |
| 375: 14(int) Load 343(i16) |
| 376: 14(int) SNegate 375 |
| 377: 14(int) Load 343(i16) |
| 378: 52(ivec2) CompositeConstruct 376 376 |
| 379: 52(ivec2) CompositeConstruct 377 377 |
| 380: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 374 378 379 |
| Store 340(i16v) 380 |
| 381: 52(ivec2) Load 340(i16v) |
| 382: 52(ivec2) Load 340(i16v) |
| 383: 52(ivec2) SNegate 382 |
| 384: 52(ivec2) Load 340(i16v) |
| 385: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 381 383 384 |
| Store 340(i16v) 385 |
| 386: 190(ivec3) Load 353(u16v) |
| 387: 27(int) Load 355(u16) |
| 388: 27(int) SNegate 387 |
| 389: 27(int) Load 355(u16) |
| 390: 190(ivec3) CompositeConstruct 388 388 388 |
| 391: 190(ivec3) CompositeConstruct 389 389 389 |
| 392: 190(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 386 390 391 |
| Store 353(u16v) 392 |
| 393: 190(ivec3) Load 353(u16v) |
| 394: 190(ivec3) Load 353(u16v) |
| 395: 190(ivec3) SNegate 394 |
| 396: 190(ivec3) Load 353(u16v) |
| 397: 190(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 393 395 396 |
| Store 353(u16v) 397 |
| 398: 15(ptr) AccessChain 340(i16v) 279 |
| 399: 14(int) Load 398 |
| 400: 15(ptr) AccessChain 340(i16v) 260 |
| 401: 14(int) Load 400 |
| 403: 14(int) Select 402 401 399 |
| Store 343(i16) 403 |
| 404: 14(int) Load 343(i16) |
| 405: 52(ivec2) CompositeConstruct 404 404 |
| 406: 14(int) Load 343(i16) |
| 407: 14(int) SNegate 406 |
| 408: 52(ivec2) CompositeConstruct 407 407 |
| 411: 52(ivec2) Select 410 408 405 |
| Store 340(i16v) 411 |
| 412: 37(ptr) AccessChain 353(u16v) 279 |
| 413: 27(int) Load 412 |
| 414: 37(ptr) AccessChain 353(u16v) 260 |
| 415: 27(int) Load 414 |
| 416: 27(int) Select 402 415 413 |
| Store 355(u16) 416 |
| 417: 27(int) Load 355(u16) |
| 418: 190(ivec3) CompositeConstruct 417 417 417 |
| 419: 27(int) Load 355(u16) |
| 420: 27(int) SNegate 419 |
| 421: 190(ivec3) CompositeConstruct 420 420 420 |
| 424: 190(ivec3) Select 423 421 418 |
| Store 353(u16v) 424 |
| 426: 52(ivec2) Load 340(i16v) |
| 427: 27(int) Bitcast 426 |
| Store 425(i32) 427 |
| 432: 429(ivec4) Load 431(i16v4) |
| 433: 69(int) Bitcast 432 |
| Store 428(i64) 433 |
| 436: 49(ivec2) Load 435(u16v2) |
| 437: 17(int) Bitcast 436 |
| Store 434(u32) 437 |
| 443: 440(ivec4) Load 442(u16v4) |
| 444: 75(int) Bitcast 443 |
| Store 439(u64) 444 |
| 445: 27(int) Load 425(i32) |
| 446: 52(ivec2) Bitcast 445 |
| Store 340(i16v) 446 |
| 447: 69(int) Load 428(i64) |
| 448: 429(ivec4) Bitcast 447 |
| Store 431(i16v4) 448 |
| 449: 17(int) Load 434(u32) |
| 450: 49(ivec2) Bitcast 449 |
| Store 435(u16v2) 450 |
| 451: 75(int) Load 439(u64) |
| 452: 440(ivec4) Bitcast 451 |
| Store 442(u16v4) 452 |
| 455: 190(ivec3) Load 353(u16v) |
| 456: 27(int) Load 355(u16) |
| 457: 190(ivec3) CompositeConstruct 456 456 456 |
| 458: 422(bvec3) ULessThan 455 457 |
| Store 454(bv) 458 |
| 459: 52(ivec2) Load 340(i16v) |
| 460: 14(int) Load 343(i16) |
| 461: 52(ivec2) CompositeConstruct 460 460 |
| 462: 170(bvec2) SLessThan 459 461 |
| 463: 422(bvec3) Load 454(bv) |
| 464: 422(bvec3) VectorShuffle 463 462 3 4 2 |
| Store 454(bv) 464 |
| 465: 190(ivec3) Load 353(u16v) |
| 466: 27(int) Load 355(u16) |
| 467: 190(ivec3) CompositeConstruct 466 466 466 |
| 468: 422(bvec3) ULessThanEqual 465 467 |
| Store 454(bv) 468 |
| 469: 52(ivec2) Load 340(i16v) |
| 470: 14(int) Load 343(i16) |
| 471: 52(ivec2) CompositeConstruct 470 470 |
| 472: 170(bvec2) SLessThanEqual 469 471 |
| 473: 422(bvec3) Load 454(bv) |
| 474: 422(bvec3) VectorShuffle 473 472 3 4 2 |
| Store 454(bv) 474 |
| 475: 190(ivec3) Load 353(u16v) |
| 476: 27(int) Load 355(u16) |
| 477: 190(ivec3) CompositeConstruct 476 476 476 |
| 478: 422(bvec3) UGreaterThan 475 477 |
| Store 454(bv) 478 |
| 479: 52(ivec2) Load 340(i16v) |
| 480: 14(int) Load 343(i16) |
| 481: 52(ivec2) CompositeConstruct 480 480 |
| 482: 170(bvec2) SGreaterThan 479 481 |
| 483: 422(bvec3) Load 454(bv) |
| 484: 422(bvec3) VectorShuffle 483 482 3 4 2 |
| Store 454(bv) 484 |
| 485: 190(ivec3) Load 353(u16v) |
| 486: 27(int) Load 355(u16) |
| 487: 190(ivec3) CompositeConstruct 486 486 486 |
| 488: 422(bvec3) UGreaterThanEqual 485 487 |
| Store 454(bv) 488 |
| 489: 52(ivec2) Load 340(i16v) |
| 490: 14(int) Load 343(i16) |
| 491: 52(ivec2) CompositeConstruct 490 490 |
| 492: 170(bvec2) SGreaterThanEqual 489 491 |
| 493: 422(bvec3) Load 454(bv) |
| 494: 422(bvec3) VectorShuffle 493 492 3 4 2 |
| Store 454(bv) 494 |
| 495: 190(ivec3) Load 353(u16v) |
| 496: 27(int) Load 355(u16) |
| 497: 190(ivec3) CompositeConstruct 496 496 496 |
| 498: 422(bvec3) IEqual 495 497 |
| Store 454(bv) 498 |
| 499: 52(ivec2) Load 340(i16v) |
| 500: 14(int) Load 343(i16) |
| 501: 52(ivec2) CompositeConstruct 500 500 |
| 502: 170(bvec2) IEqual 499 501 |
| 503: 422(bvec3) Load 454(bv) |
| 504: 422(bvec3) VectorShuffle 503 502 3 4 2 |
| Store 454(bv) 504 |
| 505: 190(ivec3) Load 353(u16v) |
| 506: 27(int) Load 355(u16) |
| 507: 190(ivec3) CompositeConstruct 506 506 506 |
| 508: 422(bvec3) INotEqual 505 507 |
| Store 454(bv) 508 |
| 509: 52(ivec2) Load 340(i16v) |
| 510: 14(int) Load 343(i16) |
| 511: 52(ivec2) CompositeConstruct 510 510 |
| 512: 170(bvec2) INotEqual 509 511 |
| 513: 422(bvec3) Load 454(bv) |
| 514: 422(bvec3) VectorShuffle 513 512 3 4 2 |
| Store 454(bv) 514 |
| Return |
| FunctionEnd |