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