1spv.debuginfo.hlsl.tese 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 464 5 6 Capability Tessellation 7 Extension "SPV_KHR_non_semantic_info" 8 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 9 3: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint TessellationEvaluation 6 "main" 355 370 379 388 395 401 441 445 449 452 455 458 461 12 ExecutionMode 6 Quads 13 1: String "" 14 9: String "float" 15 12: String "uint" 16 26: String "TessLevelOuter" 17 28: String "// OpModuleProcessed auto-map-locations 18// OpModuleProcessed auto-map-bindings 19// OpModuleProcessed entry-point main 20// OpModuleProcessed client vulkan100 21// OpModuleProcessed target-env vulkan1.0 22// OpModuleProcessed keep-uncalled 23// OpModuleProcessed hlsl-offsets 24#line 1 25" 26 32: String "TessLevelInner" 27 35: String "ConstantsHSOutput" 28 49: String "Pos" 29 52: String "Normal" 30 56: String "UV" 31 60: String "HSOutput" 32 68: String "WorldPos" 33 78: String "DSOutput" 34 86: String "@main" 35 92: String "input" 36 96: String "TessCoord" 37 99: String "patch" 38 108: String "output" 39 119: String "uv1" 40 122: String "int" 41 138: String "uv2" 42 161: String "n1" 43 173: String "n2" 44 195: String "pos1" 45 207: String "pos2" 46 219: String "pos" 47 231: String "type.2d.image" 48 232: String "@type.2d.image" 49 237: String "displacementMapTexture" 50 242: String "type.sampler" 51 243: String "@type.sampler" 52 247: String "displacementMapSampler" 53 251: String "type.sampled.image" 54 252: String "@type.sampled.image" 55 261: String "bool" 56 268: String "modelview" 57 273: String "lightPos" 58 277: String "frustumPlanes" 59 280: String "tessellatedEdgeSize" 60 284: String "viewportDim" 61 288: String "UBO" 62 291: String "ubo" 63 Name 6 "main" 64 Name 24 "ConstantsHSOutput" 65 MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter" 66 MemberName 24(ConstantsHSOutput) 1 "TessLevelInner" 67 Name 47 "HSOutput" 68 MemberName 47(HSOutput) 0 "Pos" 69 MemberName 47(HSOutput) 1 "Normal" 70 MemberName 47(HSOutput) 2 "UV" 71 Name 63 "DSOutput" 72 MemberName 63(DSOutput) 0 "Pos" 73 MemberName 63(DSOutput) 1 "Normal" 74 MemberName 63(DSOutput) 2 "UV" 75 MemberName 63(DSOutput) 3 "ViewVec" 76 MemberName 63(DSOutput) 4 "LightVec" 77 MemberName 63(DSOutput) 5 "EyePos" 78 MemberName 63(DSOutput) 6 "WorldPos" 79 Name 84 "@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];" 80 Name 81 "input" 81 Name 82 "TessCoord" 82 Name 83 "patch" 83 Name 106 "output" 84 Name 117 "uv1" 85 Name 136 "uv2" 86 Name 159 "n1" 87 Name 171 "n2" 88 Name 193 "pos1" 89 Name 205 "pos2" 90 Name 217 "pos" 91 Name 235 "displacementMapTexture" 92 Name 245 "displacementMapSampler" 93 Name 266 "UBO" 94 MemberName 266(UBO) 0 "projection" 95 MemberName 266(UBO) 1 "modelview" 96 MemberName 266(UBO) 2 "lightPos" 97 MemberName 266(UBO) 3 "frustumPlanes" 98 MemberName 266(UBO) 4 "displacementFactor" 99 MemberName 266(UBO) 5 "tessellationFactor" 100 MemberName 266(UBO) 6 "viewportDim" 101 MemberName 266(UBO) 7 "tessellatedEdgeSize" 102 Name 289 "ubo" 103 MemberName 289(ubo) 0 "ubo" 104 Name 294 "" 105 Name 353 "input" 106 Name 355 "input.TessLevelOuter" 107 Name 370 "input.TessLevelInner" 108 Name 377 "TessCoord" 109 Name 379 "TessCoord" 110 Name 385 "patch" 111 Name 388 "patch.Pos" 112 Name 395 "patch.Normal" 113 Name 401 "patch.UV" 114 Name 433 "flattenTemp" 115 Name 435 "param" 116 Name 437 "param" 117 Name 441 "@entryPointOutput.Pos" 118 Name 445 "@entryPointOutput.Normal" 119 Name 449 "@entryPointOutput.UV" 120 Name 452 "@entryPointOutput.ViewVec" 121 Name 455 "@entryPointOutput.LightVec" 122 Name 458 "@entryPointOutput.EyePos" 123 Name 461 "@entryPointOutput.WorldPos" 124 Decorate 235(displacementMapTexture) DescriptorSet 0 125 Decorate 235(displacementMapTexture) Binding 1 126 Decorate 245(displacementMapSampler) DescriptorSet 0 127 Decorate 245(displacementMapSampler) Binding 1 128 Decorate 264 ArrayStride 16 129 MemberDecorate 266(UBO) 0 RowMajor 130 MemberDecorate 266(UBO) 0 Offset 0 131 MemberDecorate 266(UBO) 0 MatrixStride 16 132 MemberDecorate 266(UBO) 1 RowMajor 133 MemberDecorate 266(UBO) 1 Offset 64 134 MemberDecorate 266(UBO) 1 MatrixStride 16 135 MemberDecorate 266(UBO) 2 Offset 128 136 MemberDecorate 266(UBO) 3 Offset 144 137 MemberDecorate 266(UBO) 4 Offset 240 138 MemberDecorate 266(UBO) 5 Offset 244 139 MemberDecorate 266(UBO) 6 Offset 248 140 MemberDecorate 266(UBO) 7 Offset 256 141 MemberDecorate 289(ubo) 0 Offset 0 142 Decorate 289(ubo) Block 143 Decorate 294 DescriptorSet 0 144 Decorate 294 Binding 0 145 Decorate 355(input.TessLevelOuter) Patch 146 Decorate 355(input.TessLevelOuter) BuiltIn TessLevelOuter 147 Decorate 370(input.TessLevelInner) Patch 148 Decorate 370(input.TessLevelInner) BuiltIn TessLevelInner 149 Decorate 379(TessCoord) Patch 150 Decorate 379(TessCoord) BuiltIn TessCoord 151 Decorate 388(patch.Pos) BuiltIn Position 152 Decorate 395(patch.Normal) Location 0 153 Decorate 401(patch.UV) Location 1 154 Decorate 441(@entryPointOutput.Pos) BuiltIn Position 155 Decorate 445(@entryPointOutput.Normal) Location 0 156 Decorate 449(@entryPointOutput.UV) Location 1 157 Decorate 452(@entryPointOutput.ViewVec) Location 2 158 Decorate 455(@entryPointOutput.LightVec) Location 3 159 Decorate 458(@entryPointOutput.EyePos) Location 4 160 Decorate 461(@entryPointOutput.WorldPos) Location 5 161 4: TypeVoid 162 5: TypeFunction 4 163 8: TypeFloat 32 164 11: TypeInt 32 0 165 14: 11(int) Constant 32 166 15: 11(int) Constant 6 167 16: 11(int) Constant 0 168 13: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16 169 17: 11(int) Constant 3 170 10: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16 171 18: 11(int) Constant 4 172 19: TypeArray 8(float) 18 173 20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 18 174 21: 11(int) Constant 2 175 22: TypeArray 8(float) 21 176 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 21 17724(ConstantsHSOutput): TypeStruct 19 22 178 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 28 179 29: 11(int) Constant 51 180 30: 11(int) Constant 25 181 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 26 20 27 29 30 16 16 17 182 33: 11(int) Constant 52 183 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 32 23 27 33 30 16 16 17 184 36: 11(int) Constant 1 185 38: 11(int) Constant 5 186 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 18 27 38 187 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 35 36 27 16 16 37 35 16 17 25 31 188 39: TypePointer Function 24(ConstantsHSOutput) 189 40: TypeVector 8(float) 2 190 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21 191 42: TypePointer Function 40(fvec2) 192 43: TypeVector 8(float) 4 193 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 18 194 45: TypeVector 8(float) 3 195 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 196 47(HSOutput): TypeStruct 43(fvec4) 45(fvec3) 40(fvec2) 197 50: 11(int) Constant 44 198 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 44 27 50 14 16 16 17 199 53: 11(int) Constant 45 200 54: 11(int) Constant 35 201 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 46 27 53 54 16 16 17 202 57: 11(int) Constant 46 203 58: 11(int) Constant 31 204 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 56 41 27 57 58 16 16 17 205 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 36 27 16 16 37 60 16 17 48 51 55 206 61: TypeArray 47(HSOutput) 18 207 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 59 18 208 63(DSOutput): TypeStruct 43(fvec4) 45(fvec3) 40(fvec2) 45(fvec3) 45(fvec3) 45(fvec3) 45(fvec3) 209 65: 11(int) Constant 57 210 66: 11(int) Constant 13 211 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 44 27 65 66 16 16 17 212 69: 11(int) Constant 63 213 70: 11(int) Constant 37 214 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 215 72: 11(int) Constant 59 216 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 56 41 27 72 58 16 16 17 217 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 218 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 219 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 220 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 221 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 222 79: TypeFunction 63(DSOutput) 39(ptr) 42(ptr) 61 223 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 77 34 41 59 224 88: 11(int) Constant 68 225 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 86 80 27 88 16 37 86 17 88 226 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 92 34 27 88 16 87 18 36 227 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 228 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 96 41 27 88 16 87 18 21 229 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 59 27 88 16 87 18 17 230 104: 11(int) Constant 70 231 105: TypePointer Function 63(DSOutput) 232 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 108 77 27 104 16 87 18 233 110: 8(float) Constant 0 234 111: 43(fvec4) ConstantComposite 110 110 110 110 235 112: 45(fvec3) ConstantComposite 110 110 110 236 113: 40(fvec2) ConstantComposite 110 110 237 114:63(DSOutput) ConstantComposite 111 112 113 112 112 112 112 238 116: 11(int) Constant 71 239 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 41 27 116 16 87 18 240 121: TypeInt 32 1 241 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 122 14 18 16 242 124: 121(int) Constant 0 243 125: 121(int) Constant 2 244 127: 121(int) Constant 1 245 129: TypePointer Function 8(float) 246 135: 11(int) Constant 72 247 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 138 41 27 135 16 87 18 248 140: 121(int) Constant 3 249 148: 11(int) Constant 73 250 157: 11(int) Constant 75 251 158: TypePointer Function 45(fvec3) 252 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 46 27 157 16 87 18 253 170: 11(int) Constant 76 254 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 173 46 27 170 16 87 18 255 182: 11(int) Constant 77 256 191: 11(int) Constant 80 257 192: TypePointer Function 43(fvec4) 258 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 195 44 27 191 16 87 18 259 204: 11(int) Constant 81 260 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 44 27 204 16 87 18 261 216: 11(int) Constant 82 262 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 219 44 27 216 16 87 18 263 228: 11(int) Constant 84 264 229: TypeImage 8(float) 2D sampled format:Unknown 265 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) 266 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 231 16 27 228 16 37 232 233 17 267 234: TypePointer UniformConstant 229 268235(displacementMapTexture): 234(ptr) Variable UniformConstant 269 238: 11(int) Constant 8 270 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 237 230 27 228 16 37 237 235(displacementMapTexture) 238 271 240: TypeSampler 272 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 242 36 27 228 16 37 243 233 17 273 244: TypePointer UniformConstant 240 274245(displacementMapSampler): 244(ptr) Variable UniformConstant 275 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 247 241 27 228 16 37 247 245(displacementMapSampler) 238 276 249: TypeSampledImage 229 277 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 251 16 27 228 16 37 252 233 17 278 258: TypeMatrix 43(fvec4) 4 279 260: TypeBool 280 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 261 14 21 16 281 263: 260(bool) ConstantTrue 282 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 263 283 264: TypeArray 43(fvec4) 15 284 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15 285 266(UBO): TypeStruct 258 258 43(fvec4) 264 8(float) 8(float) 40(fvec2) 8(float) 286 269: 11(int) Constant 29 287 270: 11(int) Constant 20 288 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17 289 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17 290 274: 11(int) Constant 30 291 275: 11(int) Constant 17 292 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 273 44 27 274 275 16 16 17 293 278: 11(int) Constant 22 294 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 265 27 58 278 16 16 17 295 281: 11(int) Constant 27 296 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 297 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 298 285: 11(int) Constant 34 299 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 284 41 27 285 270 16 16 17 300 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 301 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 288 36 27 228 16 37 288 16 17 267 271 272 276 279 282 283 286 302 289(ubo): TypeStruct 266(UBO) 303 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 291 287 27 70 70 16 16 17 304 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 291 36 27 228 16 37 291 16 17 290 305 293: TypePointer Uniform 289(ubo) 306 294: 293(ptr) Variable Uniform 307 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 292 27 228 16 37 1 294 238 308 296: 121(int) Constant 4 309 297: TypePointer Uniform 8(float) 310 306: 11(int) Constant 86 311 308: TypePointer Uniform 258 312 317: 11(int) Constant 89 313 323: 11(int) Constant 90 314 324: TypePointer Uniform 43(fvec4) 315 334: 11(int) Constant 91 316 335: 121(int) Constant 6 317 340: 11(int) Constant 92 318 341: 121(int) Constant 5 319 349: 11(int) Constant 93 320 354: TypePointer Input 19 321355(input.TessLevelOuter): 354(ptr) Variable Input 322 356: TypePointer Input 8(float) 323 369: TypePointer Input 22 324370(input.TessLevelInner): 369(ptr) Variable Input 325 378: TypePointer Input 45(fvec3) 326 379(TessCoord): 378(ptr) Variable Input 327 384: TypePointer Function 61 328 386: TypeArray 43(fvec4) 18 329 387: TypePointer Input 386 330 388(patch.Pos): 387(ptr) Variable Input 331 389: TypePointer Input 43(fvec4) 332 393: TypeArray 45(fvec3) 18 333 394: TypePointer Input 393 334395(patch.Normal): 394(ptr) Variable Input 335 399: TypeArray 40(fvec2) 18 336 400: TypePointer Input 399 337 401(patch.UV): 400(ptr) Variable Input 338 402: TypePointer Input 40(fvec2) 339 440: TypePointer Output 43(fvec4) 340441(@entryPointOutput.Pos): 440(ptr) Variable Output 341 444: TypePointer Output 45(fvec3) 342445(@entryPointOutput.Normal): 444(ptr) Variable Output 343 448: TypePointer Output 40(fvec2) 344449(@entryPointOutput.UV): 448(ptr) Variable Output 345452(@entryPointOutput.ViewVec): 444(ptr) Variable Output 346455(@entryPointOutput.LightVec): 444(ptr) Variable Output 347458(@entryPointOutput.EyePos): 444(ptr) Variable Output 348461(@entryPointOutput.WorldPos): 444(ptr) Variable Output 349 Line 1 68 1 350 6(main): 4 Function None 5 351 7: Label 352 353(input): 39(ptr) Variable Function 353 377(TessCoord): 42(ptr) Variable Function 354 385(patch): 384(ptr) Variable Function 355433(flattenTemp): 105(ptr) Variable Function 356 435(param): 39(ptr) Variable Function 357 437(param): 42(ptr) Variable Function 358 Line 1 68 0 359 357: 356(ptr) AccessChain 355(input.TessLevelOuter) 124 360 358: 8(float) Load 357 361 359: 129(ptr) AccessChain 353(input) 124 124 362 Store 359 358 363 360: 356(ptr) AccessChain 355(input.TessLevelOuter) 127 364 361: 8(float) Load 360 365 362: 129(ptr) AccessChain 353(input) 124 127 366 Store 362 361 367 363: 356(ptr) AccessChain 355(input.TessLevelOuter) 125 368 364: 8(float) Load 363 369 365: 129(ptr) AccessChain 353(input) 124 125 370 Store 365 364 371 366: 356(ptr) AccessChain 355(input.TessLevelOuter) 140 372 367: 8(float) Load 366 373 368: 129(ptr) AccessChain 353(input) 124 140 374 Store 368 367 375 371: 356(ptr) AccessChain 370(input.TessLevelInner) 124 376 372: 8(float) Load 371 377 373: 129(ptr) AccessChain 353(input) 127 124 378 Store 373 372 379 374: 356(ptr) AccessChain 370(input.TessLevelInner) 127 380 375: 8(float) Load 374 381 376: 129(ptr) AccessChain 353(input) 127 127 382 Store 376 375 383 380: 45(fvec3) Load 379(TessCoord) 384 381: 8(float) CompositeExtract 380 0 385 382: 8(float) CompositeExtract 380 1 386 383: 40(fvec2) CompositeConstruct 381 382 387 Store 377(TessCoord) 383 388 390: 389(ptr) AccessChain 388(patch.Pos) 124 389 391: 43(fvec4) Load 390 390 392: 192(ptr) AccessChain 385(patch) 124 124 391 Store 392 391 392 396: 378(ptr) AccessChain 395(patch.Normal) 124 393 397: 45(fvec3) Load 396 394 398: 158(ptr) AccessChain 385(patch) 124 127 395 Store 398 397 396 403: 402(ptr) AccessChain 401(patch.UV) 124 397 404: 40(fvec2) Load 403 398 405: 42(ptr) AccessChain 385(patch) 124 125 399 Store 405 404 400 406: 389(ptr) AccessChain 388(patch.Pos) 127 401 407: 43(fvec4) Load 406 402 408: 192(ptr) AccessChain 385(patch) 127 124 403 Store 408 407 404 409: 378(ptr) AccessChain 395(patch.Normal) 127 405 410: 45(fvec3) Load 409 406 411: 158(ptr) AccessChain 385(patch) 127 127 407 Store 411 410 408 412: 402(ptr) AccessChain 401(patch.UV) 127 409 413: 40(fvec2) Load 412 410 414: 42(ptr) AccessChain 385(patch) 127 125 411 Store 414 413 412 415: 389(ptr) AccessChain 388(patch.Pos) 125 413 416: 43(fvec4) Load 415 414 417: 192(ptr) AccessChain 385(patch) 125 124 415 Store 417 416 416 418: 378(ptr) AccessChain 395(patch.Normal) 125 417 419: 45(fvec3) Load 418 418 420: 158(ptr) AccessChain 385(patch) 125 127 419 Store 420 419 420 421: 402(ptr) AccessChain 401(patch.UV) 125 421 422: 40(fvec2) Load 421 422 423: 42(ptr) AccessChain 385(patch) 125 125 423 Store 423 422 424 424: 389(ptr) AccessChain 388(patch.Pos) 140 425 425: 43(fvec4) Load 424 426 426: 192(ptr) AccessChain 385(patch) 140 124 427 Store 426 425 428 427: 378(ptr) AccessChain 395(patch.Normal) 140 429 428: 45(fvec3) Load 427 430 429: 158(ptr) AccessChain 385(patch) 140 127 431 Store 429 428 432 430: 402(ptr) AccessChain 401(patch.UV) 140 433 431: 40(fvec2) Load 430 434 432: 42(ptr) AccessChain 385(patch) 140 125 435 Store 432 431 436 434: 61 Load 385(patch) 437 436:24(ConstantsHSOutput) Load 353(input) 438 Store 435(param) 436 439 438: 40(fvec2) Load 377(TessCoord) 440 Store 437(param) 438 441 439:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 435(param) 437(param) 434 442 Store 433(flattenTemp) 439 443 442: 192(ptr) AccessChain 433(flattenTemp) 124 444 443: 43(fvec4) Load 442 445 Store 441(@entryPointOutput.Pos) 443 446 446: 158(ptr) AccessChain 433(flattenTemp) 127 447 447: 45(fvec3) Load 446 448 Store 445(@entryPointOutput.Normal) 447 449 450: 42(ptr) AccessChain 433(flattenTemp) 125 450 451: 40(fvec2) Load 450 451 Store 449(@entryPointOutput.UV) 451 452 453: 158(ptr) AccessChain 433(flattenTemp) 140 453 454: 45(fvec3) Load 453 454 Store 452(@entryPointOutput.ViewVec) 454 455 456: 158(ptr) AccessChain 433(flattenTemp) 296 456 457: 45(fvec3) Load 456 457 Store 455(@entryPointOutput.LightVec) 457 458 459: 158(ptr) AccessChain 433(flattenTemp) 341 459 460: 45(fvec3) Load 459 460 Store 458(@entryPointOutput.EyePos) 460 461 462: 158(ptr) AccessChain 433(flattenTemp) 335 462 463: 45(fvec3) Load 462 463 Store 461(@entryPointOutput.WorldPos) 463 464 Return 465 FunctionEnd 466 Line 1 68 1 46784(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];):63(DSOutput) Function None 79 468 81(input): 39(ptr) FunctionParameter 469 82(TessCoord): 42(ptr) FunctionParameter 470 83(patch): 61 FunctionParameter 471 85: Label 472 106(output): 105(ptr) Variable Function 473 117(uv1): 42(ptr) Variable Function 474 136(uv2): 42(ptr) Variable Function 475 159(n1): 158(ptr) Variable Function 476 171(n2): 158(ptr) Variable Function 477 193(pos1): 192(ptr) Variable Function 478 205(pos2): 192(ptr) Variable Function 479 217(pos): 192(ptr) Variable Function 480 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 87 481 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 88 88 16 16 482 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 91 81(input) 94 483 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 95 82(TessCoord) 94 484 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 83(patch) 94 485 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];) 486 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 87 487 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 104 104 16 16 488 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 107 106(output) 94 489 Store 106(output) 114 490 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 116 116 16 16 491 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(uv1) 94 492 126: 40(fvec2) CompositeExtract 83(patch) 0 2 493 128: 40(fvec2) CompositeExtract 83(patch) 1 2 494 130: 129(ptr) AccessChain 82(TessCoord) 16 495 131: 8(float) Load 130 496 132: 40(fvec2) CompositeConstruct 131 131 497 133: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 126 128 132 498 Store 117(uv1) 133 499 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 135 135 16 16 500 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 137 136(uv2) 94 501 141: 40(fvec2) CompositeExtract 83(patch) 3 2 502 142: 40(fvec2) CompositeExtract 83(patch) 2 2 503 143: 129(ptr) AccessChain 82(TessCoord) 16 504 144: 8(float) Load 143 505 145: 40(fvec2) CompositeConstruct 144 144 506 146: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 141 142 145 507 Store 136(uv2) 146 508 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 148 148 16 16 509 149: 40(fvec2) Load 117(uv1) 510 150: 40(fvec2) Load 136(uv2) 511 151: 129(ptr) AccessChain 82(TessCoord) 36 512 152: 8(float) Load 151 513 153: 40(fvec2) CompositeConstruct 152 152 514 154: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 149 150 153 515 155: 42(ptr) AccessChain 106(output) 125 516 Store 155 154 517 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 157 157 16 16 518 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(n1) 94 519 163: 45(fvec3) CompositeExtract 83(patch) 0 1 520 164: 45(fvec3) CompositeExtract 83(patch) 1 1 521 165: 129(ptr) AccessChain 82(TessCoord) 16 522 166: 8(float) Load 165 523 167: 45(fvec3) CompositeConstruct 166 166 166 524 168: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 163 164 167 525 Store 159(n1) 168 526 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 170 170 16 16 527 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 172 171(n2) 94 528 175: 45(fvec3) CompositeExtract 83(patch) 3 1 529 176: 45(fvec3) CompositeExtract 83(patch) 2 1 530 177: 129(ptr) AccessChain 82(TessCoord) 16 531 178: 8(float) Load 177 532 179: 45(fvec3) CompositeConstruct 178 178 178 533 180: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 175 176 179 534 Store 171(n2) 180 535 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 182 182 16 16 536 183: 45(fvec3) Load 159(n1) 537 184: 45(fvec3) Load 171(n2) 538 185: 129(ptr) AccessChain 82(TessCoord) 36 539 186: 8(float) Load 185 540 187: 45(fvec3) CompositeConstruct 186 186 186 541 188: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 183 184 187 542 189: 158(ptr) AccessChain 106(output) 127 543 Store 189 188 544 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 191 191 16 16 545 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 194 193(pos1) 94 546 197: 43(fvec4) CompositeExtract 83(patch) 0 0 547 198: 43(fvec4) CompositeExtract 83(patch) 1 0 548 199: 129(ptr) AccessChain 82(TessCoord) 16 549 200: 8(float) Load 199 550 201: 43(fvec4) CompositeConstruct 200 200 200 200 551 202: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 197 198 201 552 Store 193(pos1) 202 553 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 204 204 16 16 554 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 206 205(pos2) 94 555 209: 43(fvec4) CompositeExtract 83(patch) 3 0 556 210: 43(fvec4) CompositeExtract 83(patch) 2 0 557 211: 129(ptr) AccessChain 82(TessCoord) 16 558 212: 8(float) Load 211 559 213: 43(fvec4) CompositeConstruct 212 212 212 212 560 214: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 209 210 213 561 Store 205(pos2) 214 562 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 216 216 16 16 563 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 218 217(pos) 94 564 221: 43(fvec4) Load 193(pos1) 565 222: 43(fvec4) Load 205(pos2) 566 223: 129(ptr) AccessChain 82(TessCoord) 36 567 224: 8(float) Load 223 568 225: 43(fvec4) CompositeConstruct 224 224 224 224 569 226: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 221 222 225 570 Store 217(pos) 226 571 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 228 228 16 16 572 239: 229 Load 235(displacementMapTexture) 573 248: 240 Load 245(displacementMapSampler) 574 253: 249 SampledImage 239 248 575 254: 42(ptr) AccessChain 106(output) 125 576 255: 40(fvec2) Load 254 577 256: 43(fvec4) ImageSampleExplicitLod 253 255 Lod 110 578 257: 8(float) CompositeExtract 256 0 579 298: 297(ptr) AccessChain 294 124 296 580 299: 8(float) Load 298 581 300: 8(float) FMul 257 299 582 301: 129(ptr) AccessChain 217(pos) 36 583 302: 8(float) Load 301 584 303: 8(float) FSub 302 300 585 304: 129(ptr) AccessChain 217(pos) 36 586 Store 304 303 587 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 306 306 16 16 588 307: 43(fvec4) Load 217(pos) 589 309: 308(ptr) AccessChain 294 124 127 590 310: 258 Load 309 591 311: 43(fvec4) VectorTimesMatrix 307 310 592 312: 308(ptr) AccessChain 294 124 124 593 313: 258 Load 312 594 314: 43(fvec4) VectorTimesMatrix 311 313 595 315: 192(ptr) AccessChain 106(output) 124 596 Store 315 314 597 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 317 317 16 16 598 318: 43(fvec4) Load 217(pos) 599 319: 45(fvec3) VectorShuffle 318 318 0 1 2 600 320: 45(fvec3) FNegate 319 601 321: 158(ptr) AccessChain 106(output) 140 602 Store 321 320 603 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 323 323 16 16 604 325: 324(ptr) AccessChain 294 124 125 605 326: 43(fvec4) Load 325 606 327: 45(fvec3) VectorShuffle 326 326 0 1 2 607 328: 158(ptr) AccessChain 106(output) 140 608 329: 45(fvec3) Load 328 609 330: 45(fvec3) FAdd 327 329 610 331: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 330 611 332: 158(ptr) AccessChain 106(output) 296 612 Store 332 331 613 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 334 334 16 16 614 336: 43(fvec4) Load 217(pos) 615 337: 45(fvec3) VectorShuffle 336 336 0 1 2 616 338: 158(ptr) AccessChain 106(output) 335 617 Store 338 337 618 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 340 340 16 16 619 342: 43(fvec4) Load 217(pos) 620 343: 308(ptr) AccessChain 294 124 127 621 344: 258 Load 343 622 345: 43(fvec4) VectorTimesMatrix 342 344 623 346: 45(fvec3) VectorShuffle 345 345 0 1 2 624 347: 158(ptr) AccessChain 106(output) 341 625 Store 347 346 626 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 349 349 16 16 627 350:63(DSOutput) Load 106(output) 628 ReturnValue 350 629 FunctionEnd 630