1hlsl.gather.array.dx10.frag 2Shader version: 500 3gl_FragCoord origin is upper left 4using depth_any 50:? Sequence 60:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 70:24 Function Parameters: 80:? Sequence 90:29 Sequence 100:29 move second child to first child ( temp 4-component vector of float) 110:29 'txval20' ( temp 4-component vector of float) 120:29 textureGather ( temp 4-component vector of float) 130:29 Construct combined texture-sampler ( temp sampler2DArray) 140:29 'g_tTex2df4a' ( uniform texture2DArray) 150:29 'g_sSamp' (layout( binding=0) uniform sampler) 160:? Constant: 170:? 0.100000 180:? 0.200000 190:? 0.300000 200:30 Sequence 210:30 move second child to first child ( temp 4-component vector of int) 220:30 'txval21' ( temp 4-component vector of int) 230:30 textureGather ( temp 4-component vector of int) 240:30 Construct combined texture-sampler ( temp isampler2DArray) 250:30 'g_tTex2di4a' ( uniform itexture2DArray) 260:30 'g_sSamp' (layout( binding=0) uniform sampler) 270:? Constant: 280:? 0.300000 290:? 0.400000 300:? 0.500000 310:31 Sequence 320:31 move second child to first child ( temp 4-component vector of uint) 330:31 'txval22' ( temp 4-component vector of uint) 340:31 textureGather ( temp 4-component vector of uint) 350:31 Construct combined texture-sampler ( temp usampler2DArray) 360:31 'g_tTex2du4a' ( uniform utexture2DArray) 370:31 'g_sSamp' (layout( binding=0) uniform sampler) 380:? Constant: 390:? 0.500000 400:? 0.600000 410:? 0.700000 420:35 Sequence 430:35 move second child to first child ( temp 4-component vector of float) 440:35 'txval40' ( temp 4-component vector of float) 450:35 textureGather ( temp 4-component vector of float) 460:35 Construct combined texture-sampler ( temp samplerCubeArray) 470:35 'g_tTexcdf4a' ( uniform textureCubeArray) 480:35 'g_sSamp' (layout( binding=0) uniform sampler) 490:? Constant: 500:? 0.100000 510:? 0.200000 520:? 0.300000 530:? 0.400000 540:36 Sequence 550:36 move second child to first child ( temp 4-component vector of int) 560:36 'txval41' ( temp 4-component vector of int) 570:36 textureGather ( temp 4-component vector of int) 580:36 Construct combined texture-sampler ( temp isamplerCubeArray) 590:36 'g_tTexcdi4a' ( uniform itextureCubeArray) 600:36 'g_sSamp' (layout( binding=0) uniform sampler) 610:? Constant: 620:? 0.400000 630:? 0.500000 640:? 0.600000 650:? 0.700000 660:37 Sequence 670:37 move second child to first child ( temp 4-component vector of uint) 680:37 'txval42' ( temp 4-component vector of uint) 690:37 textureGather ( temp 4-component vector of uint) 700:37 Construct combined texture-sampler ( temp usamplerCubeArray) 710:37 'g_tTexcdu4a' ( uniform utextureCubeArray) 720:37 'g_sSamp' (layout( binding=0) uniform sampler) 730:? Constant: 740:? 0.700000 750:? 0.800000 760:? 0.900000 770:? 1.000000 780:39 move second child to first child ( temp 4-component vector of float) 790:39 Color: direct index for structure ( temp 4-component vector of float) 800:39 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 810:39 Constant: 820:39 0 (const int) 830:39 Constant: 840:39 1.000000 850:39 1.000000 860:39 1.000000 870:39 1.000000 880:40 move second child to first child ( temp float) 890:40 Depth: direct index for structure ( temp float) 900:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 910:40 Constant: 920:40 1 (const int) 930:40 Constant: 940:40 1.000000 950:42 Branch: Return with expression 960:42 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 970:24 Function Definition: main( ( temp void) 980:24 Function Parameters: 990:? Sequence 1000:24 Sequence 1010:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1020:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1030:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1040:24 move second child to first child ( temp 4-component vector of float) 1050:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 1060:24 Color: direct index for structure ( temp 4-component vector of float) 1070:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1080:24 Constant: 1090:24 0 (const int) 1100:24 move second child to first child ( temp float) 1110:? '@entryPointOutput.Depth' ( out float FragDepth) 1120:24 Depth: direct index for structure ( temp float) 1130:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1140:24 Constant: 1150:24 1 (const int) 1160:? Linker Objects 1170:? 'g_sSamp' (layout( binding=0) uniform sampler) 1180:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 1190:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 1200:? 'g_tTex1di4a' ( uniform itexture1DArray) 1210:? 'g_tTex1du4a' ( uniform utexture1DArray) 1220:? 'g_tTex2df4a' ( uniform texture2DArray) 1230:? 'g_tTex2di4a' ( uniform itexture2DArray) 1240:? 'g_tTex2du4a' ( uniform utexture2DArray) 1250:? 'g_tTexcdf4a' ( uniform textureCubeArray) 1260:? 'g_tTexcdi4a' ( uniform itextureCubeArray) 1270:? 'g_tTexcdu4a' ( uniform utextureCubeArray) 1280:? '@entryPointOutput.Depth' ( out float FragDepth) 1290:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 130 131 132Linked fragment stage: 133 134 135Shader version: 500 136gl_FragCoord origin is upper left 137using depth_any 1380:? Sequence 1390:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1400:24 Function Parameters: 1410:? Sequence 1420:29 Sequence 1430:29 move second child to first child ( temp 4-component vector of float) 1440:29 'txval20' ( temp 4-component vector of float) 1450:29 textureGather ( temp 4-component vector of float) 1460:29 Construct combined texture-sampler ( temp sampler2DArray) 1470:29 'g_tTex2df4a' ( uniform texture2DArray) 1480:29 'g_sSamp' (layout( binding=0) uniform sampler) 1490:? Constant: 1500:? 0.100000 1510:? 0.200000 1520:? 0.300000 1530:30 Sequence 1540:30 move second child to first child ( temp 4-component vector of int) 1550:30 'txval21' ( temp 4-component vector of int) 1560:30 textureGather ( temp 4-component vector of int) 1570:30 Construct combined texture-sampler ( temp isampler2DArray) 1580:30 'g_tTex2di4a' ( uniform itexture2DArray) 1590:30 'g_sSamp' (layout( binding=0) uniform sampler) 1600:? Constant: 1610:? 0.300000 1620:? 0.400000 1630:? 0.500000 1640:31 Sequence 1650:31 move second child to first child ( temp 4-component vector of uint) 1660:31 'txval22' ( temp 4-component vector of uint) 1670:31 textureGather ( temp 4-component vector of uint) 1680:31 Construct combined texture-sampler ( temp usampler2DArray) 1690:31 'g_tTex2du4a' ( uniform utexture2DArray) 1700:31 'g_sSamp' (layout( binding=0) uniform sampler) 1710:? Constant: 1720:? 0.500000 1730:? 0.600000 1740:? 0.700000 1750:35 Sequence 1760:35 move second child to first child ( temp 4-component vector of float) 1770:35 'txval40' ( temp 4-component vector of float) 1780:35 textureGather ( temp 4-component vector of float) 1790:35 Construct combined texture-sampler ( temp samplerCubeArray) 1800:35 'g_tTexcdf4a' ( uniform textureCubeArray) 1810:35 'g_sSamp' (layout( binding=0) uniform sampler) 1820:? Constant: 1830:? 0.100000 1840:? 0.200000 1850:? 0.300000 1860:? 0.400000 1870:36 Sequence 1880:36 move second child to first child ( temp 4-component vector of int) 1890:36 'txval41' ( temp 4-component vector of int) 1900:36 textureGather ( temp 4-component vector of int) 1910:36 Construct combined texture-sampler ( temp isamplerCubeArray) 1920:36 'g_tTexcdi4a' ( uniform itextureCubeArray) 1930:36 'g_sSamp' (layout( binding=0) uniform sampler) 1940:? Constant: 1950:? 0.400000 1960:? 0.500000 1970:? 0.600000 1980:? 0.700000 1990:37 Sequence 2000:37 move second child to first child ( temp 4-component vector of uint) 2010:37 'txval42' ( temp 4-component vector of uint) 2020:37 textureGather ( temp 4-component vector of uint) 2030:37 Construct combined texture-sampler ( temp usamplerCubeArray) 2040:37 'g_tTexcdu4a' ( uniform utextureCubeArray) 2050:37 'g_sSamp' (layout( binding=0) uniform sampler) 2060:? Constant: 2070:? 0.700000 2080:? 0.800000 2090:? 0.900000 2100:? 1.000000 2110:39 move second child to first child ( temp 4-component vector of float) 2120:39 Color: direct index for structure ( temp 4-component vector of float) 2130:39 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2140:39 Constant: 2150:39 0 (const int) 2160:39 Constant: 2170:39 1.000000 2180:39 1.000000 2190:39 1.000000 2200:39 1.000000 2210:40 move second child to first child ( temp float) 2220:40 Depth: direct index for structure ( temp float) 2230:40 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2240:40 Constant: 2250:40 1 (const int) 2260:40 Constant: 2270:40 1.000000 2280:42 Branch: Return with expression 2290:42 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2300:24 Function Definition: main( ( temp void) 2310:24 Function Parameters: 2320:? Sequence 2330:24 Sequence 2340:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2350:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2360:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2370:24 move second child to first child ( temp 4-component vector of float) 2380:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 2390:24 Color: direct index for structure ( temp 4-component vector of float) 2400:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2410:24 Constant: 2420:24 0 (const int) 2430:24 move second child to first child ( temp float) 2440:? '@entryPointOutput.Depth' ( out float FragDepth) 2450:24 Depth: direct index for structure ( temp float) 2460:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2470:24 Constant: 2480:24 1 (const int) 2490:? Linker Objects 2500:? 'g_sSamp' (layout( binding=0) uniform sampler) 2510:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 2520:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 2530:? 'g_tTex1di4a' ( uniform itexture1DArray) 2540:? 'g_tTex1du4a' ( uniform utexture1DArray) 2550:? 'g_tTex2df4a' ( uniform texture2DArray) 2560:? 'g_tTex2di4a' ( uniform itexture2DArray) 2570:? 'g_tTex2du4a' ( uniform utexture2DArray) 2580:? 'g_tTexcdf4a' ( uniform textureCubeArray) 2590:? 'g_tTexcdi4a' ( uniform itextureCubeArray) 2600:? 'g_tTexcdu4a' ( uniform utextureCubeArray) 2610:? '@entryPointOutput.Depth' ( out float FragDepth) 2620:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 263 264// Module Version 10000 265// Generated by (magic number): 80007 266// Id's are bound by 124 267 268 Capability Shader 269 Capability Sampled1D 270 Capability SampledCubeArray 271 1: ExtInstImport "GLSL.std.450" 272 MemoryModel Logical GLSL450 273 EntryPoint Fragment 4 "main" 107 111 274 ExecutionMode 4 OriginUpperLeft 275 ExecutionMode 4 DepthReplacing 276 Source HLSL 500 277 Name 4 "main" 278 Name 8 "PS_OUTPUT" 279 MemberName 8(PS_OUTPUT) 0 "Color" 280 MemberName 8(PS_OUTPUT) 1 "Depth" 281 Name 10 "@main(" 282 Name 13 "txval20" 283 Name 16 "g_tTex2df4a" 284 Name 20 "g_sSamp" 285 Name 34 "txval21" 286 Name 37 "g_tTex2di4a" 287 Name 49 "txval22" 288 Name 52 "g_tTex2du4a" 289 Name 61 "txval40" 290 Name 64 "g_tTexcdf4a" 291 Name 71 "txval41" 292 Name 74 "g_tTexcdi4a" 293 Name 81 "txval42" 294 Name 84 "g_tTexcdu4a" 295 Name 95 "psout" 296 Name 104 "flattenTemp" 297 Name 107 "@entryPointOutput.Color" 298 Name 111 "@entryPointOutput.Depth" 299 Name 116 "g_tTex1df4a" 300 Name 117 "g_tTex1df4" 301 Name 120 "g_tTex1di4a" 302 Name 123 "g_tTex1du4a" 303 Decorate 16(g_tTex2df4a) DescriptorSet 0 304 Decorate 20(g_sSamp) DescriptorSet 0 305 Decorate 20(g_sSamp) Binding 0 306 Decorate 37(g_tTex2di4a) DescriptorSet 0 307 Decorate 52(g_tTex2du4a) DescriptorSet 0 308 Decorate 64(g_tTexcdf4a) DescriptorSet 0 309 Decorate 74(g_tTexcdi4a) DescriptorSet 0 310 Decorate 84(g_tTexcdu4a) DescriptorSet 0 311 Decorate 107(@entryPointOutput.Color) Location 0 312 Decorate 111(@entryPointOutput.Depth) BuiltIn FragDepth 313 Decorate 116(g_tTex1df4a) DescriptorSet 0 314 Decorate 116(g_tTex1df4a) Binding 1 315 Decorate 117(g_tTex1df4) DescriptorSet 0 316 Decorate 117(g_tTex1df4) Binding 0 317 Decorate 120(g_tTex1di4a) DescriptorSet 0 318 Decorate 123(g_tTex1du4a) DescriptorSet 0 319 2: TypeVoid 320 3: TypeFunction 2 321 6: TypeFloat 32 322 7: TypeVector 6(float) 4 323 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 324 9: TypeFunction 8(PS_OUTPUT) 325 12: TypePointer Function 7(fvec4) 326 14: TypeImage 6(float) 2D array sampled format:Unknown 327 15: TypePointer UniformConstant 14 328 16(g_tTex2df4a): 15(ptr) Variable UniformConstant 329 18: TypeSampler 330 19: TypePointer UniformConstant 18 331 20(g_sSamp): 19(ptr) Variable UniformConstant 332 22: TypeSampledImage 14 333 24: TypeVector 6(float) 3 334 25: 6(float) Constant 1036831949 335 26: 6(float) Constant 1045220557 336 27: 6(float) Constant 1050253722 337 28: 24(fvec3) ConstantComposite 25 26 27 338 29: TypeInt 32 1 339 30: 29(int) Constant 0 340 32: TypeVector 29(int) 4 341 33: TypePointer Function 32(ivec4) 342 35: TypeImage 29(int) 2D array sampled format:Unknown 343 36: TypePointer UniformConstant 35 344 37(g_tTex2di4a): 36(ptr) Variable UniformConstant 345 40: TypeSampledImage 35 346 42: 6(float) Constant 1053609165 347 43: 6(float) Constant 1056964608 348 44: 24(fvec3) ConstantComposite 27 42 43 349 46: TypeInt 32 0 350 47: TypeVector 46(int) 4 351 48: TypePointer Function 47(ivec4) 352 50: TypeImage 46(int) 2D array sampled format:Unknown 353 51: TypePointer UniformConstant 50 354 52(g_tTex2du4a): 51(ptr) Variable UniformConstant 355 55: TypeSampledImage 50 356 57: 6(float) Constant 1058642330 357 58: 6(float) Constant 1060320051 358 59: 24(fvec3) ConstantComposite 43 57 58 359 62: TypeImage 6(float) Cube array sampled format:Unknown 360 63: TypePointer UniformConstant 62 361 64(g_tTexcdf4a): 63(ptr) Variable UniformConstant 362 67: TypeSampledImage 62 363 69: 7(fvec4) ConstantComposite 25 26 27 42 364 72: TypeImage 29(int) Cube array sampled format:Unknown 365 73: TypePointer UniformConstant 72 366 74(g_tTexcdi4a): 73(ptr) Variable UniformConstant 367 77: TypeSampledImage 72 368 79: 7(fvec4) ConstantComposite 42 43 57 58 369 82: TypeImage 46(int) Cube array sampled format:Unknown 370 83: TypePointer UniformConstant 82 371 84(g_tTexcdu4a): 83(ptr) Variable UniformConstant 372 87: TypeSampledImage 82 373 89: 6(float) Constant 1061997773 374 90: 6(float) Constant 1063675494 375 91: 6(float) Constant 1065353216 376 92: 7(fvec4) ConstantComposite 58 89 90 91 377 94: TypePointer Function 8(PS_OUTPUT) 378 96: 7(fvec4) ConstantComposite 91 91 91 91 379 98: 29(int) Constant 1 380 99: TypePointer Function 6(float) 381 106: TypePointer Output 7(fvec4) 382107(@entryPointOutput.Color): 106(ptr) Variable Output 383 110: TypePointer Output 6(float) 384111(@entryPointOutput.Depth): 110(ptr) Variable Output 385 114: TypeImage 6(float) 1D array sampled format:Unknown 386 115: TypePointer UniformConstant 114 387116(g_tTex1df4a): 115(ptr) Variable UniformConstant 388 117(g_tTex1df4): 115(ptr) Variable UniformConstant 389 118: TypeImage 29(int) 1D array sampled format:Unknown 390 119: TypePointer UniformConstant 118 391120(g_tTex1di4a): 119(ptr) Variable UniformConstant 392 121: TypeImage 46(int) 1D array sampled format:Unknown 393 122: TypePointer UniformConstant 121 394123(g_tTex1du4a): 122(ptr) Variable UniformConstant 395 4(main): 2 Function None 3 396 5: Label 397104(flattenTemp): 94(ptr) Variable Function 398 105:8(PS_OUTPUT) FunctionCall 10(@main() 399 Store 104(flattenTemp) 105 400 108: 12(ptr) AccessChain 104(flattenTemp) 30 401 109: 7(fvec4) Load 108 402 Store 107(@entryPointOutput.Color) 109 403 112: 99(ptr) AccessChain 104(flattenTemp) 98 404 113: 6(float) Load 112 405 Store 111(@entryPointOutput.Depth) 113 406 Return 407 FunctionEnd 408 10(@main():8(PS_OUTPUT) Function None 9 409 11: Label 410 13(txval20): 12(ptr) Variable Function 411 34(txval21): 33(ptr) Variable Function 412 49(txval22): 48(ptr) Variable Function 413 61(txval40): 12(ptr) Variable Function 414 71(txval41): 33(ptr) Variable Function 415 81(txval42): 48(ptr) Variable Function 416 95(psout): 94(ptr) Variable Function 417 17: 14 Load 16(g_tTex2df4a) 418 21: 18 Load 20(g_sSamp) 419 23: 22 SampledImage 17 21 420 31: 7(fvec4) ImageGather 23 28 30 421 Store 13(txval20) 31 422 38: 35 Load 37(g_tTex2di4a) 423 39: 18 Load 20(g_sSamp) 424 41: 40 SampledImage 38 39 425 45: 32(ivec4) ImageGather 41 44 30 426 Store 34(txval21) 45 427 53: 50 Load 52(g_tTex2du4a) 428 54: 18 Load 20(g_sSamp) 429 56: 55 SampledImage 53 54 430 60: 47(ivec4) ImageGather 56 59 30 431 Store 49(txval22) 60 432 65: 62 Load 64(g_tTexcdf4a) 433 66: 18 Load 20(g_sSamp) 434 68: 67 SampledImage 65 66 435 70: 7(fvec4) ImageGather 68 69 30 436 Store 61(txval40) 70 437 75: 72 Load 74(g_tTexcdi4a) 438 76: 18 Load 20(g_sSamp) 439 78: 77 SampledImage 75 76 440 80: 32(ivec4) ImageGather 78 79 30 441 Store 71(txval41) 80 442 85: 82 Load 84(g_tTexcdu4a) 443 86: 18 Load 20(g_sSamp) 444 88: 87 SampledImage 85 86 445 93: 47(ivec4) ImageGather 88 92 30 446 Store 81(txval42) 93 447 97: 12(ptr) AccessChain 95(psout) 30 448 Store 97 96 449 100: 99(ptr) AccessChain 95(psout) 98 450 Store 100 91 451 101:8(PS_OUTPUT) Load 95(psout) 452 ReturnValue 101 453 FunctionEnd 454