1hlsl.gather.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:25 Sequence 100:25 move second child to first child ( temp 4-component vector of float) 110:25 'txval20' ( temp 4-component vector of float) 120:25 textureGatherOffset ( temp 4-component vector of float) 130:25 Construct combined texture-sampler ( temp sampler2DArray) 140:25 'g_tTex2df4' ( uniform texture2DArray) 150:25 'g_sSamp' (layout( binding=0) uniform sampler) 160:? Constant: 170:? 0.100000 180:? 0.200000 190:? 0.300000 200:? Constant: 210:? 1 (const int) 220:? 0 (const int) 230:26 Sequence 240:26 move second child to first child ( temp 4-component vector of int) 250:26 'txval21' ( temp 4-component vector of int) 260:26 textureGatherOffset ( temp 4-component vector of int) 270:26 Construct combined texture-sampler ( temp isampler2DArray) 280:26 'g_tTex2di4' ( uniform itexture2DArray) 290:26 'g_sSamp' (layout( binding=0) uniform sampler) 300:? Constant: 310:? 0.300000 320:? 0.400000 330:? 0.400000 340:? Constant: 350:? 1 (const int) 360:? 1 (const int) 370:27 Sequence 380:27 move second child to first child ( temp 4-component vector of uint) 390:27 'txval22' ( temp 4-component vector of uint) 400:27 textureGatherOffset ( temp 4-component vector of uint) 410:27 Construct combined texture-sampler ( temp usampler2DArray) 420:27 'g_tTex2du4' ( uniform utexture2DArray) 430:27 'g_sSamp' (layout( binding=0) uniform sampler) 440:? Constant: 450:? 0.500000 460:? 0.600000 470:? 0.700000 480:? Constant: 490:? 1 (const int) 500:? -1 (const int) 510:32 move second child to first child ( temp 4-component vector of float) 520:32 Color: direct index for structure ( temp 4-component vector of float) 530:32 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 540:32 Constant: 550:32 0 (const int) 560:32 Constant: 570:32 1.000000 580:32 1.000000 590:32 1.000000 600:32 1.000000 610:33 move second child to first child ( temp float) 620:33 Depth: direct index for structure ( temp float) 630:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 640:33 Constant: 650:33 1 (const int) 660:33 Constant: 670:33 1.000000 680:35 Branch: Return with expression 690:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 700:20 Function Definition: main( ( temp void) 710:20 Function Parameters: 720:? Sequence 730:20 Sequence 740:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 750:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 760:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 770:20 move second child to first child ( temp 4-component vector of float) 780:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 790:20 Color: direct index for structure ( temp 4-component vector of float) 800:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 810:20 Constant: 820:20 0 (const int) 830:20 move second child to first child ( temp float) 840:? '@entryPointOutput.Depth' ( out float FragDepth) 850:20 Depth: direct index for structure ( temp float) 860:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 870:20 Constant: 880:20 1 (const int) 890:? Linker Objects 900:? 'g_sSamp' (layout( binding=0) uniform sampler) 910:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 920:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 930:? 'g_tTex1di4' ( uniform itexture1DArray) 940:? 'g_tTex1du4' ( uniform utexture1DArray) 950:? 'g_tTex2df4' ( uniform texture2DArray) 960:? 'g_tTex2di4' ( uniform itexture2DArray) 970:? 'g_tTex2du4' ( uniform utexture2DArray) 980:? '@entryPointOutput.Depth' ( out float FragDepth) 990:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 100 101 102Linked fragment stage: 103 104 105Shader version: 500 106gl_FragCoord origin is upper left 107using depth_any 1080:? Sequence 1090:20 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1100:20 Function Parameters: 1110:? Sequence 1120:25 Sequence 1130:25 move second child to first child ( temp 4-component vector of float) 1140:25 'txval20' ( temp 4-component vector of float) 1150:25 textureGatherOffset ( temp 4-component vector of float) 1160:25 Construct combined texture-sampler ( temp sampler2DArray) 1170:25 'g_tTex2df4' ( uniform texture2DArray) 1180:25 'g_sSamp' (layout( binding=0) uniform sampler) 1190:? Constant: 1200:? 0.100000 1210:? 0.200000 1220:? 0.300000 1230:? Constant: 1240:? 1 (const int) 1250:? 0 (const int) 1260:26 Sequence 1270:26 move second child to first child ( temp 4-component vector of int) 1280:26 'txval21' ( temp 4-component vector of int) 1290:26 textureGatherOffset ( temp 4-component vector of int) 1300:26 Construct combined texture-sampler ( temp isampler2DArray) 1310:26 'g_tTex2di4' ( uniform itexture2DArray) 1320:26 'g_sSamp' (layout( binding=0) uniform sampler) 1330:? Constant: 1340:? 0.300000 1350:? 0.400000 1360:? 0.400000 1370:? Constant: 1380:? 1 (const int) 1390:? 1 (const int) 1400:27 Sequence 1410:27 move second child to first child ( temp 4-component vector of uint) 1420:27 'txval22' ( temp 4-component vector of uint) 1430:27 textureGatherOffset ( temp 4-component vector of uint) 1440:27 Construct combined texture-sampler ( temp usampler2DArray) 1450:27 'g_tTex2du4' ( uniform utexture2DArray) 1460:27 'g_sSamp' (layout( binding=0) uniform sampler) 1470:? Constant: 1480:? 0.500000 1490:? 0.600000 1500:? 0.700000 1510:? Constant: 1520:? 1 (const int) 1530:? -1 (const int) 1540:32 move second child to first child ( temp 4-component vector of float) 1550:32 Color: direct index for structure ( temp 4-component vector of float) 1560:32 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1570:32 Constant: 1580:32 0 (const int) 1590:32 Constant: 1600:32 1.000000 1610:32 1.000000 1620:32 1.000000 1630:32 1.000000 1640:33 move second child to first child ( temp float) 1650:33 Depth: direct index for structure ( temp float) 1660:33 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1670:33 Constant: 1680:33 1 (const int) 1690:33 Constant: 1700:33 1.000000 1710:35 Branch: Return with expression 1720:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1730:20 Function Definition: main( ( temp void) 1740:20 Function Parameters: 1750:? Sequence 1760:20 Sequence 1770:20 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1780:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1790:20 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1800:20 move second child to first child ( temp 4-component vector of float) 1810:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 1820:20 Color: direct index for structure ( temp 4-component vector of float) 1830:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1840:20 Constant: 1850:20 0 (const int) 1860:20 move second child to first child ( temp float) 1870:? '@entryPointOutput.Depth' ( out float FragDepth) 1880:20 Depth: direct index for structure ( temp float) 1890:20 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1900:20 Constant: 1910:20 1 (const int) 1920:? Linker Objects 1930:? 'g_sSamp' (layout( binding=0) uniform sampler) 1940:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 1950:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 1960:? 'g_tTex1di4' ( uniform itexture1DArray) 1970:? 'g_tTex1du4' ( uniform utexture1DArray) 1980:? 'g_tTex2df4' ( uniform texture2DArray) 1990:? 'g_tTex2di4' ( uniform itexture2DArray) 2000:? 'g_tTex2du4' ( uniform utexture2DArray) 2010:? '@entryPointOutput.Depth' ( out float FragDepth) 2020:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 203 204// Module Version 10000 205// Generated by (magic number): 8000a 206// Id's are bound by 97 207 208 Capability Shader 209 Capability Sampled1D 210 1: ExtInstImport "GLSL.std.450" 211 MemoryModel Logical GLSL450 212 EntryPoint Fragment 4 "main" 80 84 213 ExecutionMode 4 OriginUpperLeft 214 ExecutionMode 4 DepthReplacing 215 Source HLSL 500 216 Name 4 "main" 217 Name 8 "PS_OUTPUT" 218 MemberName 8(PS_OUTPUT) 0 "Color" 219 MemberName 8(PS_OUTPUT) 1 "Depth" 220 Name 10 "@main(" 221 Name 13 "txval20" 222 Name 16 "g_tTex2df4" 223 Name 20 "g_sSamp" 224 Name 37 "txval21" 225 Name 40 "g_tTex2di4" 226 Name 52 "txval22" 227 Name 55 "g_tTex2du4" 228 Name 68 "psout" 229 Name 77 "flattenTemp" 230 Name 80 "@entryPointOutput.Color" 231 Name 84 "@entryPointOutput.Depth" 232 Name 89 "g_tTex1df4a" 233 Name 90 "g_tTex1df4" 234 Name 93 "g_tTex1di4" 235 Name 96 "g_tTex1du4" 236 Decorate 16(g_tTex2df4) DescriptorSet 0 237 Decorate 16(g_tTex2df4) Binding 2 238 Decorate 20(g_sSamp) DescriptorSet 0 239 Decorate 20(g_sSamp) Binding 0 240 Decorate 40(g_tTex2di4) DescriptorSet 0 241 Decorate 40(g_tTex2di4) Binding 3 242 Decorate 55(g_tTex2du4) DescriptorSet 0 243 Decorate 55(g_tTex2du4) Binding 4 244 Decorate 80(@entryPointOutput.Color) Location 0 245 Decorate 84(@entryPointOutput.Depth) BuiltIn FragDepth 246 Decorate 89(g_tTex1df4a) DescriptorSet 0 247 Decorate 89(g_tTex1df4a) Binding 1 248 Decorate 90(g_tTex1df4) DescriptorSet 0 249 Decorate 90(g_tTex1df4) Binding 0 250 Decorate 93(g_tTex1di4) DescriptorSet 0 251 Decorate 93(g_tTex1di4) Binding 0 252 Decorate 96(g_tTex1du4) DescriptorSet 0 253 Decorate 96(g_tTex1du4) Binding 0 254 2: TypeVoid 255 3: TypeFunction 2 256 6: TypeFloat 32 257 7: TypeVector 6(float) 4 258 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 259 9: TypeFunction 8(PS_OUTPUT) 260 12: TypePointer Function 7(fvec4) 261 14: TypeImage 6(float) 2D array sampled format:Unknown 262 15: TypePointer UniformConstant 14 263 16(g_tTex2df4): 15(ptr) Variable UniformConstant 264 18: TypeSampler 265 19: TypePointer UniformConstant 18 266 20(g_sSamp): 19(ptr) Variable UniformConstant 267 22: TypeSampledImage 14 268 24: TypeVector 6(float) 3 269 25: 6(float) Constant 1036831949 270 26: 6(float) Constant 1045220557 271 27: 6(float) Constant 1050253722 272 28: 24(fvec3) ConstantComposite 25 26 27 273 29: TypeInt 32 1 274 30: TypeVector 29(int) 2 275 31: 29(int) Constant 1 276 32: 29(int) Constant 0 277 33: 30(ivec2) ConstantComposite 31 32 278 35: TypeVector 29(int) 4 279 36: TypePointer Function 35(ivec4) 280 38: TypeImage 29(int) 2D array sampled format:Unknown 281 39: TypePointer UniformConstant 38 282 40(g_tTex2di4): 39(ptr) Variable UniformConstant 283 43: TypeSampledImage 38 284 45: 6(float) Constant 1053609165 285 46: 24(fvec3) ConstantComposite 27 45 45 286 47: 30(ivec2) ConstantComposite 31 31 287 49: TypeInt 32 0 288 50: TypeVector 49(int) 4 289 51: TypePointer Function 50(ivec4) 290 53: TypeImage 49(int) 2D array sampled format:Unknown 291 54: TypePointer UniformConstant 53 292 55(g_tTex2du4): 54(ptr) Variable UniformConstant 293 58: TypeSampledImage 53 294 60: 6(float) Constant 1056964608 295 61: 6(float) Constant 1058642330 296 62: 6(float) Constant 1060320051 297 63: 24(fvec3) ConstantComposite 60 61 62 298 64: 29(int) Constant 4294967295 299 65: 30(ivec2) ConstantComposite 31 64 300 67: TypePointer Function 8(PS_OUTPUT) 301 69: 6(float) Constant 1065353216 302 70: 7(fvec4) ConstantComposite 69 69 69 69 303 72: TypePointer Function 6(float) 304 79: TypePointer Output 7(fvec4) 30580(@entryPointOutput.Color): 79(ptr) Variable Output 306 83: TypePointer Output 6(float) 30784(@entryPointOutput.Depth): 83(ptr) Variable Output 308 87: TypeImage 6(float) 1D array sampled format:Unknown 309 88: TypePointer UniformConstant 87 310 89(g_tTex1df4a): 88(ptr) Variable UniformConstant 311 90(g_tTex1df4): 88(ptr) Variable UniformConstant 312 91: TypeImage 29(int) 1D array sampled format:Unknown 313 92: TypePointer UniformConstant 91 314 93(g_tTex1di4): 92(ptr) Variable UniformConstant 315 94: TypeImage 49(int) 1D array sampled format:Unknown 316 95: TypePointer UniformConstant 94 317 96(g_tTex1du4): 95(ptr) Variable UniformConstant 318 4(main): 2 Function None 3 319 5: Label 320 77(flattenTemp): 67(ptr) Variable Function 321 78:8(PS_OUTPUT) FunctionCall 10(@main() 322 Store 77(flattenTemp) 78 323 81: 12(ptr) AccessChain 77(flattenTemp) 32 324 82: 7(fvec4) Load 81 325 Store 80(@entryPointOutput.Color) 82 326 85: 72(ptr) AccessChain 77(flattenTemp) 31 327 86: 6(float) Load 85 328 Store 84(@entryPointOutput.Depth) 86 329 Return 330 FunctionEnd 331 10(@main():8(PS_OUTPUT) Function None 9 332 11: Label 333 13(txval20): 12(ptr) Variable Function 334 37(txval21): 36(ptr) Variable Function 335 52(txval22): 51(ptr) Variable Function 336 68(psout): 67(ptr) Variable Function 337 17: 14 Load 16(g_tTex2df4) 338 21: 18 Load 20(g_sSamp) 339 23: 22 SampledImage 17 21 340 34: 7(fvec4) ImageGather 23 28 32 ConstOffset 33 341 Store 13(txval20) 34 342 41: 38 Load 40(g_tTex2di4) 343 42: 18 Load 20(g_sSamp) 344 44: 43 SampledImage 41 42 345 48: 35(ivec4) ImageGather 44 46 32 ConstOffset 47 346 Store 37(txval21) 48 347 56: 53 Load 55(g_tTex2du4) 348 57: 18 Load 20(g_sSamp) 349 59: 58 SampledImage 56 57 350 66: 50(ivec4) ImageGather 59 63 32 ConstOffset 65 351 Store 52(txval22) 66 352 71: 12(ptr) AccessChain 68(psout) 32 353 Store 71 70 354 73: 72(ptr) AccessChain 68(psout) 31 355 Store 73 69 356 74:8(PS_OUTPUT) Load 68(psout) 357 ReturnValue 74 358 FunctionEnd 359