spv.debuginfo.glsl.tesc // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 562 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint TessellationControl 14 "main" 259 264 293 381 396 511 527 535 552 ExecutionMode 14 OutputVertices 4 1: String "" 8: String "uint" 17: String "float" 31: String "screenSpaceTessFactor" 34: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 // OpModuleProcessed keep-uncalled // OpModuleProcessed entry-point main #line 1 " 42: String "p0" 46: String "p1" 49: String "bool" 55: String "frustumCheck" 58: String "main" 67: String "midPoint" 80: String "radius" 91: String "v0" 102: String "modelview" 106: String "lightPos" 109: String "frustumPlanes" 111: String "tessellatedEdgeSize" 116: String "viewportDim" 120: String "UBO" 125: String "ubo" 127: String "int" 140: String "clip0" 161: String "clip1" 238: String "pos" 244: String "gl_Position" 247: String "gl_PointSize" 250: String "gl_CullDistance" 254: String "gl_PerVertex" 261: String "gl_in" 266: String "gl_InvocationID" 276: String "type.2d.image" 277: String "@type.2d.image" 281: String "type.sampled.image" 282: String "@type.sampled.image" 287: String "samplerHeight" 295: String "inUV" 316: String "i" 383: String "gl_TessLevelInner" 398: String "gl_TessLevelOuter" 513: String "gl_out" 529: String "outNormal" 537: String "inNormal" 554: String "outUV" Name 14 "main" Name 29 "screenSpaceTessFactor(vf4;vf4;" Name 27 "p0" Name 28 "p1" Name 53 "frustumCheck(" Name 65 "midPoint" Name 78 "radius" Name 89 "v0" Name 100 "UBO" MemberName 100(UBO) 0 "projection" MemberName 100(UBO) 1 "modelview" MemberName 100(UBO) 2 "lightPos" MemberName 100(UBO) 3 "frustumPlanes" MemberName 100(UBO) 4 "displacementFactor" MemberName 100(UBO) 5 "tessellationFactor" MemberName 100(UBO) 6 "viewportDim" MemberName 100(UBO) 7 "tessellatedEdgeSize" Name 123 "ubo" Name 138 "clip0" Name 159 "clip1" Name 236 "pos" Name 242 "gl_PerVertex" MemberName 242(gl_PerVertex) 0 "gl_Position" MemberName 242(gl_PerVertex) 1 "gl_PointSize" MemberName 242(gl_PerVertex) 2 "gl_ClipDistance" MemberName 242(gl_PerVertex) 3 "gl_CullDistance" Name 259 "gl_in" Name 264 "gl_InvocationID" Name 285 "samplerHeight" Name 293 "inUV" Name 314 "i" Name 381 "gl_TessLevelInner" Name 396 "gl_TessLevelOuter" Name 422 "param" Name 425 "param" Name 432 "param" Name 435 "param" Name 442 "param" Name 445 "param" Name 452 "param" Name 455 "param" Name 499 "gl_PerVertex" MemberName 499(gl_PerVertex) 0 "gl_Position" MemberName 499(gl_PerVertex) 1 "gl_PointSize" MemberName 499(gl_PerVertex) 2 "gl_ClipDistance" MemberName 499(gl_PerVertex) 3 "gl_CullDistance" Name 511 "gl_out" Name 527 "outNormal" Name 535 "inNormal" Name 552 "outUV" Decorate 96 ArrayStride 16 MemberDecorate 100(UBO) 0 ColMajor MemberDecorate 100(UBO) 0 Offset 0 MemberDecorate 100(UBO) 0 MatrixStride 16 MemberDecorate 100(UBO) 1 ColMajor MemberDecorate 100(UBO) 1 Offset 64 MemberDecorate 100(UBO) 1 MatrixStride 16 MemberDecorate 100(UBO) 2 Offset 128 MemberDecorate 100(UBO) 3 Offset 144 MemberDecorate 100(UBO) 4 Offset 240 MemberDecorate 100(UBO) 5 Offset 244 MemberDecorate 100(UBO) 6 Offset 248 MemberDecorate 100(UBO) 7 Offset 256 Decorate 100(UBO) Block Decorate 123(ubo) DescriptorSet 0 Decorate 123(ubo) Binding 0 MemberDecorate 242(gl_PerVertex) 0 BuiltIn Position MemberDecorate 242(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 242(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 242(gl_PerVertex) 3 BuiltIn CullDistance Decorate 242(gl_PerVertex) Block Decorate 264(gl_InvocationID) BuiltIn InvocationId Decorate 285(samplerHeight) DescriptorSet 0 Decorate 285(samplerHeight) Binding 1 Decorate 293(inUV) Location 1 Decorate 381(gl_TessLevelInner) Patch Decorate 381(gl_TessLevelInner) BuiltIn TessLevelInner Decorate 396(gl_TessLevelOuter) Patch Decorate 396(gl_TessLevelOuter) BuiltIn TessLevelOuter MemberDecorate 499(gl_PerVertex) 0 BuiltIn Position MemberDecorate 499(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 499(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 499(gl_PerVertex) 3 BuiltIn CullDistance Decorate 499(gl_PerVertex) Block Decorate 527(outNormal) Location 0 Decorate 535(inNormal) Location 0 Decorate 552(outUV) Location 1 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 10: 7(int) Constant 32 11: 7(int) Constant 6 12: 7(int) Constant 0 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 16: TypeFloat 32 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12 19: TypeVector 16(float) 4 20: 7(int) Constant 4 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20 22: TypePointer Function 19(fvec4) 23: 7(int) Constant 7 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 23 12 25: TypeFunction 16(float) 22(ptr) 22(ptr) 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 21 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 34 35: 7(int) Constant 51 37: 7(int) Constant 1 38: 7(int) Constant 2 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 20 33 38 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 31 26 33 35 12 36 31 13 35 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 42 21 33 35 12 32 20 37 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 21 33 35 12 32 20 38 48: TypeBool 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 10 38 12 51: TypeFunction 48(bool) 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 50 57: 7(int) Constant 81 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 55 52 33 57 12 36 55 13 57 60: 7(int) Constant 98 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 58 6 33 60 12 36 58 13 60 64: 7(int) Constant 54 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 67 21 33 64 12 32 20 69: 16(float) Constant 1056964608 75: 7(int) Constant 56 76: TypePointer Function 16(float) 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 23 12 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 80 18 33 75 12 32 20 85: 16(float) Constant 1073741824 88: 7(int) Constant 59 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 91 21 33 88 12 32 20 93: TypeMatrix 19(fvec4) 4 95: 48(bool) ConstantTrue 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 95 96: TypeArray 19(fvec4) 11 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 21 11 98: TypeVector 16(float) 2 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 38 100(UBO): TypeStruct 93 93 19(fvec4) 96 16(float) 16(float) 98(fvec2) 16(float) 103: 7(int) Constant 30 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 94 33 103 23 12 12 13 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 94 33 103 23 12 12 13 107: 7(int) Constant 31 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 21 33 107 23 12 12 13 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 97 33 10 23 12 12 13 112: 7(int) Constant 36 113: 7(int) Constant 8 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 18 33 112 113 12 12 13 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 18 33 112 113 12 12 13 117: 7(int) Constant 35 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 116 99 33 117 23 12 12 13 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 18 33 112 113 12 12 13 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 120 37 33 88 12 36 120 12 13 101 104 105 108 110 114 115 118 121: TypePointer Uniform 100(UBO) 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 119 38 12 123(ubo): 121(ptr) Variable Uniform 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 119 33 88 12 36 125 123(ubo) 113 126: TypeInt 32 1 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 127 10 20 12 129: 126(int) Constant 1 130: TypePointer Uniform 93 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 38 12 137: 7(int) Constant 62 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 140 21 33 137 12 32 20 142: 126(int) Constant 0 147: TypeVector 16(float) 3 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13 149: 16(float) Constant 0 150: 147(fvec3) ConstantComposite 149 149 149 158: 7(int) Constant 63 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 21 33 158 12 32 20 174: 7(int) Constant 66 181: 7(int) Constant 67 188: 7(int) Constant 70 189: 126(int) Constant 6 190: TypePointer Uniform 98(fvec2) 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 99 38 12 202: 7(int) Constant 71 213: 7(int) Constant 76 217: 126(int) Constant 7 218: TypePointer Uniform 16(float) 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 38 12 223: 126(int) Constant 5 227: 16(float) Constant 1065353216 228: 16(float) Constant 1115684864 235: 7(int) Constant 85 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 238 21 33 235 12 56 20 240: TypeArray 16(float) 37 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 37 242(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 240 240 245: 7(int) Constant 1756 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 21 33 37 245 12 12 13 248: 7(int) Constant 1774 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 247 18 33 37 248 12 12 13 251: 7(int) Constant 1817 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 241 33 37 251 12 12 13 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 241 33 37 251 12 12 13 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 37 33 235 12 36 254 12 13 243 246 249 252 255: TypeArray 242(gl_PerVertex) 10 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 253 10 257: TypePointer Input 255 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 256 37 12 259(gl_in): 257(ptr) Variable Input 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 261 256 33 235 12 36 261 259(gl_in) 113 262: TypePointer Input 126(int) 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 128 37 12 264(gl_InvocationID): 262(ptr) Variable Input 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 266 128 33 235 12 36 266 264(gl_InvocationID) 113 268: TypePointer Input 19(fvec4) 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 37 12 273: 7(int) Constant 86 274: TypeImage 16(float) 2D sampled format:Unknown 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 276 12 33 273 12 36 277 278 13 279: TypeSampledImage 274 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 281 12 33 273 12 36 282 278 13 283: TypePointer UniformConstant 279 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 280 12 12 285(samplerHeight): 283(ptr) Variable UniformConstant 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 287 280 33 273 12 36 287 285(samplerHeight) 113 289: TypeArray 98(fvec2) 10 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 99 10 291: TypePointer Input 289 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 290 37 12 293(inUV): 291(ptr) Variable Input 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 295 290 33 273 12 36 295 293(inUV) 113 296: TypePointer Input 98(fvec2) 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 99 37 12 302: 126(int) Constant 4 311: 7(int) Constant 89 312: TypePointer Function 126(int) 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 128 23 12 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 316 128 33 311 12 56 20 331: 7(int) Constant 90 333: 126(int) Constant 3 335: TypePointer Uniform 19(fvec4) 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 38 12 340: 16(float) Constant 1090519040 345: 48(bool) ConstantFalse 348: 7(int) Constant 92 356: 7(int) Constant 95 362: 7(int) Constant 100 369: 7(int) Constant 102 376: 7(int) Constant 104 377: TypeArray 16(float) 38 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 38 379: TypePointer Output 377 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 378 13 12 381(gl_TessLevelInner): 379(ptr) Variable Output 382: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 383 378 33 376 12 36 383 381(gl_TessLevelInner) 113 384: TypePointer Output 16(float) 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 13 12 388: 7(int) Constant 105 391: 7(int) Constant 106 392: TypeArray 16(float) 20 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20 394: TypePointer Output 392 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 393 13 12 396(gl_TessLevelOuter): 394(ptr) Variable Output 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 398 393 33 391 12 36 398 396(gl_TessLevelOuter) 113 401: 7(int) Constant 107 404: 7(int) Constant 108 405: 126(int) Constant 2 408: 7(int) Constant 109 413: 7(int) Constant 113 421: 7(int) Constant 115 431: 7(int) Constant 116 441: 7(int) Constant 117 451: 7(int) Constant 118 461: 7(int) Constant 119 469: 7(int) Constant 120 479: 7(int) Constant 126 482: 7(int) Constant 127 485: 7(int) Constant 128 488: 7(int) Constant 129 491: 7(int) Constant 130 494: 7(int) Constant 131 498: 7(int) Constant 137 499(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 240 240 501: 7(int) Constant 110 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 21 33 37 501 12 12 13 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 247 18 33 37 485 12 12 13 504: 7(int) Constant 171 503: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 241 33 37 504 12 12 13 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 241 33 37 504 12 12 13 506: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 37 33 498 12 36 254 12 13 500 502 503 505 507: TypeArray 499(gl_PerVertex) 20 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 506 20 509: TypePointer Output 507 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 508 13 12 511(gl_out): 509(ptr) Variable Output 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 513 508 33 498 12 36 513 511(gl_out) 113 518: TypePointer Output 19(fvec4) 519: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 13 12 522: 7(int) Constant 138 523: TypeArray 147(fvec3) 20 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 148 20 525: TypePointer Output 523 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 524 13 12 527(outNormal): 525(ptr) Variable Output 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 529 524 33 522 12 36 529 527(outNormal) 113 531: TypeArray 147(fvec3) 10 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 148 10 533: TypePointer Input 531 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 532 37 12 535(inNormal): 533(ptr) Variable Input 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 537 532 33 522 12 36 537 535(inNormal) 113 539: TypePointer Input 147(fvec3) 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 148 37 12 543: TypePointer Output 147(fvec3) 544: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 148 13 12 547: 7(int) Constant 139 548: TypeArray 98(fvec2) 20 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 99 20 550: TypePointer Output 548 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 549 13 12 552(outUV): 550(ptr) Variable Output 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 554 549 33 547 12 36 554 552(outUV) 113 559: TypePointer Output 98(fvec2) 560: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 99 13 12 Line 1 98 11 14(main): 4 Function None 5 15: Label 422(param): 22(ptr) Variable Function 425(param): 22(ptr) Variable Function 432(param): 22(ptr) Variable Function 435(param): 22(ptr) Variable Function 442(param): 22(ptr) Variable Function 445(param): 22(ptr) Variable Function 452(param): 22(ptr) Variable Function 455(param): 22(ptr) Variable Function 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 14(main) 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 362 362 12 12 363: 126(int) Load 264(gl_InvocationID) 364: 48(bool) IEqual 363 142 SelectionMerge 366 None BranchConditional 364 365 366 365: Label 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 369 369 12 12 370: 48(bool) FunctionCall 53(frustumCheck() 371: 48(bool) LogicalNot 370 SelectionMerge 373 None BranchConditional 371 372 410 372: Label 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 376 376 12 12 386: 384(ptr) AccessChain 381(gl_TessLevelInner) 142 Store 386 149 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 388 388 12 12 389: 384(ptr) AccessChain 381(gl_TessLevelInner) 129 Store 389 149 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 391 391 12 12 399: 384(ptr) AccessChain 396(gl_TessLevelOuter) 142 Store 399 149 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 401 401 12 12 402: 384(ptr) AccessChain 396(gl_TessLevelOuter) 129 Store 402 149 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 404 404 12 12 406: 384(ptr) AccessChain 396(gl_TessLevelOuter) 405 Store 406 149 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 408 408 12 12 409: 384(ptr) AccessChain 396(gl_TessLevelOuter) 333 Store 409 149 Branch 373 410: Label 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 413 413 12 12 414: 218(ptr) AccessChain 123(ubo) 223 415: 16(float) Load 414 416: 48(bool) FOrdGreaterThan 415 149 SelectionMerge 418 None BranchConditional 416 417 476 417: Label 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 421 421 12 12 423: 268(ptr) AccessChain 259(gl_in) 333 142 424: 19(fvec4) Load 423 Store 422(param) 424 426: 268(ptr) AccessChain 259(gl_in) 142 142 427: 19(fvec4) Load 426 Store 425(param) 427 428: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 422(param) 425(param) 429: 384(ptr) AccessChain 396(gl_TessLevelOuter) 142 Store 429 428 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 431 431 12 12 433: 268(ptr) AccessChain 259(gl_in) 142 142 434: 19(fvec4) Load 433 Store 432(param) 434 436: 268(ptr) AccessChain 259(gl_in) 129 142 437: 19(fvec4) Load 436 Store 435(param) 437 438: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 432(param) 435(param) 439: 384(ptr) AccessChain 396(gl_TessLevelOuter) 129 Store 439 438 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 441 441 12 12 443: 268(ptr) AccessChain 259(gl_in) 129 142 444: 19(fvec4) Load 443 Store 442(param) 444 446: 268(ptr) AccessChain 259(gl_in) 405 142 447: 19(fvec4) Load 446 Store 445(param) 447 448: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 442(param) 445(param) 449: 384(ptr) AccessChain 396(gl_TessLevelOuter) 405 Store 449 448 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 451 451 12 12 453: 268(ptr) AccessChain 259(gl_in) 405 142 454: 19(fvec4) Load 453 Store 452(param) 454 456: 268(ptr) AccessChain 259(gl_in) 333 142 457: 19(fvec4) Load 456 Store 455(param) 457 458: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 452(param) 455(param) 459: 384(ptr) AccessChain 396(gl_TessLevelOuter) 333 Store 459 458 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 461 461 12 12 462: 384(ptr) AccessChain 396(gl_TessLevelOuter) 142 463: 16(float) Load 462 464: 384(ptr) AccessChain 396(gl_TessLevelOuter) 333 465: 16(float) Load 464 466: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 463 465 69 467: 384(ptr) AccessChain 381(gl_TessLevelInner) 142 Store 467 466 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 469 469 12 12 470: 384(ptr) AccessChain 396(gl_TessLevelOuter) 405 471: 16(float) Load 470 472: 384(ptr) AccessChain 396(gl_TessLevelOuter) 129 473: 16(float) Load 472 474: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 471 473 69 475: 384(ptr) AccessChain 381(gl_TessLevelInner) 129 Store 475 474 Branch 418 476: Label 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 479 479 12 12 480: 384(ptr) AccessChain 381(gl_TessLevelInner) 142 Store 480 227 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 482 482 12 12 483: 384(ptr) AccessChain 381(gl_TessLevelInner) 129 Store 483 227 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 485 485 12 12 486: 384(ptr) AccessChain 396(gl_TessLevelOuter) 142 Store 486 227 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 488 488 12 12 489: 384(ptr) AccessChain 396(gl_TessLevelOuter) 129 Store 489 227 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 491 491 12 12 492: 384(ptr) AccessChain 396(gl_TessLevelOuter) 405 Store 492 227 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 494 494 12 12 495: 384(ptr) AccessChain 396(gl_TessLevelOuter) 333 Store 495 227 Branch 418 418: Label Branch 373 373: Label Branch 366 366: Label 496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 498 498 12 12 514: 126(int) Load 264(gl_InvocationID) 515: 126(int) Load 264(gl_InvocationID) 516: 268(ptr) AccessChain 259(gl_in) 515 142 517: 19(fvec4) Load 516 520: 518(ptr) AccessChain 511(gl_out) 514 142 Store 520 517 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 522 522 12 12 530: 126(int) Load 264(gl_InvocationID) 538: 126(int) Load 264(gl_InvocationID) 541: 539(ptr) AccessChain 535(inNormal) 538 542: 147(fvec3) Load 541 545: 543(ptr) AccessChain 527(outNormal) 530 Store 545 542 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 547 547 12 12 555: 126(int) Load 264(gl_InvocationID) 556: 126(int) Load 264(gl_InvocationID) 557: 296(ptr) AccessChain 293(inUV) 556 558: 98(fvec2) Load 557 561: 559(ptr) AccessChain 552(outUV) 555 Store 561 558 Return FunctionEnd Line 1 51 45 29(screenSpaceTessFactor(vf4;vf4;): 16(float) Function None 25 27(p0): 22(ptr) FunctionParameter 28(p1): 22(ptr) FunctionParameter 30: Label 65(midPoint): 22(ptr) Variable Function 78(radius): 76(ptr) Variable Function 89(v0): 22(ptr) Variable Function 138(clip0): 22(ptr) Variable Function 159(clip1): 22(ptr) Variable Function 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 35 35 12 12 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 41 27(p0) 44 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 28(p1) 44 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 32 29(screenSpaceTessFactor(vf4;vf4;) 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 64 64 12 12 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 66 65(midPoint) 44 70: 19(fvec4) Load 27(p0) 71: 19(fvec4) Load 28(p1) 72: 19(fvec4) FAdd 70 71 73: 19(fvec4) VectorTimesScalar 72 69 Store 65(midPoint) 73 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 75 75 12 12 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 79 78(radius) 44 82: 19(fvec4) Load 27(p0) 83: 19(fvec4) Load 28(p1) 84: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 82 83 86: 16(float) FDiv 84 85 Store 78(radius) 86 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 88 88 12 12 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 90 89(v0) 44 132: 130(ptr) AccessChain 123(ubo) 129 133: 93 Load 132 134: 19(fvec4) Load 65(midPoint) 135: 19(fvec4) MatrixTimesVector 133 134 Store 89(v0) 135 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 137 137 12 12 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 139 138(clip0) 44 143: 130(ptr) AccessChain 123(ubo) 142 144: 93 Load 143 145: 19(fvec4) Load 89(v0) 146: 16(float) Load 78(radius) 151: 16(float) CompositeExtract 150 0 152: 16(float) CompositeExtract 150 1 153: 16(float) CompositeExtract 150 2 154: 19(fvec4) CompositeConstruct 146 151 152 153 155: 19(fvec4) FSub 145 154 156: 19(fvec4) MatrixTimesVector 144 155 Store 138(clip0) 156 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 158 158 12 12 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(clip1) 44 163: 130(ptr) AccessChain 123(ubo) 142 164: 93 Load 163 165: 19(fvec4) Load 89(v0) 166: 16(float) Load 78(radius) 167: 16(float) CompositeExtract 150 0 168: 16(float) CompositeExtract 150 1 169: 16(float) CompositeExtract 150 2 170: 19(fvec4) CompositeConstruct 166 167 168 169 171: 19(fvec4) FAdd 165 170 172: 19(fvec4) MatrixTimesVector 164 171 Store 159(clip1) 172 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 174 174 12 12 175: 76(ptr) AccessChain 138(clip0) 13 176: 16(float) Load 175 177: 19(fvec4) Load 138(clip0) 178: 19(fvec4) CompositeConstruct 176 176 176 176 179: 19(fvec4) FDiv 177 178 Store 138(clip0) 179 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 181 181 12 12 182: 76(ptr) AccessChain 159(clip1) 13 183: 16(float) Load 182 184: 19(fvec4) Load 159(clip1) 185: 19(fvec4) CompositeConstruct 183 183 183 183 186: 19(fvec4) FDiv 184 185 Store 159(clip1) 186 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 188 188 12 12 192: 190(ptr) AccessChain 123(ubo) 189 193: 98(fvec2) Load 192 194: 19(fvec4) Load 138(clip0) 195: 98(fvec2) VectorShuffle 194 194 0 1 196: 98(fvec2) FMul 195 193 197: 76(ptr) AccessChain 138(clip0) 12 198: 16(float) CompositeExtract 196 0 Store 197 198 199: 76(ptr) AccessChain 138(clip0) 37 200: 16(float) CompositeExtract 196 1 Store 199 200 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 202 202 12 12 203: 190(ptr) AccessChain 123(ubo) 189 204: 98(fvec2) Load 203 205: 19(fvec4) Load 159(clip1) 206: 98(fvec2) VectorShuffle 205 205 0 1 207: 98(fvec2) FMul 206 204 208: 76(ptr) AccessChain 159(clip1) 12 209: 16(float) CompositeExtract 207 0 Store 208 209 210: 76(ptr) AccessChain 159(clip1) 37 211: 16(float) CompositeExtract 207 1 Store 210 211 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 213 213 12 12 214: 19(fvec4) Load 138(clip0) 215: 19(fvec4) Load 159(clip1) 216: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 214 215 220: 218(ptr) AccessChain 123(ubo) 217 221: 16(float) Load 220 222: 16(float) FDiv 216 221 224: 218(ptr) AccessChain 123(ubo) 223 225: 16(float) Load 224 226: 16(float) FMul 222 225 229: 16(float) ExtInst 3(GLSL.std.450) 43(FClamp) 226 227 228 ReturnValue 229 FunctionEnd Line 1 81 19 53(frustumCheck(): 48(bool) Function None 51 54: Label 236(pos): 22(ptr) Variable Function 314(i): 312(ptr) Variable Function 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 56 53(frustumCheck() 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 235 235 12 12 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 237 236(pos) 44 267: 126(int) Load 264(gl_InvocationID) 270: 268(ptr) AccessChain 259(gl_in) 267 142 271: 19(fvec4) Load 270 Store 236(pos) 271 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 273 273 12 12 288: 279 Load 285(samplerHeight) 298: 296(ptr) AccessChain 293(inUV) 142 299: 98(fvec2) Load 298 300: 19(fvec4) ImageSampleExplicitLod 288 299 Lod 149 301: 16(float) CompositeExtract 300 0 303: 218(ptr) AccessChain 123(ubo) 302 304: 16(float) Load 303 305: 16(float) FMul 301 304 306: 76(ptr) AccessChain 236(pos) 37 307: 16(float) Load 306 308: 16(float) FSub 307 305 309: 76(ptr) AccessChain 236(pos) 37 Store 309 308 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 311 311 12 12 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 315 314(i) 44 Store 314(i) 142 Branch 318 318: Label 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 311 311 12 12 LoopMerge 320 321 None Branch 324 324: Label 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 311 311 12 12 327: 126(int) Load 314(i) 328: 48(bool) SLessThan 327 189 BranchConditional 328 319 320 319: Label 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 331 331 12 12 332: 19(fvec4) Load 236(pos) 334: 126(int) Load 314(i) 337: 335(ptr) AccessChain 123(ubo) 333 334 338: 19(fvec4) Load 337 339: 16(float) Dot 332 338 341: 16(float) FAdd 339 340 342: 48(bool) FOrdLessThan 341 149 SelectionMerge 344 None BranchConditional 342 343 344 343: Label 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 348 348 12 12 ReturnValue 345 344: Label Branch 321 321: Label 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 311 311 12 12 352: 126(int) Load 314(i) 353: 126(int) IAdd 352 129 Store 314(i) 353 Branch 318 320: Label 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 356 356 12 12 ReturnValue 95 FunctionEnd