1hlsl.samplelevel.offsetarray.dx10.frag 2Shader version: 500 3gl_FragCoord origin is upper left 4using depth_any 50:? Sequence 60:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 70:20 Function Parameters: 80:? Sequence 90:23 Sequence 100:23 move second child to first child ( temp 4-component vector of float) 110:23 'txval10' ( temp 4-component vector of float) 120:23 textureLodOffset ( temp 4-component vector of float) 130:23 Construct combined texture-sampler ( temp sampler1DArray) 140:23 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 150:23 'g_sSamp' (layout( binding=0) uniform sampler) 160:? Constant: 170:? 0.100000 180:? 0.200000 190:23 Constant: 200:23 0.750000 210:23 Constant: 220:23 0 (const int) 230:24 Sequence 240:24 move second child to first child ( temp 4-component vector of int) 250:24 'txval11' ( temp 4-component vector of int) 260:24 textureLodOffset ( temp 4-component vector of int) 270:24 Construct combined texture-sampler ( temp isampler1DArray) 280:24 'g_tTex1di4' ( uniform itexture1DArray) 290:24 'g_sSamp' (layout( binding=0) uniform sampler) 300:? Constant: 310:? 0.200000 320:? 0.300000 330:24 Constant: 340:24 0.750000 350:24 Constant: 360:24 1 (const int) 370:25 Sequence 380:25 move second child to first child ( temp 4-component vector of uint) 390:25 'txval12' ( temp 4-component vector of uint) 400:25 textureLodOffset ( temp 4-component vector of uint) 410:25 Construct combined texture-sampler ( temp usampler1DArray) 420:25 'g_tTex1du4' ( uniform utexture1DArray) 430:25 'g_sSamp' (layout( binding=0) uniform sampler) 440:? Constant: 450:? 0.300000 460:? 0.400000 470:25 Constant: 480:25 0.750000 490:25 Constant: 500:25 2 (const int) 510:27 Sequence 520:27 move second child to first child ( temp 4-component vector of float) 530:27 'txval20' ( temp 4-component vector of float) 540:27 textureLodOffset ( temp 4-component vector of float) 550:27 Construct combined texture-sampler ( temp sampler2DArray) 560:27 'g_tTex2df4' ( uniform texture2DArray) 570:27 'g_sSamp' (layout( binding=0) uniform sampler) 580:? Constant: 590:? 0.100000 600:? 0.200000 610:? 0.300000 620:27 Constant: 630:27 0.750000 640:? Constant: 650:? 0 (const int) 660:? 0 (const int) 670:28 Sequence 680:28 move second child to first child ( temp 4-component vector of int) 690:28 'txval21' ( temp 4-component vector of int) 700:28 textureLodOffset ( temp 4-component vector of int) 710:28 Construct combined texture-sampler ( temp isampler2DArray) 720:28 'g_tTex2di4' ( uniform itexture2DArray) 730:28 'g_sSamp' (layout( binding=0) uniform sampler) 740:? Constant: 750:? 0.300000 760:? 0.400000 770:? 0.500000 780:28 Constant: 790:28 0.750000 800:? Constant: 810:? 0 (const int) 820:? 0 (const int) 830:29 Sequence 840:29 move second child to first child ( temp 4-component vector of uint) 850:29 'txval22' ( temp 4-component vector of uint) 860:29 textureLodOffset ( temp 4-component vector of uint) 870:29 Construct combined texture-sampler ( temp usampler2DArray) 880:29 'g_tTex2du4' ( uniform utexture2DArray) 890:29 'g_sSamp' (layout( binding=0) uniform sampler) 900:? Constant: 910:? 0.500000 920:? 0.600000 930:? 0.700000 940:29 Constant: 950:29 0.750000 960:? Constant: 970:? 0 (const int) 980:? 1 (const int) 990:33 move second child to first child ( temp 4-component vector of float) 1000:33 Color: direct index for structure ( temp 4-component vector of float) 1010:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1020:33 Constant: 1030:33 0 (const int) 1040:33 Constant: 1050:33 1.000000 1060:33 1.000000 1070:33 1.000000 1080:33 1.000000 1090:34 move second child to first child ( temp float) 1100:34 Depth: direct index for structure ( temp float) 1110:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1120:34 Constant: 1130:34 1 (const int) 1140:34 Constant: 1150:34 1.000000 1160:36 Branch: Return with expression 1170:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1180:20 Function Definition: main( ( temp void) 1190:20 Function Parameters: 1200:? Sequence 1210:20 Sequence 1220:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1230:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1240:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1250:20 move second child to first child ( temp 4-component vector of float) 1260:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 1270:20 Color: direct index for structure ( temp 4-component vector of float) 1280:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1290:20 Constant: 1300:20 0 (const int) 1310:20 move second child to first child ( temp float) 1320:? '@entryPointOutput.Depth' ( out float FragDepth) 1330:20 Depth: direct index for structure ( temp float) 1340:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1350:20 Constant: 1360:20 1 (const int) 1370:? Linker Objects 1380:? 'g_sSamp' (layout( binding=0) uniform sampler) 1390:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 1400:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 1410:? 'g_tTex1di4' ( uniform itexture1DArray) 1420:? 'g_tTex1du4' ( uniform utexture1DArray) 1430:? 'g_tTex2df4' ( uniform texture2DArray) 1440:? 'g_tTex2di4' ( uniform itexture2DArray) 1450:? 'g_tTex2du4' ( uniform utexture2DArray) 1460:? '@entryPointOutput.Depth' ( out float FragDepth) 1470:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 148 149 150Linked fragment stage: 151 152 153Shader version: 500 154gl_FragCoord origin is upper left 155using depth_any 1560:? Sequence 1570:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1580:20 Function Parameters: 1590:? Sequence 1600:23 Sequence 1610:23 move second child to first child ( temp 4-component vector of float) 1620:23 'txval10' ( temp 4-component vector of float) 1630:23 textureLodOffset ( temp 4-component vector of float) 1640:23 Construct combined texture-sampler ( temp sampler1DArray) 1650:23 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 1660:23 'g_sSamp' (layout( binding=0) uniform sampler) 1670:? Constant: 1680:? 0.100000 1690:? 0.200000 1700:23 Constant: 1710:23 0.750000 1720:23 Constant: 1730:23 0 (const int) 1740:24 Sequence 1750:24 move second child to first child ( temp 4-component vector of int) 1760:24 'txval11' ( temp 4-component vector of int) 1770:24 textureLodOffset ( temp 4-component vector of int) 1780:24 Construct combined texture-sampler ( temp isampler1DArray) 1790:24 'g_tTex1di4' ( uniform itexture1DArray) 1800:24 'g_sSamp' (layout( binding=0) uniform sampler) 1810:? Constant: 1820:? 0.200000 1830:? 0.300000 1840:24 Constant: 1850:24 0.750000 1860:24 Constant: 1870:24 1 (const int) 1880:25 Sequence 1890:25 move second child to first child ( temp 4-component vector of uint) 1900:25 'txval12' ( temp 4-component vector of uint) 1910:25 textureLodOffset ( temp 4-component vector of uint) 1920:25 Construct combined texture-sampler ( temp usampler1DArray) 1930:25 'g_tTex1du4' ( uniform utexture1DArray) 1940:25 'g_sSamp' (layout( binding=0) uniform sampler) 1950:? Constant: 1960:? 0.300000 1970:? 0.400000 1980:25 Constant: 1990:25 0.750000 2000:25 Constant: 2010:25 2 (const int) 2020:27 Sequence 2030:27 move second child to first child ( temp 4-component vector of float) 2040:27 'txval20' ( temp 4-component vector of float) 2050:27 textureLodOffset ( temp 4-component vector of float) 2060:27 Construct combined texture-sampler ( temp sampler2DArray) 2070:27 'g_tTex2df4' ( uniform texture2DArray) 2080:27 'g_sSamp' (layout( binding=0) uniform sampler) 2090:? Constant: 2100:? 0.100000 2110:? 0.200000 2120:? 0.300000 2130:27 Constant: 2140:27 0.750000 2150:? Constant: 2160:? 0 (const int) 2170:? 0 (const int) 2180:28 Sequence 2190:28 move second child to first child ( temp 4-component vector of int) 2200:28 'txval21' ( temp 4-component vector of int) 2210:28 textureLodOffset ( temp 4-component vector of int) 2220:28 Construct combined texture-sampler ( temp isampler2DArray) 2230:28 'g_tTex2di4' ( uniform itexture2DArray) 2240:28 'g_sSamp' (layout( binding=0) uniform sampler) 2250:? Constant: 2260:? 0.300000 2270:? 0.400000 2280:? 0.500000 2290:28 Constant: 2300:28 0.750000 2310:? Constant: 2320:? 0 (const int) 2330:? 0 (const int) 2340:29 Sequence 2350:29 move second child to first child ( temp 4-component vector of uint) 2360:29 'txval22' ( temp 4-component vector of uint) 2370:29 textureLodOffset ( temp 4-component vector of uint) 2380:29 Construct combined texture-sampler ( temp usampler2DArray) 2390:29 'g_tTex2du4' ( uniform utexture2DArray) 2400:29 'g_sSamp' (layout( binding=0) uniform sampler) 2410:? Constant: 2420:? 0.500000 2430:? 0.600000 2440:? 0.700000 2450:29 Constant: 2460:29 0.750000 2470:? Constant: 2480:? 0 (const int) 2490:? 1 (const int) 2500:33 move second child to first child ( temp 4-component vector of float) 2510:33 Color: direct index for structure ( temp 4-component vector of float) 2520:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2530:33 Constant: 2540:33 0 (const int) 2550:33 Constant: 2560:33 1.000000 2570:33 1.000000 2580:33 1.000000 2590:33 1.000000 2600:34 move second child to first child ( temp float) 2610:34 Depth: direct index for structure ( temp float) 2620:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2630:34 Constant: 2640:34 1 (const int) 2650:34 Constant: 2660:34 1.000000 2670:36 Branch: Return with expression 2680:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2690:20 Function Definition: main( ( temp void) 2700:20 Function Parameters: 2710:? Sequence 2720:20 Sequence 2730:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2740:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2750:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2760:20 move second child to first child ( temp 4-component vector of float) 2770:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 2780:20 Color: direct index for structure ( temp 4-component vector of float) 2790:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2800:20 Constant: 2810:20 0 (const int) 2820:20 move second child to first child ( temp float) 2830:? '@entryPointOutput.Depth' ( out float FragDepth) 2840:20 Depth: direct index for structure ( temp float) 2850:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2860:20 Constant: 2870:20 1 (const int) 2880:? Linker Objects 2890:? 'g_sSamp' (layout( binding=0) uniform sampler) 2900:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 2910:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 2920:? 'g_tTex1di4' ( uniform itexture1DArray) 2930:? 'g_tTex1du4' ( uniform utexture1DArray) 2940:? 'g_tTex2df4' ( uniform texture2DArray) 2950:? 'g_tTex2di4' ( uniform itexture2DArray) 2960:? 'g_tTex2du4' ( uniform utexture2DArray) 2970:? '@entryPointOutput.Depth' ( out float FragDepth) 2980:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 299 300// Module Version 10000 301// Generated by (magic number): 80007 302// Id's are bound by 119 303 304 Capability Shader 305 Capability Sampled1D 306 1: ExtInstImport "GLSL.std.450" 307 MemoryModel Logical GLSL450 308 EntryPoint Fragment 4 "main" 111 115 309 ExecutionMode 4 OriginUpperLeft 310 ExecutionMode 4 DepthReplacing 311 Source HLSL 500 312 Name 4 "main" 313 Name 8 "PS_OUTPUT" 314 MemberName 8(PS_OUTPUT) 0 "Color" 315 MemberName 8(PS_OUTPUT) 1 "Depth" 316 Name 10 "@main(" 317 Name 13 "txval10" 318 Name 16 "g_tTex1df4" 319 Name 20 "g_sSamp" 320 Name 34 "txval11" 321 Name 37 "g_tTex1di4" 322 Name 49 "txval12" 323 Name 52 "g_tTex1du4" 324 Name 61 "txval20" 325 Name 64 "g_tTex2df4" 326 Name 74 "txval21" 327 Name 77 "g_tTex2di4" 328 Name 85 "txval22" 329 Name 88 "g_tTex2du4" 330 Name 99 "psout" 331 Name 108 "flattenTemp" 332 Name 111 "@entryPointOutput.Color" 333 Name 115 "@entryPointOutput.Depth" 334 Name 118 "g_tTex1df4a" 335 Decorate 16(g_tTex1df4) DescriptorSet 0 336 Decorate 16(g_tTex1df4) Binding 0 337 Decorate 20(g_sSamp) DescriptorSet 0 338 Decorate 20(g_sSamp) Binding 0 339 Decorate 37(g_tTex1di4) DescriptorSet 0 340 Decorate 37(g_tTex1di4) Binding 0 341 Decorate 52(g_tTex1du4) DescriptorSet 0 342 Decorate 52(g_tTex1du4) Binding 0 343 Decorate 64(g_tTex2df4) DescriptorSet 0 344 Decorate 64(g_tTex2df4) Binding 0 345 Decorate 77(g_tTex2di4) DescriptorSet 0 346 Decorate 77(g_tTex2di4) Binding 0 347 Decorate 88(g_tTex2du4) DescriptorSet 0 348 Decorate 88(g_tTex2du4) Binding 0 349 Decorate 111(@entryPointOutput.Color) Location 0 350 Decorate 115(@entryPointOutput.Depth) BuiltIn FragDepth 351 Decorate 118(g_tTex1df4a) DescriptorSet 0 352 Decorate 118(g_tTex1df4a) Binding 1 353 2: TypeVoid 354 3: TypeFunction 2 355 6: TypeFloat 32 356 7: TypeVector 6(float) 4 357 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 358 9: TypeFunction 8(PS_OUTPUT) 359 12: TypePointer Function 7(fvec4) 360 14: TypeImage 6(float) 1D array sampled format:Unknown 361 15: TypePointer UniformConstant 14 362 16(g_tTex1df4): 15(ptr) Variable UniformConstant 363 18: TypeSampler 364 19: TypePointer UniformConstant 18 365 20(g_sSamp): 19(ptr) Variable UniformConstant 366 22: TypeSampledImage 14 367 24: TypeVector 6(float) 2 368 25: 6(float) Constant 1036831949 369 26: 6(float) Constant 1045220557 370 27: 24(fvec2) ConstantComposite 25 26 371 28: 6(float) Constant 1061158912 372 29: TypeInt 32 1 373 30: 29(int) Constant 0 374 32: TypeVector 29(int) 4 375 33: TypePointer Function 32(ivec4) 376 35: TypeImage 29(int) 1D array sampled format:Unknown 377 36: TypePointer UniformConstant 35 378 37(g_tTex1di4): 36(ptr) Variable UniformConstant 379 40: TypeSampledImage 35 380 42: 6(float) Constant 1050253722 381 43: 24(fvec2) ConstantComposite 26 42 382 44: 29(int) Constant 1 383 46: TypeInt 32 0 384 47: TypeVector 46(int) 4 385 48: TypePointer Function 47(ivec4) 386 50: TypeImage 46(int) 1D array sampled format:Unknown 387 51: TypePointer UniformConstant 50 388 52(g_tTex1du4): 51(ptr) Variable UniformConstant 389 55: TypeSampledImage 50 390 57: 6(float) Constant 1053609165 391 58: 24(fvec2) ConstantComposite 42 57 392 59: 29(int) Constant 2 393 62: TypeImage 6(float) 2D array sampled format:Unknown 394 63: TypePointer UniformConstant 62 395 64(g_tTex2df4): 63(ptr) Variable UniformConstant 396 67: TypeSampledImage 62 397 69: TypeVector 6(float) 3 398 70: 69(fvec3) ConstantComposite 25 26 42 399 71: TypeVector 29(int) 2 400 72: 71(ivec2) ConstantComposite 30 30 401 75: TypeImage 29(int) 2D array sampled format:Unknown 402 76: TypePointer UniformConstant 75 403 77(g_tTex2di4): 76(ptr) Variable UniformConstant 404 80: TypeSampledImage 75 405 82: 6(float) Constant 1056964608 406 83: 69(fvec3) ConstantComposite 42 57 82 407 86: TypeImage 46(int) 2D array sampled format:Unknown 408 87: TypePointer UniformConstant 86 409 88(g_tTex2du4): 87(ptr) Variable UniformConstant 410 91: TypeSampledImage 86 411 93: 6(float) Constant 1058642330 412 94: 6(float) Constant 1060320051 413 95: 69(fvec3) ConstantComposite 82 93 94 414 96: 71(ivec2) ConstantComposite 30 44 415 98: TypePointer Function 8(PS_OUTPUT) 416 100: 6(float) Constant 1065353216 417 101: 7(fvec4) ConstantComposite 100 100 100 100 418 103: TypePointer Function 6(float) 419 110: TypePointer Output 7(fvec4) 420111(@entryPointOutput.Color): 110(ptr) Variable Output 421 114: TypePointer Output 6(float) 422115(@entryPointOutput.Depth): 114(ptr) Variable Output 423118(g_tTex1df4a): 15(ptr) Variable UniformConstant 424 4(main): 2 Function None 3 425 5: Label 426108(flattenTemp): 98(ptr) Variable Function 427 109:8(PS_OUTPUT) FunctionCall 10(@main() 428 Store 108(flattenTemp) 109 429 112: 12(ptr) AccessChain 108(flattenTemp) 30 430 113: 7(fvec4) Load 112 431 Store 111(@entryPointOutput.Color) 113 432 116: 103(ptr) AccessChain 108(flattenTemp) 44 433 117: 6(float) Load 116 434 Store 115(@entryPointOutput.Depth) 117 435 Return 436 FunctionEnd 437 10(@main():8(PS_OUTPUT) Function None 9 438 11: Label 439 13(txval10): 12(ptr) Variable Function 440 34(txval11): 33(ptr) Variable Function 441 49(txval12): 48(ptr) Variable Function 442 61(txval20): 12(ptr) Variable Function 443 74(txval21): 33(ptr) Variable Function 444 85(txval22): 48(ptr) Variable Function 445 99(psout): 98(ptr) Variable Function 446 17: 14 Load 16(g_tTex1df4) 447 21: 18 Load 20(g_sSamp) 448 23: 22 SampledImage 17 21 449 31: 7(fvec4) ImageSampleExplicitLod 23 27 Lod ConstOffset 28 30 450 Store 13(txval10) 31 451 38: 35 Load 37(g_tTex1di4) 452 39: 18 Load 20(g_sSamp) 453 41: 40 SampledImage 38 39 454 45: 32(ivec4) ImageSampleExplicitLod 41 43 Lod ConstOffset 28 44 455 Store 34(txval11) 45 456 53: 50 Load 52(g_tTex1du4) 457 54: 18 Load 20(g_sSamp) 458 56: 55 SampledImage 53 54 459 60: 47(ivec4) ImageSampleExplicitLod 56 58 Lod ConstOffset 28 59 460 Store 49(txval12) 60 461 65: 62 Load 64(g_tTex2df4) 462 66: 18 Load 20(g_sSamp) 463 68: 67 SampledImage 65 66 464 73: 7(fvec4) ImageSampleExplicitLod 68 70 Lod ConstOffset 28 72 465 Store 61(txval20) 73 466 78: 75 Load 77(g_tTex2di4) 467 79: 18 Load 20(g_sSamp) 468 81: 80 SampledImage 78 79 469 84: 32(ivec4) ImageSampleExplicitLod 81 83 Lod ConstOffset 28 72 470 Store 74(txval21) 84 471 89: 86 Load 88(g_tTex2du4) 472 90: 18 Load 20(g_sSamp) 473 92: 91 SampledImage 89 90 474 97: 47(ivec4) ImageSampleExplicitLod 92 95 Lod ConstOffset 28 96 475 Store 85(txval22) 97 476 102: 12(ptr) AccessChain 99(psout) 30 477 Store 102 101 478 104: 103(ptr) AccessChain 99(psout) 44 479 Store 104 100 480 105:8(PS_OUTPUT) Load 99(psout) 481 ReturnValue 105 482 FunctionEnd 483