spv.debuginfo.hlsl.comp Validation failed // Module Version 10000 // Generated by (magic number): 8000a // Id's are bound by 855 Capability Shader Extension "SPV_KHR_non_semantic_info" 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 2: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint GLCompute 5 "main" 850 ExecutionMode 5 LocalSize 10 10 1 9: String "float" 12: String "uint" 27: String "springForce" 30: String "" 39: String "p0" 43: String "p1" 47: String "restDist" 56: String "@main" 62: String "id" 67: String "dist" 78: String "int" 84: String "sphereRadius" 95: String "gravity" 100: String "particleCount" 103: String "UBO" 107: String "params" 111: String "ubo" 133: String "index" 155: String "bool" 163: String "normal" 170: String "pinned" 174: String "Particle" 180: String "@data" 184: String "particleIn" 203: String "particleOut" 222: String "force" 234: String "pos" 243: String "vel" 501: String "f" 545: String "sphereDist" 589: String "calculateNormals" 593: String "PushConstants" 597: String "pushConstants" 600: String "$Global" 630: String "a" 642: String "b" 658: String "c" Name 5 "main" Name 26 "springForce(vf3;vf3;f1;" Name 23 "p0" Name 24 "p1" Name 25 "restDist" Name 55 "@main(vu3;" Name 54 "id" Name 65 "dist" Name 82 "UBO" MemberName 82(UBO) 0 "deltaT" MemberName 82(UBO) 1 "particleMass" MemberName 82(UBO) 2 "springStiffness" MemberName 82(UBO) 3 "damping" MemberName 82(UBO) 4 "restDistH" MemberName 82(UBO) 5 "restDistV" MemberName 82(UBO) 6 "restDistD" MemberName 82(UBO) 7 "sphereRadius" MemberName 82(UBO) 8 "spherePos" MemberName 82(UBO) 9 "gravity" MemberName 82(UBO) 10 "particleCount" Name 105 "ubo" MemberName 105(ubo) 0 "params" Name 113 "" Name 131 "index" Name 161 "Particle" MemberName 161(Particle) 0 "pos" MemberName 161(Particle) 1 "vel" MemberName 161(Particle) 2 "uv" MemberName 161(Particle) 3 "normal" MemberName 161(Particle) 4 "pinned" Name 178 "particleIn" MemberName 178(particleIn) 0 "@data" Name 186 "particleIn" Name 199 "particleOut" MemberName 199(particleOut) 0 "@data" Name 206 "particleOut" Name 220 "force" Name 232 "pos" Name 241 "vel" Name 258 "param" Name 262 "param" Name 264 "param" Name 283 "param" Name 287 "param" Name 289 "param" Name 312 "param" Name 316 "param" Name 318 "param" Name 336 "param" Name 340 "param" Name 342 "param" Name 372 "param" Name 376 "param" Name 378 "param" Name 403 "param" Name 407 "param" Name 409 "param" Name 442 "param" Name 446 "param" Name 448 "param" Name 477 "param" Name 481 "param" Name 483 "param" Name 499 "f" Name 543 "sphereDist" Name 587 "PushConstants" MemberName 587(PushConstants) 0 "calculateNormals" Name 595 "$Global" MemberName 595($Global) 0 "pushConstants" Name 602 "" Name 611 "normal" Name 628 "a" Name 640 "b" Name 656 "c" Name 848 "id" Name 850 "id" Name 852 "param" MemberDecorate 82(UBO) 0 Offset 0 MemberDecorate 82(UBO) 1 Offset 4 MemberDecorate 82(UBO) 2 Offset 8 MemberDecorate 82(UBO) 3 Offset 12 MemberDecorate 82(UBO) 4 Offset 16 MemberDecorate 82(UBO) 5 Offset 20 MemberDecorate 82(UBO) 6 Offset 24 MemberDecorate 82(UBO) 7 Offset 28 MemberDecorate 82(UBO) 8 Offset 32 MemberDecorate 82(UBO) 9 Offset 48 MemberDecorate 82(UBO) 10 Offset 64 MemberDecorate 105(ubo) 0 Offset 0 Decorate 105(ubo) Block Decorate 113 DescriptorSet 0 Decorate 113 Binding 2 MemberDecorate 161(Particle) 0 Offset 0 MemberDecorate 161(Particle) 1 Offset 16 MemberDecorate 161(Particle) 2 Offset 32 MemberDecorate 161(Particle) 3 Offset 48 MemberDecorate 161(Particle) 4 Offset 64 Decorate 176 ArrayStride 80 MemberDecorate 178(particleIn) 0 NonWritable MemberDecorate 178(particleIn) 0 Offset 0 Decorate 178(particleIn) BufferBlock Decorate 186(particleIn) DescriptorSet 0 Decorate 186(particleIn) Binding 0 Decorate 197 ArrayStride 80 MemberDecorate 199(particleOut) 0 Offset 0 Decorate 199(particleOut) BufferBlock Decorate 206(particleOut) DescriptorSet 0 Decorate 206(particleOut) Binding 1 MemberDecorate 587(PushConstants) 0 Offset 0 MemberDecorate 595($Global) 0 Offset 0 Decorate 595($Global) Block Decorate 602 DescriptorSet 0 Decorate 602 Binding 3 Decorate 850(id) BuiltIn GlobalInvocationId 3: TypeVoid 4: TypeFunction 3 7: TypeFloat 32 10: TypeInt 32 0 13: 10(int) Constant 32 14: 10(int) Constant 6 15: 10(int) Constant 0 11: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 12 13 14 15 16: 10(int) Constant 3 8: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 9 13 16 15 17: TypeVector 7(float) 3 18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 8 16 19: TypePointer Function 17(fvec3) 20: TypePointer Function 7(float) 21: TypeFunction 17(fvec3) 19(ptr) 19(ptr) 20(ptr) 22: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 18 18 18 8 29: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 30 32: 10(int) Constant 1 33: 10(int) Constant 4 34: 10(int) Constant 5 31: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 32 33 29 34 28: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 27 22 29 15 15 31 27 16 15 38: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 39 18 29 15 15 28 33 32 41: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt) 44: 10(int) Constant 2 42: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 43 18 29 15 15 28 33 44 46: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 47 8 29 15 15 28 33 16 49: TypeVector 10(int) 3 50: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 11 16 51: TypePointer Function 49(ivec3) 52: TypeFunction 3 51(ptr) 53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 3 50 57: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 56 53 29 15 15 31 56 16 15 61: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 62 50 29 15 15 57 33 32 68: 10(int) Constant 76 66: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 67 18 29 68 15 28 33 75: TypeVector 7(float) 4 76: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 8 33 77: TypeInt 32 1 79: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 78 13 33 15 80: TypeVector 77(int) 2 81: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 79 44 82(UBO): TypeStruct 7(float) 7(float) 7(float) 7(float) 7(float) 7(float) 7(float) 7(float) 75(fvec4) 75(fvec4) 80(ivec2) 85: 10(int) Constant 48 86: 10(int) Constant 20 83: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 8 29 85 86 15 15 16 87: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 8 29 85 86 15 15 16 88: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 8 29 85 86 15 15 16 89: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 8 29 85 86 15 15 16 90: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 8 29 85 86 15 15 16 91: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 8 29 85 86 15 15 16 92: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 8 29 85 86 15 15 16 93: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 8 29 85 86 15 15 16 96: 10(int) Constant 50 97: 10(int) Constant 16 94: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 95 76 29 96 97 15 15 16 98: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 95 76 29 96 97 15 15 16 101: 10(int) Constant 51 99: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 100 81 29 101 86 15 15 16 104: 10(int) Constant 77 102: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 103 32 29 104 15 31 103 15 16 83 87 88 89 90 91 92 93 94 98 99 105(ubo): TypeStruct 82(UBO) 108: 10(int) Constant 56 109: 10(int) Constant 12 106: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 107 102 29 108 109 15 15 16 110: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 111 32 29 104 15 31 111 15 16 106 112: TypePointer Uniform 105(ubo) 113: 112(ptr) Variable Uniform 115: 10(int) Constant 8 114: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 30 110 29 104 15 31 30 113 115 116: 77(int) Constant 0 117: 77(int) Constant 2 118: TypePointer Uniform 7(float) 130: TypePointer Function 10(int) 134: 10(int) Constant 83 132: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 133 11 29 134 15 57 33 137: 77(int) Constant 10 138: TypePointer Uniform 77(int) 154: TypeBool 156: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 161(Particle): TypeStruct 75(fvec4) 75(fvec4) 75(fvec4) 75(fvec4) 7(float) 164: 10(int) Constant 30 165: 10(int) Constant 15 162: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 163 76 29 164 165 15 15 16 166: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 163 76 29 164 165 15 15 16 167: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 163 76 29 164 165 15 15 16 168: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 163 76 29 164 165 15 15 16 171: 10(int) Constant 31 172: 10(int) Constant 14 169: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 170 8 29 171 172 15 15 16 175: 10(int) Constant 88 173: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 174 32 29 175 15 31 174 15 16 162 166 167 168 169 176: TypeRuntimeArray 161(Particle) 177: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 173 15 178(particleIn): TypeStruct 176 181: 10(int) Constant 35 182: 10(int) Constant 28 179: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 180 177 29 181 182 15 15 16 183: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 184 32 29 175 15 31 184 15 16 179 185: TypePointer Uniform 178(particleIn) 186(particleIn): 185(ptr) Variable Uniform 187: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 184 183 29 175 15 31 184 186(particleIn) 115 189: 77(int) Constant 4 192: 7(float) Constant 1065353216 193: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 197: TypeRuntimeArray 161(Particle) 198: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 173 15 199(particleOut): TypeStruct 197 201: 10(int) Constant 37 200: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 180 198 29 201 164 15 15 16 204: 10(int) Constant 89 202: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 203 32 29 204 15 31 203 15 16 200 205: TypePointer Uniform 199(particleOut) 206(particleOut): 205(ptr) Variable Uniform 207: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 203 202 29 204 15 31 203 206(particleOut) 115 210: TypePointer Uniform 75(fvec4) 215: 77(int) Constant 1 216: 7(float) Constant 0 217: 75(fvec4) ConstantComposite 216 216 216 216 223: 10(int) Constant 95 221: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 222 18 29 223 15 57 33 224: 77(int) Constant 9 235: 10(int) Constant 97 233: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 234 18 29 235 15 57 33 244: 10(int) Constant 98 242: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 243 18 29 244 15 57 33 252: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 277: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 302: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 311: 77(int) Constant 5 327: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 351: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 359: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 361: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 371: 77(int) Constant 6 387: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 391: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 393: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 422: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 430: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 432: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 461: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 465: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 467: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 490: 77(int) Constant 3 502: 10(int) Constant 137 500: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 501 18 29 502 15 57 33 516: 7(float) Constant 1056964608 546: 10(int) Constant 142 544: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 545 18 29 546 15 57 33 551: 77(int) Constant 8 559: 77(int) Constant 7 562: 7(float) Constant 1008981770 564: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 587(PushConstants): TypeStruct 10(int) 590: 10(int) Constant 67 591: 10(int) Constant 23 588: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 589 11 29 590 591 15 15 16 594: 10(int) Constant 151 592: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 593 32 29 594 15 31 593 15 16 588 595($Global): TypeStruct 587(PushConstants) 598: 10(int) Constant 71 596: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 597 592 29 598 165 15 15 16 599: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 600 32 29 594 15 31 600 15 16 596 601: TypePointer Uniform 595($Global) 602: 601(ptr) Variable Uniform 603: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 30 599 29 594 15 31 30 602 115 604: TypePointer Uniform 10(int) 607: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 613: 10(int) Constant 152 612: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 163 18 29 613 15 57 33 614: 17(fvec3) ConstantComposite 216 216 216 618: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 624: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 631: 10(int) Constant 156 629: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 630 18 29 631 15 57 33 643: 10(int) Constant 157 641: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 642 18 29 643 15 57 33 659: 10(int) Constant 158 657: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 658 18 29 659 15 57 33 687: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 738: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 744: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 795: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 155 13 44 15 849: TypePointer Input 49(ivec3) 850(id): 849(ptr) Variable Input 5(main): 3 Function None 4 6: Label 848(id): 51(ptr) Variable Function 852(param): 51(ptr) Variable Function 851: 49(ivec3) Load 850(id) Store 848(id) 851 853: 49(ivec3) Load 848(id) Store 852(param) 853 854: 3 FunctionCall 55(@main(vu3;) 852(param) Return FunctionEnd 26(springForce(vf3;vf3;f1;): 17(fvec3) Function None 21 23(p0): 19(ptr) FunctionParameter 24(p1): 19(ptr) FunctionParameter 25(restDist): 20(ptr) FunctionParameter 35: Label 65(dist): 19(ptr) Variable Function 36: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 28 37: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 29 15 15 15 15 40: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 38 23(p0) 41 45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 42 24(p1) 41 48: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 46 25(restDist) 41 64: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 28 26(springForce(vf3;vf3;f1;) 69: 17(fvec3) Load 23(p0) 70: 17(fvec3) Load 24(p1) 71: 17(fvec3) FSub 69 70 Store 65(dist) 71 72: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 66 71 41 73: 17(fvec3) Load 65(dist) 74: 17(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 73 119: 118(ptr) AccessChain 113 116 117 120: 7(float) Load 119 121: 17(fvec3) VectorTimesScalar 74 120 122: 17(fvec3) Load 65(dist) 123: 7(float) ExtInst 2(GLSL.std.450) 66(Length) 122 124: 7(float) Load 25(restDist) 125: 7(float) FSub 123 124 126: 17(fvec3) VectorTimesScalar 121 125 ReturnValue 126 FunctionEnd 55(@main(vu3;): 3 Function None 52 54(id): 51(ptr) FunctionParameter 58: Label 131(index): 130(ptr) Variable Function 220(force): 19(ptr) Variable Function 232(pos): 19(ptr) Variable Function 241(vel): 19(ptr) Variable Function 258(param): 19(ptr) Variable Function 262(param): 19(ptr) Variable Function 264(param): 20(ptr) Variable Function 283(param): 19(ptr) Variable Function 287(param): 19(ptr) Variable Function 289(param): 20(ptr) Variable Function 312(param): 19(ptr) Variable Function 316(param): 19(ptr) Variable Function 318(param): 20(ptr) Variable Function 336(param): 19(ptr) Variable Function 340(param): 19(ptr) Variable Function 342(param): 20(ptr) Variable Function 372(param): 19(ptr) Variable Function 376(param): 19(ptr) Variable Function 378(param): 20(ptr) Variable Function 403(param): 19(ptr) Variable Function 407(param): 19(ptr) Variable Function 409(param): 20(ptr) Variable Function 442(param): 19(ptr) Variable Function 446(param): 19(ptr) Variable Function 448(param): 20(ptr) Variable Function 477(param): 19(ptr) Variable Function 481(param): 19(ptr) Variable Function 483(param): 20(ptr) Variable Function 499(f): 19(ptr) Variable Function 543(sphereDist): 19(ptr) Variable Function 611(normal): 19(ptr) Variable Function 628(a): 19(ptr) Variable Function 640(b): 19(ptr) Variable Function 656(c): 19(ptr) Variable Function 59: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 57 60: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 29 15 15 15 15 63: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 61 54(id) 41 129: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 57 55(@main(vu3;) 135: 130(ptr) AccessChain 54(id) 32 136: 10(int) Load 135 139: 138(ptr) AccessChain 113 116 137 15 140: 77(int) Load 139 141: 10(int) Bitcast 140 142: 10(int) IMul 136 141 143: 130(ptr) AccessChain 54(id) 15 144: 10(int) Load 143 145: 10(int) IAdd 142 144 Store 131(index) 145 146: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 132 145 41 147: 10(int) Load 131(index) 148: 138(ptr) AccessChain 113 116 137 15 149: 77(int) Load 148 150: 138(ptr) AccessChain 113 116 137 32 151: 77(int) Load 150 152: 77(int) IMul 149 151 153: 10(int) Bitcast 152 157: 154(bool) UGreaterThan 147 153 SelectionMerge 159 None BranchConditional 157 158 159 158: Label Return 159: Label 188: 10(int) Load 131(index) 190: 118(ptr) AccessChain 186(particleIn) 116 188 189 191: 7(float) Load 190 194: 154(bool) FOrdEqual 191 192 SelectionMerge 196 None BranchConditional 194 195 196 195: Label 208: 10(int) Load 131(index) 209: 10(int) Load 131(index) 211: 210(ptr) AccessChain 206(particleOut) 116 209 116 212: 75(fvec4) Load 211 213: 210(ptr) AccessChain 206(particleOut) 116 208 116 Store 213 212 214: 10(int) Load 131(index) 218: 210(ptr) AccessChain 206(particleOut) 116 214 215 Store 218 217 Return 196: Label 225: 210(ptr) AccessChain 113 116 224 226: 75(fvec4) Load 225 227: 17(fvec3) VectorShuffle 226 226 0 1 2 228: 118(ptr) AccessChain 113 116 215 229: 7(float) Load 228 230: 17(fvec3) VectorTimesScalar 227 229 Store 220(force) 230 231: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 230 41 236: 10(int) Load 131(index) 237: 210(ptr) AccessChain 186(particleIn) 116 236 116 238: 75(fvec4) Load 237 239: 17(fvec3) VectorShuffle 238 238 0 1 2 Store 232(pos) 239 240: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 233 239 41 245: 10(int) Load 131(index) 246: 210(ptr) AccessChain 186(particleIn) 116 245 215 247: 75(fvec4) Load 246 248: 17(fvec3) VectorShuffle 247 247 0 1 2 Store 241(vel) 248 249: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 242 248 41 250: 130(ptr) AccessChain 54(id) 15 251: 10(int) Load 250 253: 154(bool) UGreaterThan 251 15 SelectionMerge 255 None BranchConditional 253 254 255 254: Label 256: 10(int) Load 131(index) 257: 10(int) ISub 256 32 259: 210(ptr) AccessChain 186(particleIn) 116 257 116 260: 75(fvec4) Load 259 261: 17(fvec3) VectorShuffle 260 260 0 1 2 Store 258(param) 261 263: 17(fvec3) Load 232(pos) Store 262(param) 263 265: 118(ptr) AccessChain 113 116 189 266: 7(float) Load 265 Store 264(param) 266 267: 17(fvec3) FunctionCall 26(springForce(vf3;vf3;f1;) 258(param) 262(param) 264(param) 268: 17(fvec3) Load 220(force) 269: 17(fvec3) FAdd 268 267 Store 220(force) 269 270: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 269 41 Branch 255 255: Label 271: 130(ptr) AccessChain 54(id) 15 272: 10(int) Load 271 273: 138(ptr) AccessChain 113 116 137 15 274: 77(int) Load 273 275: 77(int) ISub 274 215 276: 10(int) Bitcast 275 278: 154(bool) ULessThan 272 276 SelectionMerge 280 None BranchConditional 278 279 280 279: Label 281: 10(int) Load 131(index) 282: 10(int) IAdd 281 32 284: 210(ptr) AccessChain 186(particleIn) 116 282 116 285: 75(fvec4) Load 284 286: 17(fvec3) VectorShuffle 285 285 0 1 2 Store 283(param) 286 288: 17(fvec3) Load 232(pos) Store 287(param) 288 290: 118(ptr) AccessChain 113 116 189 291: 7(float) Load 290 Store 289(param) 291 292: 17(fvec3) FunctionCall 26(springForce(vf3;vf3;f1;) 283(param) 287(param) 289(param) 293: 17(fvec3) Load 220(force) 294: 17(fvec3) FAdd 293 292 Store 220(force) 294 295: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 294 41 Branch 280 280: Label 296: 130(ptr) AccessChain 54(id) 32 297: 10(int) Load 296 298: 138(ptr) AccessChain 113 116 137 32 299: 77(int) Load 298 300: 77(int) ISub 299 215 301: 10(int) Bitcast 300 303: 154(bool) ULessThan 297 301 SelectionMerge 305 None BranchConditional 303 304 305 304: Label 306: 10(int) Load 131(index) 307: 138(ptr) AccessChain 113 116 137 15 308: 77(int) Load 307 309: 10(int) Bitcast 308 310: 10(int) IAdd 306 309 313: 210(ptr) AccessChain 186(particleIn) 116 310 116 314: 75(fvec4) Load 313 315: 17(fvec3) VectorShuffle 314 314 0 1 2 Store 312(param) 315 317: 17(fvec3) Load 232(pos) Store 316(param) 317 319: 118(ptr) AccessChain 113 116 311 320: 7(float) Load 319 Store 318(param) 320 321: 17(fvec3) FunctionCall 26(springForce(vf3;vf3;f1;) 312(param) 316(param) 318(param) 322: 17(fvec3) Load 220(force) 323: 17(fvec3) FAdd 322 321 Store 220(force) 323 324: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 323 41 Branch 305 305: Label 325: 130(ptr) AccessChain 54(id) 32 326: 10(int) Load 325 328: 154(bool) UGreaterThan 326 15 SelectionMerge 330 None BranchConditional 328 329 330 329: Label 331: 10(int) Load 131(index) 332: 138(ptr) AccessChain 113 116 137 15 333: 77(int) Load 332 334: 10(int) Bitcast 333 335: 10(int) ISub 331 334 337: 210(ptr) AccessChain 186(particleIn) 116 335 116 338: 75(fvec4) Load 337 339: 17(fvec3) VectorShuffle 338 338 0 1 2 Store 336(param) 339 341: 17(fvec3) Load 232(pos) Store 340(param) 341 343: 118(ptr) AccessChain 113 116 311 344: 7(float) Load 343 Store 342(param) 344 345: 17(fvec3) FunctionCall 26(springForce(vf3;vf3;f1;) 336(param) 340(param) 342(param) 346: 17(fvec3) Load 220(force) 347: 17(fvec3) FAdd 346 345 Store 220(force) 347 348: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 347 41 Branch 330 330: Label 349: 130(ptr) AccessChain 54(id) 15 350: 10(int) Load 349 352: 154(bool) UGreaterThan 350 15 353: 130(ptr) AccessChain 54(id) 32 354: 10(int) Load 353 355: 138(ptr) AccessChain 113 116 137 32 356: 77(int) Load 355 357: 77(int) ISub 356 215 358: 10(int) Bitcast 357 360: 154(bool) ULessThan 354 358 362: 154(bool) LogicalAnd 352 360 SelectionMerge 364 None BranchConditional 362 363 364 363: Label 365: 10(int) Load 131(index) 366: 138(ptr) AccessChain 113 116 137 15 367: 77(int) Load 366 368: 10(int) Bitcast 367 369: 10(int) IAdd 365 368 370: 10(int) ISub 369 32 373: 210(ptr) AccessChain 186(particleIn) 116 370 116 374: 75(fvec4) Load 373 375: 17(fvec3) VectorShuffle 374 374 0 1 2 Store 372(param) 375 377: 17(fvec3) Load 232(pos) Store 376(param) 377 379: 118(ptr) AccessChain 113 116 371 380: 7(float) Load 379 Store 378(param) 380 381: 17(fvec3) FunctionCall 26(springForce(vf3;vf3;f1;) 372(param) 376(param) 378(param) 382: 17(fvec3) Load 220(force) 383: 17(fvec3) FAdd 382 381 Store 220(force) 383 384: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 383 41 Branch 364 364: Label 385: 130(ptr) AccessChain 54(id) 15 386: 10(int) Load 385 388: 154(bool) UGreaterThan 386 15 389: 130(ptr) AccessChain 54(id) 32 390: 10(int) Load 389 392: 154(bool) UGreaterThan 390 15 394: 154(bool) LogicalAnd 388 392 SelectionMerge 396 None BranchConditional 394 395 396 395: Label 397: 10(int) Load 131(index) 398: 138(ptr) AccessChain 113 116 137 15 399: 77(int) Load 398 400: 10(int) Bitcast 399 401: 10(int) ISub 397 400 402: 10(int) ISub 401 32 404: 210(ptr) AccessChain 186(particleIn) 116 402 116 405: 75(fvec4) Load 404 406: 17(fvec3) VectorShuffle 405 405 0 1 2 Store 403(param) 406 408: 17(fvec3) Load 232(pos) Store 407(param) 408 410: 118(ptr) AccessChain 113 116 371 411: 7(float) Load 410 Store 409(param) 411 412: 17(fvec3) FunctionCall 26(springForce(vf3;vf3;f1;) 403(param) 407(param) 409(param) 413: 17(fvec3) Load 220(force) 414: 17(fvec3) FAdd 413 412 Store 220(force) 414 415: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 414 41 Branch 396 396: Label 416: 130(ptr) AccessChain 54(id) 15 417: 10(int) Load 416 418: 138(ptr) AccessChain 113 116 137 15 419: 77(int) Load 418 420: 77(int) ISub 419 215 421: 10(int) Bitcast 420 423: 154(bool) ULessThan 417 421 424: 130(ptr) AccessChain 54(id) 32 425: 10(int) Load 424 426: 138(ptr) AccessChain 113 116 137 32 427: 77(int) Load 426 428: 77(int) ISub 427 215 429: 10(int) Bitcast 428 431: 154(bool) ULessThan 425 429 433: 154(bool) LogicalAnd 423 431 SelectionMerge 435 None BranchConditional 433 434 435 434: Label 436: 10(int) Load 131(index) 437: 138(ptr) AccessChain 113 116 137 15 438: 77(int) Load 437 439: 10(int) Bitcast 438 440: 10(int) IAdd 436 439 441: 10(int) IAdd 440 32 443: 210(ptr) AccessChain 186(particleIn) 116 441 116 444: 75(fvec4) Load 443 445: 17(fvec3) VectorShuffle 444 444 0 1 2 Store 442(param) 445 447: 17(fvec3) Load 232(pos) Store 446(param) 447 449: 118(ptr) AccessChain 113 116 371 450: 7(float) Load 449 Store 448(param) 450 451: 17(fvec3) FunctionCall 26(springForce(vf3;vf3;f1;) 442(param) 446(param) 448(param) 452: 17(fvec3) Load 220(force) 453: 17(fvec3) FAdd 452 451 Store 220(force) 453 454: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 453 41 Branch 435 435: Label 455: 130(ptr) AccessChain 54(id) 15 456: 10(int) Load 455 457: 138(ptr) AccessChain 113 116 137 15 458: 77(int) Load 457 459: 77(int) ISub 458 215 460: 10(int) Bitcast 459 462: 154(bool) ULessThan 456 460 463: 130(ptr) AccessChain 54(id) 32 464: 10(int) Load 463 466: 154(bool) UGreaterThan 464 15 468: 154(bool) LogicalAnd 462 466 SelectionMerge 470 None BranchConditional 468 469 470 469: Label 471: 10(int) Load 131(index) 472: 138(ptr) AccessChain 113 116 137 15 473: 77(int) Load 472 474: 10(int) Bitcast 473 475: 10(int) ISub 471 474 476: 10(int) IAdd 475 32 478: 210(ptr) AccessChain 186(particleIn) 116 476 116 479: 75(fvec4) Load 478 480: 17(fvec3) VectorShuffle 479 479 0 1 2 Store 477(param) 480 482: 17(fvec3) Load 232(pos) Store 481(param) 482 484: 118(ptr) AccessChain 113 116 371 485: 7(float) Load 484 Store 483(param) 485 486: 17(fvec3) FunctionCall 26(springForce(vf3;vf3;f1;) 477(param) 481(param) 483(param) 487: 17(fvec3) Load 220(force) 488: 17(fvec3) FAdd 487 486 Store 220(force) 488 489: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 488 41 Branch 470 470: Label 491: 118(ptr) AccessChain 113 116 490 492: 7(float) Load 491 493: 7(float) FNegate 492 494: 17(fvec3) Load 241(vel) 495: 17(fvec3) VectorTimesScalar 494 493 496: 17(fvec3) Load 220(force) 497: 17(fvec3) FAdd 496 495 Store 220(force) 497 498: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 221 497 41 503: 17(fvec3) Load 220(force) 504: 118(ptr) AccessChain 113 116 215 505: 7(float) Load 504 506: 7(float) FDiv 192 505 507: 17(fvec3) VectorTimesScalar 503 506 Store 499(f) 507 508: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 500 507 41 509: 10(int) Load 131(index) 510: 17(fvec3) Load 232(pos) 511: 17(fvec3) Load 241(vel) 512: 118(ptr) AccessChain 113 116 116 513: 7(float) Load 512 514: 17(fvec3) VectorTimesScalar 511 513 515: 17(fvec3) FAdd 510 514 517: 17(fvec3) Load 499(f) 518: 17(fvec3) VectorTimesScalar 517 516 519: 118(ptr) AccessChain 113 116 116 520: 7(float) Load 519 521: 17(fvec3) VectorTimesScalar 518 520 522: 118(ptr) AccessChain 113 116 116 523: 7(float) Load 522 524: 17(fvec3) VectorTimesScalar 521 523 525: 17(fvec3) FAdd 515 524 526: 7(float) CompositeExtract 525 0 527: 7(float) CompositeExtract 525 1 528: 7(float) CompositeExtract 525 2 529: 75(fvec4) CompositeConstruct 526 527 528 192 530: 210(ptr) AccessChain 206(particleOut) 116 509 116 Store 530 529 531: 10(int) Load 131(index) 532: 17(fvec3) Load 241(vel) 533: 17(fvec3) Load 499(f) 534: 118(ptr) AccessChain 113 116 116 535: 7(float) Load 534 536: 17(fvec3) VectorTimesScalar 533 535 537: 17(fvec3) FAdd 532 536 538: 7(float) CompositeExtract 537 0 539: 7(float) CompositeExtract 537 1 540: 7(float) CompositeExtract 537 2 541: 75(fvec4) CompositeConstruct 538 539 540 216 542: 210(ptr) AccessChain 206(particleOut) 116 531 215 Store 542 541 547: 10(int) Load 131(index) 548: 210(ptr) AccessChain 206(particleOut) 116 547 116 549: 75(fvec4) Load 548 550: 17(fvec3) VectorShuffle 549 549 0 1 2 552: 210(ptr) AccessChain 113 116 551 553: 75(fvec4) Load 552 554: 17(fvec3) VectorShuffle 553 553 0 1 2 555: 17(fvec3) FSub 550 554 Store 543(sphereDist) 555 556: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 544 555 41 557: 17(fvec3) Load 543(sphereDist) 558: 7(float) ExtInst 2(GLSL.std.450) 66(Length) 557 560: 118(ptr) AccessChain 113 116 559 561: 7(float) Load 560 563: 7(float) FAdd 561 562 565: 154(bool) FOrdLessThan 558 563 SelectionMerge 567 None BranchConditional 565 566 567 566: Label 568: 10(int) Load 131(index) 569: 210(ptr) AccessChain 113 116 551 570: 75(fvec4) Load 569 571: 17(fvec3) VectorShuffle 570 570 0 1 2 572: 17(fvec3) Load 543(sphereDist) 573: 17(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 572 574: 118(ptr) AccessChain 113 116 559 575: 7(float) Load 574 576: 7(float) FAdd 575 562 577: 17(fvec3) VectorTimesScalar 573 576 578: 17(fvec3) FAdd 571 577 579: 118(ptr) AccessChain 206(particleOut) 116 568 116 15 580: 7(float) CompositeExtract 578 0 Store 579 580 581: 118(ptr) AccessChain 206(particleOut) 116 568 116 32 582: 7(float) CompositeExtract 578 1 Store 581 582 583: 118(ptr) AccessChain 206(particleOut) 116 568 116 44 584: 7(float) CompositeExtract 578 2 Store 583 584 585: 10(int) Load 131(index) 586: 210(ptr) AccessChain 206(particleOut) 116 585 215 Store 586 217 Branch 567 567: Label 605: 604(ptr) AccessChain 602 116 116 606: 10(int) Load 605 608: 154(bool) IEqual 606 32 SelectionMerge 610 None BranchConditional 608 609 610 609: Label Store 611(normal) 614 615: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 612 614 41 616: 130(ptr) AccessChain 54(id) 32 617: 10(int) Load 616 619: 154(bool) UGreaterThan 617 15 SelectionMerge 621 None BranchConditional 619 620 621 620: Label 622: 130(ptr) AccessChain 54(id) 15 623: 10(int) Load 622 625: 154(bool) UGreaterThan 623 15 SelectionMerge 627 None BranchConditional 625 626 627 626: Label 632: 10(int) Load 131(index) 633: 10(int) ISub 632 32 634: 210(ptr) AccessChain 186(particleIn) 116 633 116 635: 75(fvec4) Load 634 636: 17(fvec3) VectorShuffle 635 635 0 1 2 637: 17(fvec3) Load 232(pos) 638: 17(fvec3) FSub 636 637 Store 628(a) 638 639: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 629 638 41 644: 10(int) Load 131(index) 645: 138(ptr) AccessChain 113 116 137 15 646: 77(int) Load 645 647: 10(int) Bitcast 646 648: 10(int) ISub 644 647 649: 10(int) ISub 648 32 650: 210(ptr) AccessChain 186(particleIn) 116 649 116 651: 75(fvec4) Load 650 652: 17(fvec3) VectorShuffle 651 651 0 1 2 653: 17(fvec3) Load 232(pos) 654: 17(fvec3) FSub 652 653 Store 640(b) 654 655: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 641 654 41 660: 10(int) Load 131(index) 661: 138(ptr) AccessChain 113 116 137 15 662: 77(int) Load 661 663: 10(int) Bitcast 662 664: 10(int) ISub 660 663 665: 210(ptr) AccessChain 186(particleIn) 116 664 116 666: 75(fvec4) Load 665 667: 17(fvec3) VectorShuffle 666 666 0 1 2 668: 17(fvec3) Load 232(pos) 669: 17(fvec3) FSub 667 668 Store 656(c) 669 670: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 657 669 41 671: 17(fvec3) Load 628(a) 672: 17(fvec3) Load 640(b) 673: 17(fvec3) ExtInst 2(GLSL.std.450) 68(Cross) 671 672 674: 17(fvec3) Load 640(b) 675: 17(fvec3) Load 656(c) 676: 17(fvec3) ExtInst 2(GLSL.std.450) 68(Cross) 674 675 677: 17(fvec3) FAdd 673 676 678: 17(fvec3) Load 611(normal) 679: 17(fvec3) FAdd 678 677 Store 611(normal) 679 680: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 612 679 41 Branch 627 627: Label 681: 130(ptr) AccessChain 54(id) 15 682: 10(int) Load 681 683: 138(ptr) AccessChain 113 116 137 15 684: 77(int) Load 683 685: 77(int) ISub 684 215 686: 10(int) Bitcast 685 688: 154(bool) ULessThan 682 686 SelectionMerge 690 None BranchConditional 688 689 690 689: Label 691: 10(int) Load 131(index) 692: 138(ptr) AccessChain 113 116 137 15 693: 77(int) Load 692 694: 10(int) Bitcast 693 695: 10(int) ISub 691 694 696: 210(ptr) AccessChain 186(particleIn) 116 695 116 697: 75(fvec4) Load 696 698: 17(fvec3) VectorShuffle 697 697 0 1 2 699: 17(fvec3) Load 232(pos) 700: 17(fvec3) FSub 698 699 Store 628(a) 700 701: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 629 700 41 702: 10(int) Load 131(index) 703: 138(ptr) AccessChain 113 116 137 15 704: 77(int) Load 703 705: 10(int) Bitcast 704 706: 10(int) ISub 702 705 707: 10(int) IAdd 706 32 708: 210(ptr) AccessChain 186(particleIn) 116 707 116 709: 75(fvec4) Load 708 710: 17(fvec3) VectorShuffle 709 709 0 1 2 711: 17(fvec3) Load 232(pos) 712: 17(fvec3) FSub 710 711 Store 640(b) 712 713: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 641 712 41 714: 10(int) Load 131(index) 715: 10(int) IAdd 714 32 716: 210(ptr) AccessChain 186(particleIn) 116 715 116 717: 75(fvec4) Load 716 718: 17(fvec3) VectorShuffle 717 717 0 1 2 719: 17(fvec3) Load 232(pos) 720: 17(fvec3) FSub 718 719 Store 656(c) 720 721: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 657 720 41 722: 17(fvec3) Load 628(a) 723: 17(fvec3) Load 640(b) 724: 17(fvec3) ExtInst 2(GLSL.std.450) 68(Cross) 722 723 725: 17(fvec3) Load 640(b) 726: 17(fvec3) Load 656(c) 727: 17(fvec3) ExtInst 2(GLSL.std.450) 68(Cross) 725 726 728: 17(fvec3) FAdd 724 727 729: 17(fvec3) Load 611(normal) 730: 17(fvec3) FAdd 729 728 Store 611(normal) 730 731: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 612 730 41 Branch 690 690: Label Branch 621 621: Label 732: 130(ptr) AccessChain 54(id) 32 733: 10(int) Load 732 734: 138(ptr) AccessChain 113 116 137 32 735: 77(int) Load 734 736: 77(int) ISub 735 215 737: 10(int) Bitcast 736 739: 154(bool) ULessThan 733 737 SelectionMerge 741 None BranchConditional 739 740 741 740: Label 742: 130(ptr) AccessChain 54(id) 15 743: 10(int) Load 742 745: 154(bool) UGreaterThan 743 15 SelectionMerge 747 None BranchConditional 745 746 747 746: Label 748: 10(int) Load 131(index) 749: 138(ptr) AccessChain 113 116 137 15 750: 77(int) Load 749 751: 10(int) Bitcast 750 752: 10(int) IAdd 748 751 753: 210(ptr) AccessChain 186(particleIn) 116 752 116 754: 75(fvec4) Load 753 755: 17(fvec3) VectorShuffle 754 754 0 1 2 756: 17(fvec3) Load 232(pos) 757: 17(fvec3) FSub 755 756 Store 628(a) 757 758: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 629 757 41 759: 10(int) Load 131(index) 760: 138(ptr) AccessChain 113 116 137 15 761: 77(int) Load 760 762: 10(int) Bitcast 761 763: 10(int) IAdd 759 762 764: 10(int) ISub 763 32 765: 210(ptr) AccessChain 186(particleIn) 116 764 116 766: 75(fvec4) Load 765 767: 17(fvec3) VectorShuffle 766 766 0 1 2 768: 17(fvec3) Load 232(pos) 769: 17(fvec3) FSub 767 768 Store 640(b) 769 770: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 641 769 41 771: 10(int) Load 131(index) 772: 10(int) ISub 771 32 773: 210(ptr) AccessChain 186(particleIn) 116 772 116 774: 75(fvec4) Load 773 775: 17(fvec3) VectorShuffle 774 774 0 1 2 776: 17(fvec3) Load 232(pos) 777: 17(fvec3) FSub 775 776 Store 656(c) 777 778: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 657 777 41 779: 17(fvec3) Load 628(a) 780: 17(fvec3) Load 640(b) 781: 17(fvec3) ExtInst 2(GLSL.std.450) 68(Cross) 779 780 782: 17(fvec3) Load 640(b) 783: 17(fvec3) Load 656(c) 784: 17(fvec3) ExtInst 2(GLSL.std.450) 68(Cross) 782 783 785: 17(fvec3) FAdd 781 784 786: 17(fvec3) Load 611(normal) 787: 17(fvec3) FAdd 786 785 Store 611(normal) 787 788: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 612 787 41 Branch 747 747: Label 789: 130(ptr) AccessChain 54(id) 15 790: 10(int) Load 789 791: 138(ptr) AccessChain 113 116 137 15 792: 77(int) Load 791 793: 77(int) ISub 792 215 794: 10(int) Bitcast 793 796: 154(bool) ULessThan 790 794 SelectionMerge 798 None BranchConditional 796 797 798 797: Label 799: 10(int) Load 131(index) 800: 10(int) IAdd 799 32 801: 210(ptr) AccessChain 186(particleIn) 116 800 116 802: 75(fvec4) Load 801 803: 17(fvec3) VectorShuffle 802 802 0 1 2 804: 17(fvec3) Load 232(pos) 805: 17(fvec3) FSub 803 804 Store 628(a) 805 806: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 629 805 41 807: 10(int) Load 131(index) 808: 138(ptr) AccessChain 113 116 137 15 809: 77(int) Load 808 810: 10(int) Bitcast 809 811: 10(int) IAdd 807 810 812: 10(int) IAdd 811 32 813: 210(ptr) AccessChain 186(particleIn) 116 812 116 814: 75(fvec4) Load 813 815: 17(fvec3) VectorShuffle 814 814 0 1 2 816: 17(fvec3) Load 232(pos) 817: 17(fvec3) FSub 815 816 Store 640(b) 817 818: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 641 817 41 819: 10(int) Load 131(index) 820: 138(ptr) AccessChain 113 116 137 15 821: 77(int) Load 820 822: 10(int) Bitcast 821 823: 10(int) IAdd 819 822 824: 210(ptr) AccessChain 186(particleIn) 116 823 116 825: 75(fvec4) Load 824 826: 17(fvec3) VectorShuffle 825 825 0 1 2 827: 17(fvec3) Load 232(pos) 828: 17(fvec3) FSub 826 827 Store 656(c) 828 829: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 657 828 41 830: 17(fvec3) Load 628(a) 831: 17(fvec3) Load 640(b) 832: 17(fvec3) ExtInst 2(GLSL.std.450) 68(Cross) 830 831 833: 17(fvec3) Load 640(b) 834: 17(fvec3) Load 656(c) 835: 17(fvec3) ExtInst 2(GLSL.std.450) 68(Cross) 833 834 836: 17(fvec3) FAdd 832 835 837: 17(fvec3) Load 611(normal) 838: 17(fvec3) FAdd 837 836 Store 611(normal) 838 839: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 612 838 41 Branch 798 798: Label Branch 741 741: Label 840: 10(int) Load 131(index) 841: 17(fvec3) Load 611(normal) 842: 17(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 841 843: 7(float) CompositeExtract 842 0 844: 7(float) CompositeExtract 842 1 845: 7(float) CompositeExtract 842 2 846: 75(fvec4) CompositeConstruct 843 844 845 216 847: 210(ptr) AccessChain 206(particleOut) 116 840 490 Store 847 846 Branch 610 610: Label Return FunctionEnd