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): 80007 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 20(g_sSamp) DescriptorSet 0 238 Decorate 20(g_sSamp) Binding 0 239 Decorate 40(g_tTex2di4) DescriptorSet 0 240 Decorate 55(g_tTex2du4) DescriptorSet 0 241 Decorate 80(@entryPointOutput.Color) Location 0 242 Decorate 84(@entryPointOutput.Depth) BuiltIn FragDepth 243 Decorate 89(g_tTex1df4a) DescriptorSet 0 244 Decorate 89(g_tTex1df4a) Binding 1 245 Decorate 90(g_tTex1df4) DescriptorSet 0 246 Decorate 90(g_tTex1df4) Binding 0 247 Decorate 93(g_tTex1di4) DescriptorSet 0 248 Decorate 96(g_tTex1du4) DescriptorSet 0 249 2: TypeVoid 250 3: TypeFunction 2 251 6: TypeFloat 32 252 7: TypeVector 6(float) 4 253 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 254 9: TypeFunction 8(PS_OUTPUT) 255 12: TypePointer Function 7(fvec4) 256 14: TypeImage 6(float) 2D array sampled format:Unknown 257 15: TypePointer UniformConstant 14 258 16(g_tTex2df4): 15(ptr) Variable UniformConstant 259 18: TypeSampler 260 19: TypePointer UniformConstant 18 261 20(g_sSamp): 19(ptr) Variable UniformConstant 262 22: TypeSampledImage 14 263 24: TypeVector 6(float) 3 264 25: 6(float) Constant 1036831949 265 26: 6(float) Constant 1045220557 266 27: 6(float) Constant 1050253722 267 28: 24(fvec3) ConstantComposite 25 26 27 268 29: TypeInt 32 1 269 30: TypeVector 29(int) 2 270 31: 29(int) Constant 1 271 32: 29(int) Constant 0 272 33: 30(ivec2) ConstantComposite 31 32 273 35: TypeVector 29(int) 4 274 36: TypePointer Function 35(ivec4) 275 38: TypeImage 29(int) 2D array sampled format:Unknown 276 39: TypePointer UniformConstant 38 277 40(g_tTex2di4): 39(ptr) Variable UniformConstant 278 43: TypeSampledImage 38 279 45: 6(float) Constant 1053609165 280 46: 24(fvec3) ConstantComposite 27 45 45 281 47: 30(ivec2) ConstantComposite 31 31 282 49: TypeInt 32 0 283 50: TypeVector 49(int) 4 284 51: TypePointer Function 50(ivec4) 285 53: TypeImage 49(int) 2D array sampled format:Unknown 286 54: TypePointer UniformConstant 53 287 55(g_tTex2du4): 54(ptr) Variable UniformConstant 288 58: TypeSampledImage 53 289 60: 6(float) Constant 1056964608 290 61: 6(float) Constant 1058642330 291 62: 6(float) Constant 1060320051 292 63: 24(fvec3) ConstantComposite 60 61 62 293 64: 29(int) Constant 4294967295 294 65: 30(ivec2) ConstantComposite 31 64 295 67: TypePointer Function 8(PS_OUTPUT) 296 69: 6(float) Constant 1065353216 297 70: 7(fvec4) ConstantComposite 69 69 69 69 298 72: TypePointer Function 6(float) 299 79: TypePointer Output 7(fvec4) 30080(@entryPointOutput.Color): 79(ptr) Variable Output 301 83: TypePointer Output 6(float) 30284(@entryPointOutput.Depth): 83(ptr) Variable Output 303 87: TypeImage 6(float) 1D array sampled format:Unknown 304 88: TypePointer UniformConstant 87 305 89(g_tTex1df4a): 88(ptr) Variable UniformConstant 306 90(g_tTex1df4): 88(ptr) Variable UniformConstant 307 91: TypeImage 29(int) 1D array sampled format:Unknown 308 92: TypePointer UniformConstant 91 309 93(g_tTex1di4): 92(ptr) Variable UniformConstant 310 94: TypeImage 49(int) 1D array sampled format:Unknown 311 95: TypePointer UniformConstant 94 312 96(g_tTex1du4): 95(ptr) Variable UniformConstant 313 4(main): 2 Function None 3 314 5: Label 315 77(flattenTemp): 67(ptr) Variable Function 316 78:8(PS_OUTPUT) FunctionCall 10(@main() 317 Store 77(flattenTemp) 78 318 81: 12(ptr) AccessChain 77(flattenTemp) 32 319 82: 7(fvec4) Load 81 320 Store 80(@entryPointOutput.Color) 82 321 85: 72(ptr) AccessChain 77(flattenTemp) 31 322 86: 6(float) Load 85 323 Store 84(@entryPointOutput.Depth) 86 324 Return 325 FunctionEnd 326 10(@main():8(PS_OUTPUT) Function None 9 327 11: Label 328 13(txval20): 12(ptr) Variable Function 329 37(txval21): 36(ptr) Variable Function 330 52(txval22): 51(ptr) Variable Function 331 68(psout): 67(ptr) Variable Function 332 17: 14 Load 16(g_tTex2df4) 333 21: 18 Load 20(g_sSamp) 334 23: 22 SampledImage 17 21 335 34: 7(fvec4) ImageGather 23 28 32 ConstOffset 33 336 Store 13(txval20) 34 337 41: 38 Load 40(g_tTex2di4) 338 42: 18 Load 20(g_sSamp) 339 44: 43 SampledImage 41 42 340 48: 35(ivec4) ImageGather 44 46 32 ConstOffset 47 341 Store 37(txval21) 48 342 56: 53 Load 55(g_tTex2du4) 343 57: 18 Load 20(g_sSamp) 344 59: 58 SampledImage 56 57 345 66: 50(ivec4) ImageGather 59 63 32 ConstOffset 65 346 Store 52(txval22) 66 347 71: 12(ptr) AccessChain 68(psout) 32 348 Store 71 70 349 73: 72(ptr) AccessChain 68(psout) 31 350 Store 73 69 351 74:8(PS_OUTPUT) Load 68(psout) 352 ReturnValue 74 353 FunctionEnd 354