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