1hlsl.samplegrad.offsetarray.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:27 Sequence 100:27 move second child to first child ( temp 4-component vector of float) 110:27 'txval10' ( temp 4-component vector of float) 120:27 textureGradOffset ( temp 4-component vector of float) 130:27 Construct combined texture-sampler ( temp sampler1DArray) 140:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 150:27 'g_sSamp' (layout( binding=0) uniform sampler) 160:27 Constant: 170:27 0.100000 180:27 0.200000 190:27 Constant: 200:27 1.100000 210:27 Constant: 220:27 1.200000 230:27 Constant: 240:27 1 (const int) 250:28 Sequence 260:28 move second child to first child ( temp 4-component vector of int) 270:28 'txval11' ( temp 4-component vector of int) 280:28 textureGradOffset ( temp 4-component vector of int) 290:28 Construct combined texture-sampler ( temp isampler1DArray) 300:28 'g_tTex1di4' ( uniform itexture1DArray) 310:28 'g_sSamp' (layout( binding=0) uniform sampler) 320:28 Constant: 330:28 0.100000 340:28 0.200000 350:28 Constant: 360:28 1.100000 370:28 Constant: 380:28 1.200000 390:28 Constant: 400:28 1 (const int) 410:29 Sequence 420:29 move second child to first child ( temp 4-component vector of uint) 430:29 'txval12' ( temp 4-component vector of uint) 440:29 textureGradOffset ( temp 4-component vector of uint) 450:29 Construct combined texture-sampler ( temp usampler1DArray) 460:29 'g_tTex1du4' ( uniform utexture1DArray) 470:29 'g_sSamp' (layout( binding=0) uniform sampler) 480:29 Constant: 490:29 0.100000 500:29 0.200000 510:29 Constant: 520:29 1.100000 530:29 Constant: 540:29 1.200000 550:29 Constant: 560:29 1 (const int) 570:31 Sequence 580:31 move second child to first child ( temp 4-component vector of float) 590:31 'txval20' ( temp 4-component vector of float) 600:31 textureGradOffset ( temp 4-component vector of float) 610:31 Construct combined texture-sampler ( temp sampler2DArray) 620:31 'g_tTex2df4' ( uniform texture2DArray) 630:31 'g_sSamp' (layout( binding=0) uniform sampler) 640:31 Constant: 650:31 0.100000 660:31 0.200000 670:31 0.300000 680:31 Constant: 690:31 1.100000 700:31 1.200000 710:31 Constant: 720:31 1.100000 730:31 1.200000 740:31 Constant: 750:31 1 (const int) 760:31 0 (const int) 770:32 Sequence 780:32 move second child to first child ( temp 4-component vector of int) 790:32 'txval21' ( temp 4-component vector of int) 800:32 textureGradOffset ( temp 4-component vector of int) 810:32 Construct combined texture-sampler ( temp isampler2DArray) 820:32 'g_tTex2di4' ( uniform itexture2DArray) 830:32 'g_sSamp' (layout( binding=0) uniform sampler) 840:32 Constant: 850:32 0.100000 860:32 0.200000 870:32 0.300000 880:32 Constant: 890:32 1.100000 900:32 1.200000 910:32 Constant: 920:32 1.100000 930:32 1.200000 940:32 Constant: 950:32 1 (const int) 960:32 0 (const int) 970:33 Sequence 980:33 move second child to first child ( temp 4-component vector of uint) 990:33 'txval22' ( temp 4-component vector of uint) 1000:33 textureGradOffset ( temp 4-component vector of uint) 1010:33 Construct combined texture-sampler ( temp usampler2DArray) 1020:33 'g_tTex2du4' ( uniform utexture2DArray) 1030:33 'g_sSamp' (layout( binding=0) uniform sampler) 1040:33 Constant: 1050:33 0.100000 1060:33 0.200000 1070:33 0.300000 1080:33 Constant: 1090:33 1.100000 1100:33 1.200000 1110:33 Constant: 1120:33 1.100000 1130:33 1.200000 1140:33 Constant: 1150:33 1 (const int) 1160:33 0 (const int) 1170:35 move second child to first child ( temp 4-component vector of float) 1180:35 Color: direct index for structure ( temp 4-component vector of float) 1190:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1200:35 Constant: 1210:35 0 (const int) 1220:35 Constant: 1230:35 1.000000 1240:35 1.000000 1250:35 1.000000 1260:35 1.000000 1270:36 move second child to first child ( temp float) 1280:36 Depth: direct index for structure ( temp float) 1290:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1300:36 Constant: 1310:36 1 (const int) 1320:36 Constant: 1330:36 1.000000 1340:38 Branch: Return with expression 1350:38 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1360:24 Function Definition: main( ( temp void) 1370:24 Function Parameters: 1380:? Sequence 1390:24 Sequence 1400:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1410:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1420:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1430:24 move second child to first child ( temp 4-component vector of float) 1440:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 1450:24 Color: direct index for structure ( temp 4-component vector of float) 1460:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1470:24 Constant: 1480:24 0 (const int) 1490:24 move second child to first child ( temp float) 1500:? '@entryPointOutput.Depth' ( out float FragDepth) 1510:24 Depth: direct index for structure ( temp float) 1520:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1530:24 Constant: 1540:24 1 (const int) 1550:? Linker Objects 1560:? 'g_sSamp' (layout( binding=0) uniform sampler) 1570:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 1580:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 1590:? 'g_tTex1di4' ( uniform itexture1DArray) 1600:? 'g_tTex1du4' ( uniform utexture1DArray) 1610:? 'g_tTex2df4' ( uniform texture2DArray) 1620:? 'g_tTex2di4' ( uniform itexture2DArray) 1630:? 'g_tTex2du4' ( uniform utexture2DArray) 1640:? 'g_tTexcdf4' ( uniform textureCubeArray) 1650:? 'g_tTexcdi4' ( uniform itextureCubeArray) 1660:? 'g_tTexcdu4' ( uniform utextureCubeArray) 1670:? '@entryPointOutput.Depth' ( out float FragDepth) 1680:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 169 170 171Linked fragment stage: 172 173 174Shader version: 500 175gl_FragCoord origin is upper left 176using depth_any 1770:? Sequence 1780:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1790:24 Function Parameters: 1800:? Sequence 1810:27 Sequence 1820:27 move second child to first child ( temp 4-component vector of float) 1830:27 'txval10' ( temp 4-component vector of float) 1840:27 textureGradOffset ( temp 4-component vector of float) 1850:27 Construct combined texture-sampler ( temp sampler1DArray) 1860:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 1870:27 'g_sSamp' (layout( binding=0) uniform sampler) 1880:27 Constant: 1890:27 0.100000 1900:27 0.200000 1910:27 Constant: 1920:27 1.100000 1930:27 Constant: 1940:27 1.200000 1950:27 Constant: 1960:27 1 (const int) 1970:28 Sequence 1980:28 move second child to first child ( temp 4-component vector of int) 1990:28 'txval11' ( temp 4-component vector of int) 2000:28 textureGradOffset ( temp 4-component vector of int) 2010:28 Construct combined texture-sampler ( temp isampler1DArray) 2020:28 'g_tTex1di4' ( uniform itexture1DArray) 2030:28 'g_sSamp' (layout( binding=0) uniform sampler) 2040:28 Constant: 2050:28 0.100000 2060:28 0.200000 2070:28 Constant: 2080:28 1.100000 2090:28 Constant: 2100:28 1.200000 2110:28 Constant: 2120:28 1 (const int) 2130:29 Sequence 2140:29 move second child to first child ( temp 4-component vector of uint) 2150:29 'txval12' ( temp 4-component vector of uint) 2160:29 textureGradOffset ( temp 4-component vector of uint) 2170:29 Construct combined texture-sampler ( temp usampler1DArray) 2180:29 'g_tTex1du4' ( uniform utexture1DArray) 2190:29 'g_sSamp' (layout( binding=0) uniform sampler) 2200:29 Constant: 2210:29 0.100000 2220:29 0.200000 2230:29 Constant: 2240:29 1.100000 2250:29 Constant: 2260:29 1.200000 2270:29 Constant: 2280:29 1 (const int) 2290:31 Sequence 2300:31 move second child to first child ( temp 4-component vector of float) 2310:31 'txval20' ( temp 4-component vector of float) 2320:31 textureGradOffset ( temp 4-component vector of float) 2330:31 Construct combined texture-sampler ( temp sampler2DArray) 2340:31 'g_tTex2df4' ( uniform texture2DArray) 2350:31 'g_sSamp' (layout( binding=0) uniform sampler) 2360:31 Constant: 2370:31 0.100000 2380:31 0.200000 2390:31 0.300000 2400:31 Constant: 2410:31 1.100000 2420:31 1.200000 2430:31 Constant: 2440:31 1.100000 2450:31 1.200000 2460:31 Constant: 2470:31 1 (const int) 2480:31 0 (const int) 2490:32 Sequence 2500:32 move second child to first child ( temp 4-component vector of int) 2510:32 'txval21' ( temp 4-component vector of int) 2520:32 textureGradOffset ( temp 4-component vector of int) 2530:32 Construct combined texture-sampler ( temp isampler2DArray) 2540:32 'g_tTex2di4' ( uniform itexture2DArray) 2550:32 'g_sSamp' (layout( binding=0) uniform sampler) 2560:32 Constant: 2570:32 0.100000 2580:32 0.200000 2590:32 0.300000 2600:32 Constant: 2610:32 1.100000 2620:32 1.200000 2630:32 Constant: 2640:32 1.100000 2650:32 1.200000 2660:32 Constant: 2670:32 1 (const int) 2680:32 0 (const int) 2690:33 Sequence 2700:33 move second child to first child ( temp 4-component vector of uint) 2710:33 'txval22' ( temp 4-component vector of uint) 2720:33 textureGradOffset ( temp 4-component vector of uint) 2730:33 Construct combined texture-sampler ( temp usampler2DArray) 2740:33 'g_tTex2du4' ( uniform utexture2DArray) 2750:33 'g_sSamp' (layout( binding=0) uniform sampler) 2760:33 Constant: 2770:33 0.100000 2780:33 0.200000 2790:33 0.300000 2800:33 Constant: 2810:33 1.100000 2820:33 1.200000 2830:33 Constant: 2840:33 1.100000 2850:33 1.200000 2860:33 Constant: 2870:33 1 (const int) 2880:33 0 (const int) 2890:35 move second child to first child ( temp 4-component vector of float) 2900:35 Color: direct index for structure ( temp 4-component vector of float) 2910:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 2920:35 Constant: 2930:35 0 (const int) 2940:35 Constant: 2950:35 1.000000 2960:35 1.000000 2970:35 1.000000 2980:35 1.000000 2990:36 move second child to first child ( temp float) 3000:36 Depth: direct index for structure ( temp float) 3010:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 3020:36 Constant: 3030:36 1 (const int) 3040:36 Constant: 3050:36 1.000000 3060:38 Branch: Return with expression 3070:38 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 3080:24 Function Definition: main( ( temp void) 3090:24 Function Parameters: 3100:? Sequence 3110:24 Sequence 3120:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 3130:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 3140:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 3150:24 move second child to first child ( temp 4-component vector of float) 3160:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 3170:24 Color: direct index for structure ( temp 4-component vector of float) 3180:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 3190:24 Constant: 3200:24 0 (const int) 3210:24 move second child to first child ( temp float) 3220:? '@entryPointOutput.Depth' ( out float FragDepth) 3230:24 Depth: direct index for structure ( temp float) 3240:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 3250:24 Constant: 3260:24 1 (const int) 3270:? Linker Objects 3280:? 'g_sSamp' (layout( binding=0) uniform sampler) 3290:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 3300:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 3310:? 'g_tTex1di4' ( uniform itexture1DArray) 3320:? 'g_tTex1du4' ( uniform utexture1DArray) 3330:? 'g_tTex2df4' ( uniform texture2DArray) 3340:? 'g_tTex2di4' ( uniform itexture2DArray) 3350:? 'g_tTex2du4' ( uniform utexture2DArray) 3360:? 'g_tTexcdf4' ( uniform textureCubeArray) 3370:? 'g_tTexcdi4' ( uniform itextureCubeArray) 3380:? 'g_tTexcdu4' ( uniform utextureCubeArray) 3390:? '@entryPointOutput.Depth' ( out float FragDepth) 3400:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 341 342// Module Version 10000 343// Generated by (magic number): 8000a 344// Id's are bound by 120 345 346 Capability Shader 347 Capability Sampled1D 348 Capability SampledCubeArray 349 1: ExtInstImport "GLSL.std.450" 350 MemoryModel Logical GLSL450 351 EntryPoint Fragment 4 "main" 103 107 352 ExecutionMode 4 OriginUpperLeft 353 ExecutionMode 4 DepthReplacing 354 Source HLSL 500 355 Name 4 "main" 356 Name 8 "PS_OUTPUT" 357 MemberName 8(PS_OUTPUT) 0 "Color" 358 MemberName 8(PS_OUTPUT) 1 "Depth" 359 Name 10 "@main(" 360 Name 13 "txval10" 361 Name 16 "g_tTex1df4" 362 Name 20 "g_sSamp" 363 Name 35 "txval11" 364 Name 38 "g_tTex1di4" 365 Name 47 "txval12" 366 Name 50 "g_tTex1du4" 367 Name 56 "txval20" 368 Name 59 "g_tTex2df4" 369 Name 72 "txval21" 370 Name 75 "g_tTex2di4" 371 Name 81 "txval22" 372 Name 84 "g_tTex2du4" 373 Name 91 "psout" 374 Name 100 "flattenTemp" 375 Name 103 "@entryPointOutput.Color" 376 Name 107 "@entryPointOutput.Depth" 377 Name 110 "g_tTex1df4a" 378 Name 113 "g_tTexcdf4" 379 Name 116 "g_tTexcdi4" 380 Name 119 "g_tTexcdu4" 381 Decorate 16(g_tTex1df4) DescriptorSet 0 382 Decorate 16(g_tTex1df4) Binding 0 383 Decorate 20(g_sSamp) DescriptorSet 0 384 Decorate 20(g_sSamp) Binding 0 385 Decorate 38(g_tTex1di4) DescriptorSet 0 386 Decorate 38(g_tTex1di4) Binding 2 387 Decorate 50(g_tTex1du4) DescriptorSet 0 388 Decorate 50(g_tTex1du4) Binding 3 389 Decorate 59(g_tTex2df4) DescriptorSet 0 390 Decorate 59(g_tTex2df4) Binding 4 391 Decorate 75(g_tTex2di4) DescriptorSet 0 392 Decorate 75(g_tTex2di4) Binding 5 393 Decorate 84(g_tTex2du4) DescriptorSet 0 394 Decorate 84(g_tTex2du4) Binding 6 395 Decorate 103(@entryPointOutput.Color) Location 0 396 Decorate 107(@entryPointOutput.Depth) BuiltIn FragDepth 397 Decorate 110(g_tTex1df4a) DescriptorSet 0 398 Decorate 110(g_tTex1df4a) Binding 1 399 Decorate 113(g_tTexcdf4) DescriptorSet 0 400 Decorate 113(g_tTexcdf4) Binding 0 401 Decorate 116(g_tTexcdi4) DescriptorSet 0 402 Decorate 116(g_tTexcdi4) Binding 0 403 Decorate 119(g_tTexcdu4) DescriptorSet 0 404 Decorate 119(g_tTexcdu4) Binding 0 405 2: TypeVoid 406 3: TypeFunction 2 407 6: TypeFloat 32 408 7: TypeVector 6(float) 4 409 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 410 9: TypeFunction 8(PS_OUTPUT) 411 12: TypePointer Function 7(fvec4) 412 14: TypeImage 6(float) 1D array sampled format:Unknown 413 15: TypePointer UniformConstant 14 414 16(g_tTex1df4): 15(ptr) Variable UniformConstant 415 18: TypeSampler 416 19: TypePointer UniformConstant 18 417 20(g_sSamp): 19(ptr) Variable UniformConstant 418 22: TypeSampledImage 14 419 24: TypeVector 6(float) 2 420 25: 6(float) Constant 1036831949 421 26: 6(float) Constant 1045220557 422 27: 24(fvec2) ConstantComposite 25 26 423 28: 6(float) Constant 1066192077 424 29: 6(float) Constant 1067030938 425 30: TypeInt 32 1 426 31: 30(int) Constant 1 427 33: TypeVector 30(int) 4 428 34: TypePointer Function 33(ivec4) 429 36: TypeImage 30(int) 1D array sampled format:Unknown 430 37: TypePointer UniformConstant 36 431 38(g_tTex1di4): 37(ptr) Variable UniformConstant 432 41: TypeSampledImage 36 433 44: TypeInt 32 0 434 45: TypeVector 44(int) 4 435 46: TypePointer Function 45(ivec4) 436 48: TypeImage 44(int) 1D array sampled format:Unknown 437 49: TypePointer UniformConstant 48 438 50(g_tTex1du4): 49(ptr) Variable UniformConstant 439 53: TypeSampledImage 48 440 57: TypeImage 6(float) 2D array sampled format:Unknown 441 58: TypePointer UniformConstant 57 442 59(g_tTex2df4): 58(ptr) Variable UniformConstant 443 62: TypeSampledImage 57 444 64: TypeVector 6(float) 3 445 65: 6(float) Constant 1050253722 446 66: 64(fvec3) ConstantComposite 25 26 65 447 67: 24(fvec2) ConstantComposite 28 29 448 68: TypeVector 30(int) 2 449 69: 30(int) Constant 0 450 70: 68(ivec2) ConstantComposite 31 69 451 73: TypeImage 30(int) 2D array sampled format:Unknown 452 74: TypePointer UniformConstant 73 453 75(g_tTex2di4): 74(ptr) Variable UniformConstant 454 78: TypeSampledImage 73 455 82: TypeImage 44(int) 2D array sampled format:Unknown 456 83: TypePointer UniformConstant 82 457 84(g_tTex2du4): 83(ptr) Variable UniformConstant 458 87: TypeSampledImage 82 459 90: TypePointer Function 8(PS_OUTPUT) 460 92: 6(float) Constant 1065353216 461 93: 7(fvec4) ConstantComposite 92 92 92 92 462 95: TypePointer Function 6(float) 463 102: TypePointer Output 7(fvec4) 464103(@entryPointOutput.Color): 102(ptr) Variable Output 465 106: TypePointer Output 6(float) 466107(@entryPointOutput.Depth): 106(ptr) Variable Output 467110(g_tTex1df4a): 15(ptr) Variable UniformConstant 468 111: TypeImage 6(float) Cube array sampled format:Unknown 469 112: TypePointer UniformConstant 111 470 113(g_tTexcdf4): 112(ptr) Variable UniformConstant 471 114: TypeImage 30(int) Cube array sampled format:Unknown 472 115: TypePointer UniformConstant 114 473 116(g_tTexcdi4): 115(ptr) Variable UniformConstant 474 117: TypeImage 44(int) Cube array sampled format:Unknown 475 118: TypePointer UniformConstant 117 476 119(g_tTexcdu4): 118(ptr) Variable UniformConstant 477 4(main): 2 Function None 3 478 5: Label 479100(flattenTemp): 90(ptr) Variable Function 480 101:8(PS_OUTPUT) FunctionCall 10(@main() 481 Store 100(flattenTemp) 101 482 104: 12(ptr) AccessChain 100(flattenTemp) 69 483 105: 7(fvec4) Load 104 484 Store 103(@entryPointOutput.Color) 105 485 108: 95(ptr) AccessChain 100(flattenTemp) 31 486 109: 6(float) Load 108 487 Store 107(@entryPointOutput.Depth) 109 488 Return 489 FunctionEnd 490 10(@main():8(PS_OUTPUT) Function None 9 491 11: Label 492 13(txval10): 12(ptr) Variable Function 493 35(txval11): 34(ptr) Variable Function 494 47(txval12): 46(ptr) Variable Function 495 56(txval20): 12(ptr) Variable Function 496 72(txval21): 34(ptr) Variable Function 497 81(txval22): 46(ptr) Variable Function 498 91(psout): 90(ptr) Variable Function 499 17: 14 Load 16(g_tTex1df4) 500 21: 18 Load 20(g_sSamp) 501 23: 22 SampledImage 17 21 502 32: 7(fvec4) ImageSampleExplicitLod 23 27 Grad ConstOffset 28 29 31 503 Store 13(txval10) 32 504 39: 36 Load 38(g_tTex1di4) 505 40: 18 Load 20(g_sSamp) 506 42: 41 SampledImage 39 40 507 43: 33(ivec4) ImageSampleExplicitLod 42 27 Grad ConstOffset 28 29 31 508 Store 35(txval11) 43 509 51: 48 Load 50(g_tTex1du4) 510 52: 18 Load 20(g_sSamp) 511 54: 53 SampledImage 51 52 512 55: 45(ivec4) ImageSampleExplicitLod 54 27 Grad ConstOffset 28 29 31 513 Store 47(txval12) 55 514 60: 57 Load 59(g_tTex2df4) 515 61: 18 Load 20(g_sSamp) 516 63: 62 SampledImage 60 61 517 71: 7(fvec4) ImageSampleExplicitLod 63 66 Grad ConstOffset 67 67 70 518 Store 56(txval20) 71 519 76: 73 Load 75(g_tTex2di4) 520 77: 18 Load 20(g_sSamp) 521 79: 78 SampledImage 76 77 522 80: 33(ivec4) ImageSampleExplicitLod 79 66 Grad ConstOffset 67 67 70 523 Store 72(txval21) 80 524 85: 82 Load 84(g_tTex2du4) 525 86: 18 Load 20(g_sSamp) 526 88: 87 SampledImage 85 86 527 89: 45(ivec4) ImageSampleExplicitLod 88 66 Grad ConstOffset 67 67 70 528 Store 81(txval22) 89 529 94: 12(ptr) AccessChain 91(psout) 69 530 Store 94 93 531 96: 95(ptr) AccessChain 91(psout) 31 532 Store 96 92 533 97:8(PS_OUTPUT) Load 91(psout) 534 ReturnValue 97 535 FunctionEnd 536