spv.debuginfo.hlsl.tese // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 462 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint TessellationEvaluation 6 "main" 353 368 377 386 393 399 439 443 447 450 453 456 459 ExecutionMode 6 Quads 1: String "" 9: String "float" 12: String "uint" 26: String "TessLevelOuter" 28: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed entry-point main // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 // OpModuleProcessed keep-uncalled // OpModuleProcessed hlsl-offsets #line 1 " 32: String "TessLevelInner" 35: String "ConstantsHSOutput" 49: String "Pos" 52: String "Normal" 56: String "UV" 60: String "HSOutput" 68: String "WorldPos" 78: String "DSOutput" 86: String "@main" 92: String "input" 96: String "TessCoord" 99: String "patch" 108: String "output" 119: String "uv1" 122: String "int" 138: String "uv2" 161: String "n1" 173: String "n2" 195: String "pos1" 207: String "pos2" 219: String "pos" 231: String "type.2d.image" 232: String "@type.2d.image" 237: String "displacementMapTexture" 242: String "type.sampler" 243: String "@type.sampler" 247: String "displacementMapSampler" 251: String "type.sampled.image" 252: String "@type.sampled.image" 266: String "modelview" 271: String "lightPos" 275: String "frustumPlanes" 278: String "tessellatedEdgeSize" 282: String "viewportDim" 286: String "UBO" 289: String "ubo" Name 6 "main" Name 24 "ConstantsHSOutput" MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter" MemberName 24(ConstantsHSOutput) 1 "TessLevelInner" Name 47 "HSOutput" MemberName 47(HSOutput) 0 "Pos" MemberName 47(HSOutput) 1 "Normal" MemberName 47(HSOutput) 2 "UV" Name 63 "DSOutput" MemberName 63(DSOutput) 0 "Pos" MemberName 63(DSOutput) 1 "Normal" MemberName 63(DSOutput) 2 "UV" MemberName 63(DSOutput) 3 "ViewVec" MemberName 63(DSOutput) 4 "LightVec" MemberName 63(DSOutput) 5 "EyePos" MemberName 63(DSOutput) 6 "WorldPos" Name 84 "@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];" Name 81 "input" Name 82 "TessCoord" Name 83 "patch" Name 106 "output" Name 117 "uv1" Name 136 "uv2" Name 159 "n1" Name 171 "n2" Name 193 "pos1" Name 205 "pos2" Name 217 "pos" Name 235 "displacementMapTexture" Name 245 "displacementMapSampler" Name 264 "UBO" MemberName 264(UBO) 0 "projection" MemberName 264(UBO) 1 "modelview" MemberName 264(UBO) 2 "lightPos" MemberName 264(UBO) 3 "frustumPlanes" MemberName 264(UBO) 4 "displacementFactor" MemberName 264(UBO) 5 "tessellationFactor" MemberName 264(UBO) 6 "viewportDim" MemberName 264(UBO) 7 "tessellatedEdgeSize" Name 287 "ubo" MemberName 287(ubo) 0 "ubo" Name 292 "" Name 351 "input" Name 353 "input.TessLevelOuter" Name 368 "input.TessLevelInner" Name 375 "TessCoord" Name 377 "TessCoord" Name 383 "patch" Name 386 "patch.Pos" Name 393 "patch.Normal" Name 399 "patch.UV" Name 431 "flattenTemp" Name 433 "param" Name 435 "param" Name 439 "@entryPointOutput.Pos" Name 443 "@entryPointOutput.Normal" Name 447 "@entryPointOutput.UV" Name 450 "@entryPointOutput.ViewVec" Name 453 "@entryPointOutput.LightVec" Name 456 "@entryPointOutput.EyePos" Name 459 "@entryPointOutput.WorldPos" Decorate 235(displacementMapTexture) DescriptorSet 0 Decorate 235(displacementMapTexture) Binding 1 Decorate 245(displacementMapSampler) DescriptorSet 0 Decorate 245(displacementMapSampler) Binding 1 Decorate 262 ArrayStride 16 MemberDecorate 264(UBO) 0 RowMajor MemberDecorate 264(UBO) 0 Offset 0 MemberDecorate 264(UBO) 0 MatrixStride 16 MemberDecorate 264(UBO) 1 RowMajor MemberDecorate 264(UBO) 1 Offset 64 MemberDecorate 264(UBO) 1 MatrixStride 16 MemberDecorate 264(UBO) 2 Offset 128 MemberDecorate 264(UBO) 3 Offset 144 MemberDecorate 264(UBO) 4 Offset 240 MemberDecorate 264(UBO) 5 Offset 244 MemberDecorate 264(UBO) 6 Offset 248 MemberDecorate 264(UBO) 7 Offset 256 MemberDecorate 287(ubo) 0 Offset 0 Decorate 287(ubo) Block Decorate 292 DescriptorSet 0 Decorate 292 Binding 0 Decorate 353(input.TessLevelOuter) Patch Decorate 353(input.TessLevelOuter) BuiltIn TessLevelOuter Decorate 368(input.TessLevelInner) Patch Decorate 368(input.TessLevelInner) BuiltIn TessLevelInner Decorate 377(TessCoord) Patch Decorate 377(TessCoord) BuiltIn TessCoord Decorate 386(patch.Pos) BuiltIn Position Decorate 393(patch.Normal) Location 0 Decorate 399(patch.UV) Location 1 Decorate 439(@entryPointOutput.Pos) BuiltIn Position Decorate 443(@entryPointOutput.Normal) Location 0 Decorate 447(@entryPointOutput.UV) Location 1 Decorate 450(@entryPointOutput.ViewVec) Location 2 Decorate 453(@entryPointOutput.LightVec) Location 3 Decorate 456(@entryPointOutput.EyePos) Location 4 Decorate 459(@entryPointOutput.WorldPos) Location 5 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 11: TypeInt 32 0 14: 11(int) Constant 32 15: 11(int) Constant 6 16: 11(int) Constant 0 13: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16 17: 11(int) Constant 3 10: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16 18: 11(int) Constant 4 19: TypeArray 8(float) 18 20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 18 21: 11(int) Constant 2 22: TypeArray 8(float) 21 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 21 24(ConstantsHSOutput): TypeStruct 19 22 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 28 29: 11(int) Constant 51 30: 11(int) Constant 25 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 26 20 27 29 30 16 16 17 33: 11(int) Constant 52 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 32 23 27 33 30 16 16 17 36: 11(int) Constant 1 38: 11(int) Constant 5 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 18 27 38 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 35 36 27 16 16 37 35 16 17 25 31 39: TypePointer Function 24(ConstantsHSOutput) 40: TypeVector 8(float) 2 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21 42: TypePointer Function 40(fvec2) 43: TypeVector 8(float) 4 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 18 45: TypeVector 8(float) 3 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 47(HSOutput): TypeStruct 43(fvec4) 45(fvec3) 40(fvec2) 50: 11(int) Constant 44 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 44 27 50 14 16 16 17 53: 11(int) Constant 45 54: 11(int) Constant 35 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 46 27 53 54 16 16 17 57: 11(int) Constant 46 58: 11(int) Constant 31 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 56 41 27 57 58 16 16 17 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 36 27 16 16 37 60 16 17 48 51 55 61: TypeArray 47(HSOutput) 18 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 59 18 63(DSOutput): TypeStruct 43(fvec4) 45(fvec3) 40(fvec2) 45(fvec3) 45(fvec3) 45(fvec3) 45(fvec3) 65: 11(int) Constant 57 66: 11(int) Constant 13 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 44 27 65 66 16 16 17 69: 11(int) Constant 63 70: 11(int) Constant 37 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 72: 11(int) Constant 59 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 56 41 27 72 58 16 16 17 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 78 36 27 16 16 37 78 16 17 64 67 71 73 74 75 76 79: TypeFunction 63(DSOutput) 39(ptr) 42(ptr) 61 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 77 34 41 59 88: 11(int) Constant 68 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 86 80 27 88 16 37 86 17 88 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 92 34 27 88 16 87 18 36 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 96 41 27 88 16 87 18 21 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 59 27 88 16 87 18 17 104: 11(int) Constant 70 105: TypePointer Function 63(DSOutput) 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 108 77 27 104 16 87 18 110: 8(float) Constant 0 111: 43(fvec4) ConstantComposite 110 110 110 110 112: 45(fvec3) ConstantComposite 110 110 110 113: 40(fvec2) ConstantComposite 110 110 114:63(DSOutput) ConstantComposite 111 112 113 112 112 112 112 116: 11(int) Constant 71 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 41 27 116 16 87 18 121: TypeInt 32 1 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 122 14 18 16 124: 121(int) Constant 0 125: 121(int) Constant 2 127: 121(int) Constant 1 129: TypePointer Function 8(float) 135: 11(int) Constant 72 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 138 41 27 135 16 87 18 140: 121(int) Constant 3 148: 11(int) Constant 73 157: 11(int) Constant 75 158: TypePointer Function 45(fvec3) 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 46 27 157 16 87 18 170: 11(int) Constant 76 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 173 46 27 170 16 87 18 182: 11(int) Constant 77 191: 11(int) Constant 80 192: TypePointer Function 43(fvec4) 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 195 44 27 191 16 87 18 204: 11(int) Constant 81 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 44 27 204 16 87 18 216: 11(int) Constant 82 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 219 44 27 216 16 87 18 228: 11(int) Constant 84 229: TypeImage 8(float) 2D sampled format:Unknown 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 231 16 27 228 16 37 232 233 17 234: TypePointer UniformConstant 229 235(displacementMapTexture): 234(ptr) Variable UniformConstant 238: 11(int) Constant 8 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 237 230 27 228 16 37 237 235(displacementMapTexture) 238 240: TypeSampler 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 242 36 27 228 16 37 243 233 17 244: TypePointer UniformConstant 240 245(displacementMapSampler): 244(ptr) Variable UniformConstant 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 247 241 27 228 16 37 247 245(displacementMapSampler) 238 249: TypeSampledImage 229 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 251 16 27 228 16 37 252 233 17 258: TypeMatrix 43(fvec4) 4 260: TypeBool 261: 260(bool) ConstantTrue 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 261 262: TypeArray 43(fvec4) 15 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15 264(UBO): TypeStruct 258 258 43(fvec4) 262 8(float) 8(float) 40(fvec2) 8(float) 267: 11(int) Constant 29 268: 11(int) Constant 20 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17 272: 11(int) Constant 30 273: 11(int) Constant 17 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 271 44 27 272 273 16 16 17 276: 11(int) Constant 22 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 275 263 27 58 276 16 16 17 279: 11(int) Constant 27 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 283: 11(int) Constant 34 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 282 41 27 283 268 16 16 17 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 286 36 27 228 16 37 286 16 17 265 269 270 274 277 280 281 284 287(ubo): TypeStruct 264(UBO) 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 285 27 70 70 16 16 17 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 289 36 27 228 16 37 289 16 17 288 291: TypePointer Uniform 287(ubo) 292: 291(ptr) Variable Uniform 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 290 27 228 16 37 1 292 238 294: 121(int) Constant 4 295: TypePointer Uniform 8(float) 304: 11(int) Constant 86 306: TypePointer Uniform 258 315: 11(int) Constant 89 321: 11(int) Constant 90 322: TypePointer Uniform 43(fvec4) 332: 11(int) Constant 91 333: 121(int) Constant 6 338: 11(int) Constant 92 339: 121(int) Constant 5 347: 11(int) Constant 93 352: TypePointer Input 19 353(input.TessLevelOuter): 352(ptr) Variable Input 354: TypePointer Input 8(float) 367: TypePointer Input 22 368(input.TessLevelInner): 367(ptr) Variable Input 376: TypePointer Input 45(fvec3) 377(TessCoord): 376(ptr) Variable Input 382: TypePointer Function 61 384: TypeArray 43(fvec4) 18 385: TypePointer Input 384 386(patch.Pos): 385(ptr) Variable Input 387: TypePointer Input 43(fvec4) 391: TypeArray 45(fvec3) 18 392: TypePointer Input 391 393(patch.Normal): 392(ptr) Variable Input 397: TypeArray 40(fvec2) 18 398: TypePointer Input 397 399(patch.UV): 398(ptr) Variable Input 400: TypePointer Input 40(fvec2) 438: TypePointer Output 43(fvec4) 439(@entryPointOutput.Pos): 438(ptr) Variable Output 442: TypePointer Output 45(fvec3) 443(@entryPointOutput.Normal): 442(ptr) Variable Output 446: TypePointer Output 40(fvec2) 447(@entryPointOutput.UV): 446(ptr) Variable Output 450(@entryPointOutput.ViewVec): 442(ptr) Variable Output 453(@entryPointOutput.LightVec): 442(ptr) Variable Output 456(@entryPointOutput.EyePos): 442(ptr) Variable Output 459(@entryPointOutput.WorldPos): 442(ptr) Variable Output Line 1 68 1 6(main): 4 Function None 5 7: Label 351(input): 39(ptr) Variable Function 375(TessCoord): 42(ptr) Variable Function 383(patch): 382(ptr) Variable Function 431(flattenTemp): 105(ptr) Variable Function 433(param): 39(ptr) Variable Function 435(param): 42(ptr) Variable Function Line 1 68 0 355: 354(ptr) AccessChain 353(input.TessLevelOuter) 124 356: 8(float) Load 355 357: 129(ptr) AccessChain 351(input) 124 124 Store 357 356 358: 354(ptr) AccessChain 353(input.TessLevelOuter) 127 359: 8(float) Load 358 360: 129(ptr) AccessChain 351(input) 124 127 Store 360 359 361: 354(ptr) AccessChain 353(input.TessLevelOuter) 125 362: 8(float) Load 361 363: 129(ptr) AccessChain 351(input) 124 125 Store 363 362 364: 354(ptr) AccessChain 353(input.TessLevelOuter) 140 365: 8(float) Load 364 366: 129(ptr) AccessChain 351(input) 124 140 Store 366 365 369: 354(ptr) AccessChain 368(input.TessLevelInner) 124 370: 8(float) Load 369 371: 129(ptr) AccessChain 351(input) 127 124 Store 371 370 372: 354(ptr) AccessChain 368(input.TessLevelInner) 127 373: 8(float) Load 372 374: 129(ptr) AccessChain 351(input) 127 127 Store 374 373 378: 45(fvec3) Load 377(TessCoord) 379: 8(float) CompositeExtract 378 0 380: 8(float) CompositeExtract 378 1 381: 40(fvec2) CompositeConstruct 379 380 Store 375(TessCoord) 381 388: 387(ptr) AccessChain 386(patch.Pos) 124 389: 43(fvec4) Load 388 390: 192(ptr) AccessChain 383(patch) 124 124 Store 390 389 394: 376(ptr) AccessChain 393(patch.Normal) 124 395: 45(fvec3) Load 394 396: 158(ptr) AccessChain 383(patch) 124 127 Store 396 395 401: 400(ptr) AccessChain 399(patch.UV) 124 402: 40(fvec2) Load 401 403: 42(ptr) AccessChain 383(patch) 124 125 Store 403 402 404: 387(ptr) AccessChain 386(patch.Pos) 127 405: 43(fvec4) Load 404 406: 192(ptr) AccessChain 383(patch) 127 124 Store 406 405 407: 376(ptr) AccessChain 393(patch.Normal) 127 408: 45(fvec3) Load 407 409: 158(ptr) AccessChain 383(patch) 127 127 Store 409 408 410: 400(ptr) AccessChain 399(patch.UV) 127 411: 40(fvec2) Load 410 412: 42(ptr) AccessChain 383(patch) 127 125 Store 412 411 413: 387(ptr) AccessChain 386(patch.Pos) 125 414: 43(fvec4) Load 413 415: 192(ptr) AccessChain 383(patch) 125 124 Store 415 414 416: 376(ptr) AccessChain 393(patch.Normal) 125 417: 45(fvec3) Load 416 418: 158(ptr) AccessChain 383(patch) 125 127 Store 418 417 419: 400(ptr) AccessChain 399(patch.UV) 125 420: 40(fvec2) Load 419 421: 42(ptr) AccessChain 383(patch) 125 125 Store 421 420 422: 387(ptr) AccessChain 386(patch.Pos) 140 423: 43(fvec4) Load 422 424: 192(ptr) AccessChain 383(patch) 140 124 Store 424 423 425: 376(ptr) AccessChain 393(patch.Normal) 140 426: 45(fvec3) Load 425 427: 158(ptr) AccessChain 383(patch) 140 127 Store 427 426 428: 400(ptr) AccessChain 399(patch.UV) 140 429: 40(fvec2) Load 428 430: 42(ptr) AccessChain 383(patch) 140 125 Store 430 429 432: 61 Load 383(patch) 434:24(ConstantsHSOutput) Load 351(input) Store 433(param) 434 436: 40(fvec2) Load 375(TessCoord) Store 435(param) 436 437:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 433(param) 435(param) 432 Store 431(flattenTemp) 437 440: 192(ptr) AccessChain 431(flattenTemp) 124 441: 43(fvec4) Load 440 Store 439(@entryPointOutput.Pos) 441 444: 158(ptr) AccessChain 431(flattenTemp) 127 445: 45(fvec3) Load 444 Store 443(@entryPointOutput.Normal) 445 448: 42(ptr) AccessChain 431(flattenTemp) 125 449: 40(fvec2) Load 448 Store 447(@entryPointOutput.UV) 449 451: 158(ptr) AccessChain 431(flattenTemp) 140 452: 45(fvec3) Load 451 Store 450(@entryPointOutput.ViewVec) 452 454: 158(ptr) AccessChain 431(flattenTemp) 294 455: 45(fvec3) Load 454 Store 453(@entryPointOutput.LightVec) 455 457: 158(ptr) AccessChain 431(flattenTemp) 339 458: 45(fvec3) Load 457 Store 456(@entryPointOutput.EyePos) 458 460: 158(ptr) AccessChain 431(flattenTemp) 333 461: 45(fvec3) Load 460 Store 459(@entryPointOutput.WorldPos) 461 Return FunctionEnd Line 1 68 1 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];):63(DSOutput) Function None 79 81(input): 39(ptr) FunctionParameter 82(TessCoord): 42(ptr) FunctionParameter 83(patch): 61 FunctionParameter 85: Label 106(output): 105(ptr) Variable Function 117(uv1): 42(ptr) Variable Function 136(uv2): 42(ptr) Variable Function 159(n1): 158(ptr) Variable Function 171(n2): 158(ptr) Variable Function 193(pos1): 192(ptr) Variable Function 205(pos2): 192(ptr) Variable Function 217(pos): 192(ptr) Variable Function 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 87 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 88 88 16 16 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 91 81(input) 94 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 95 82(TessCoord) 94 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 83(patch) 94 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 87 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 87 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 104 104 16 16 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 107 106(output) 94 Store 106(output) 114 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 116 116 16 16 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(uv1) 94 126: 40(fvec2) CompositeExtract 83(patch) 0 2 128: 40(fvec2) CompositeExtract 83(patch) 1 2 130: 129(ptr) AccessChain 82(TessCoord) 16 131: 8(float) Load 130 132: 40(fvec2) CompositeConstruct 131 131 133: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 126 128 132 Store 117(uv1) 133 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 135 135 16 16 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 137 136(uv2) 94 141: 40(fvec2) CompositeExtract 83(patch) 3 2 142: 40(fvec2) CompositeExtract 83(patch) 2 2 143: 129(ptr) AccessChain 82(TessCoord) 16 144: 8(float) Load 143 145: 40(fvec2) CompositeConstruct 144 144 146: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 141 142 145 Store 136(uv2) 146 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 148 148 16 16 149: 40(fvec2) Load 117(uv1) 150: 40(fvec2) Load 136(uv2) 151: 129(ptr) AccessChain 82(TessCoord) 36 152: 8(float) Load 151 153: 40(fvec2) CompositeConstruct 152 152 154: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 149 150 153 155: 42(ptr) AccessChain 106(output) 125 Store 155 154 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 157 157 16 16 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(n1) 94 163: 45(fvec3) CompositeExtract 83(patch) 0 1 164: 45(fvec3) CompositeExtract 83(patch) 1 1 165: 129(ptr) AccessChain 82(TessCoord) 16 166: 8(float) Load 165 167: 45(fvec3) CompositeConstruct 166 166 166 168: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 163 164 167 Store 159(n1) 168 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 170 170 16 16 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 172 171(n2) 94 175: 45(fvec3) CompositeExtract 83(patch) 3 1 176: 45(fvec3) CompositeExtract 83(patch) 2 1 177: 129(ptr) AccessChain 82(TessCoord) 16 178: 8(float) Load 177 179: 45(fvec3) CompositeConstruct 178 178 178 180: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 175 176 179 Store 171(n2) 180 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 182 182 16 16 183: 45(fvec3) Load 159(n1) 184: 45(fvec3) Load 171(n2) 185: 129(ptr) AccessChain 82(TessCoord) 36 186: 8(float) Load 185 187: 45(fvec3) CompositeConstruct 186 186 186 188: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 183 184 187 189: 158(ptr) AccessChain 106(output) 127 Store 189 188 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 191 191 16 16 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 194 193(pos1) 94 197: 43(fvec4) CompositeExtract 83(patch) 0 0 198: 43(fvec4) CompositeExtract 83(patch) 1 0 199: 129(ptr) AccessChain 82(TessCoord) 16 200: 8(float) Load 199 201: 43(fvec4) CompositeConstruct 200 200 200 200 202: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 197 198 201 Store 193(pos1) 202 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 204 204 16 16 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 206 205(pos2) 94 209: 43(fvec4) CompositeExtract 83(patch) 3 0 210: 43(fvec4) CompositeExtract 83(patch) 2 0 211: 129(ptr) AccessChain 82(TessCoord) 16 212: 8(float) Load 211 213: 43(fvec4) CompositeConstruct 212 212 212 212 214: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 209 210 213 Store 205(pos2) 214 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 216 216 16 16 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 218 217(pos) 94 221: 43(fvec4) Load 193(pos1) 222: 43(fvec4) Load 205(pos2) 223: 129(ptr) AccessChain 82(TessCoord) 36 224: 8(float) Load 223 225: 43(fvec4) CompositeConstruct 224 224 224 224 226: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 221 222 225 Store 217(pos) 226 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 228 228 16 16 239: 229 Load 235(displacementMapTexture) 248: 240 Load 245(displacementMapSampler) 253: 249 SampledImage 239 248 254: 42(ptr) AccessChain 106(output) 125 255: 40(fvec2) Load 254 256: 43(fvec4) ImageSampleExplicitLod 253 255 Lod 110 257: 8(float) CompositeExtract 256 0 296: 295(ptr) AccessChain 292 124 294 297: 8(float) Load 296 298: 8(float) FMul 257 297 299: 129(ptr) AccessChain 217(pos) 36 300: 8(float) Load 299 301: 8(float) FSub 300 298 302: 129(ptr) AccessChain 217(pos) 36 Store 302 301 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 304 304 16 16 305: 43(fvec4) Load 217(pos) 307: 306(ptr) AccessChain 292 124 127 308: 258 Load 307 309: 43(fvec4) VectorTimesMatrix 305 308 310: 306(ptr) AccessChain 292 124 124 311: 258 Load 310 312: 43(fvec4) VectorTimesMatrix 309 311 313: 192(ptr) AccessChain 106(output) 124 Store 313 312 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 315 315 16 16 316: 43(fvec4) Load 217(pos) 317: 45(fvec3) VectorShuffle 316 316 0 1 2 318: 45(fvec3) FNegate 317 319: 158(ptr) AccessChain 106(output) 140 Store 319 318 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 321 321 16 16 323: 322(ptr) AccessChain 292 124 125 324: 43(fvec4) Load 323 325: 45(fvec3) VectorShuffle 324 324 0 1 2 326: 158(ptr) AccessChain 106(output) 140 327: 45(fvec3) Load 326 328: 45(fvec3) FAdd 325 327 329: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 328 330: 158(ptr) AccessChain 106(output) 294 Store 330 329 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 332 332 16 16 334: 43(fvec4) Load 217(pos) 335: 45(fvec3) VectorShuffle 334 334 0 1 2 336: 158(ptr) AccessChain 106(output) 333 Store 336 335 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 338 338 16 16 340: 43(fvec4) Load 217(pos) 341: 306(ptr) AccessChain 292 124 127 342: 258 Load 341 343: 43(fvec4) VectorTimesMatrix 340 342 344: 45(fvec3) VectorShuffle 343 343 0 1 2 345: 158(ptr) AccessChain 106(output) 339 Store 345 344 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 347 347 16 16 348:63(DSOutput) Load 106(output) ReturnValue 348 FunctionEnd