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