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