1hlsl.gather.basic.dx10.vert
2Shader version: 500
30:? Sequence
40:28  Function Definition: @main( ( temp structure{ temp 4-component vector of float Pos})
50:28    Function Parameters:
60:?     Sequence
70:33      Sequence
80:33        move second child to first child ( temp 4-component vector of float)
90:33          'txval20' ( temp 4-component vector of float)
100:33          textureGather ( temp 4-component vector of float)
110:33            Construct combined texture-sampler ( temp sampler2D)
120:33              'g_tTex2df4' ( uniform texture2D)
130:33              'g_sSamp' (layout( binding=0) uniform sampler)
140:?             Constant:
150:?               0.100000
160:?               0.200000
170:34      Sequence
180:34        move second child to first child ( temp 4-component vector of int)
190:34          'txval21' ( temp 4-component vector of int)
200:34          textureGather ( temp 4-component vector of int)
210:34            Construct combined texture-sampler ( temp isampler2D)
220:34              'g_tTex2di4' ( uniform itexture2D)
230:34              'g_sSamp' (layout( binding=0) uniform sampler)
240:?             Constant:
250:?               0.300000
260:?               0.400000
270:35      Sequence
280:35        move second child to first child ( temp 4-component vector of uint)
290:35          'txval22' ( temp 4-component vector of uint)
300:35          textureGather ( temp 4-component vector of uint)
310:35            Construct combined texture-sampler ( temp usampler2D)
320:35              'g_tTex2du4' ( uniform utexture2D)
330:35              'g_sSamp' (layout( binding=0) uniform sampler)
340:?             Constant:
350:?               0.500000
360:?               0.600000
370:39      Sequence
380:39        move second child to first child ( temp 4-component vector of float)
390:39          'txval40' ( temp 4-component vector of float)
400:39          textureGather ( temp 4-component vector of float)
410:39            Construct combined texture-sampler ( temp samplerCube)
420:39              'g_tTexcdf4' ( uniform textureCube)
430:39              'g_sSamp' (layout( binding=0) uniform sampler)
440:?             Constant:
450:?               0.100000
460:?               0.200000
470:?               0.300000
480:40      Sequence
490:40        move second child to first child ( temp 4-component vector of int)
500:40          'txval41' ( temp 4-component vector of int)
510:40          textureGather ( temp 4-component vector of int)
520:40            Construct combined texture-sampler ( temp isamplerCube)
530:40              'g_tTexcdi4' ( uniform itextureCube)
540:40              'g_sSamp' (layout( binding=0) uniform sampler)
550:?             Constant:
560:?               0.400000
570:?               0.500000
580:?               0.600000
590:41      Sequence
600:41        move second child to first child ( temp 4-component vector of uint)
610:41          'txval42' ( temp 4-component vector of uint)
620:41          textureGather ( temp 4-component vector of uint)
630:41            Construct combined texture-sampler ( temp usamplerCube)
640:41              'g_tTexcdu4' ( uniform utextureCube)
650:41              'g_sSamp' (layout( binding=0) uniform sampler)
660:?             Constant:
670:?               0.700000
680:?               0.800000
690:?               0.900000
700:43      move second child to first child ( temp 4-component vector of float)
710:43        Pos: direct index for structure ( temp 4-component vector of float)
720:43          'vsout' ( temp structure{ temp 4-component vector of float Pos})
730:43          Constant:
740:43            0 (const int)
750:?         Constant:
760:?           0.000000
770:?           0.000000
780:?           0.000000
790:?           0.000000
800:45      Branch: Return with expression
810:45        'vsout' ( temp structure{ temp 4-component vector of float Pos})
820:28  Function Definition: main( ( temp void)
830:28    Function Parameters:
840:?     Sequence
850:28      Sequence
860:28        move second child to first child ( temp 4-component vector of float)
870:?           '@entryPointOutput.Pos' ( out 4-component vector of float Position)
880:28          Pos: direct index for structure ( temp 4-component vector of float)
890:28            Function Call: @main( ( temp structure{ temp 4-component vector of float Pos})
900:28            Constant:
910:28              0 (const int)
920:?   Linker Objects
930:?     'g_sSamp' (layout( binding=0) uniform sampler)
940:?     'g_sSamp2d' ( uniform sampler)
950:?     'g_tTex1df4a' (layout( binding=1) uniform texture1D)
960:?     'g_tTex1df4' (layout( binding=0) uniform texture1D)
970:?     'g_tTex1di4' ( uniform itexture1D)
980:?     'g_tTex1du4' ( uniform utexture1D)
990:?     'g_tTex2df4' ( uniform texture2D)
1000:?     'g_tTex2di4' ( uniform itexture2D)
1010:?     'g_tTex2du4' ( uniform utexture2D)
1020:?     'g_tTex3df4' ( uniform texture3D)
1030:?     'g_tTex3di4' ( uniform itexture3D)
1040:?     'g_tTex3du4' ( uniform utexture3D)
1050:?     'g_tTexcdf4' ( uniform textureCube)
1060:?     'g_tTexcdi4' ( uniform itextureCube)
1070:?     'g_tTexcdu4' ( uniform utextureCube)
1080:?     '@entryPointOutput.Pos' ( out 4-component vector of float Position)
109
110
111Linked vertex stage:
112
113
114Shader version: 500
1150:? Sequence
1160:28  Function Definition: @main( ( temp structure{ temp 4-component vector of float Pos})
1170:28    Function Parameters:
1180:?     Sequence
1190:33      Sequence
1200:33        move second child to first child ( temp 4-component vector of float)
1210:33          'txval20' ( temp 4-component vector of float)
1220:33          textureGather ( temp 4-component vector of float)
1230:33            Construct combined texture-sampler ( temp sampler2D)
1240:33              'g_tTex2df4' ( uniform texture2D)
1250:33              'g_sSamp' (layout( binding=0) uniform sampler)
1260:?             Constant:
1270:?               0.100000
1280:?               0.200000
1290:34      Sequence
1300:34        move second child to first child ( temp 4-component vector of int)
1310:34          'txval21' ( temp 4-component vector of int)
1320:34          textureGather ( temp 4-component vector of int)
1330:34            Construct combined texture-sampler ( temp isampler2D)
1340:34              'g_tTex2di4' ( uniform itexture2D)
1350:34              'g_sSamp' (layout( binding=0) uniform sampler)
1360:?             Constant:
1370:?               0.300000
1380:?               0.400000
1390:35      Sequence
1400:35        move second child to first child ( temp 4-component vector of uint)
1410:35          'txval22' ( temp 4-component vector of uint)
1420:35          textureGather ( temp 4-component vector of uint)
1430:35            Construct combined texture-sampler ( temp usampler2D)
1440:35              'g_tTex2du4' ( uniform utexture2D)
1450:35              'g_sSamp' (layout( binding=0) uniform sampler)
1460:?             Constant:
1470:?               0.500000
1480:?               0.600000
1490:39      Sequence
1500:39        move second child to first child ( temp 4-component vector of float)
1510:39          'txval40' ( temp 4-component vector of float)
1520:39          textureGather ( temp 4-component vector of float)
1530:39            Construct combined texture-sampler ( temp samplerCube)
1540:39              'g_tTexcdf4' ( uniform textureCube)
1550:39              'g_sSamp' (layout( binding=0) uniform sampler)
1560:?             Constant:
1570:?               0.100000
1580:?               0.200000
1590:?               0.300000
1600:40      Sequence
1610:40        move second child to first child ( temp 4-component vector of int)
1620:40          'txval41' ( temp 4-component vector of int)
1630:40          textureGather ( temp 4-component vector of int)
1640:40            Construct combined texture-sampler ( temp isamplerCube)
1650:40              'g_tTexcdi4' ( uniform itextureCube)
1660:40              'g_sSamp' (layout( binding=0) uniform sampler)
1670:?             Constant:
1680:?               0.400000
1690:?               0.500000
1700:?               0.600000
1710:41      Sequence
1720:41        move second child to first child ( temp 4-component vector of uint)
1730:41          'txval42' ( temp 4-component vector of uint)
1740:41          textureGather ( temp 4-component vector of uint)
1750:41            Construct combined texture-sampler ( temp usamplerCube)
1760:41              'g_tTexcdu4' ( uniform utextureCube)
1770:41              'g_sSamp' (layout( binding=0) uniform sampler)
1780:?             Constant:
1790:?               0.700000
1800:?               0.800000
1810:?               0.900000
1820:43      move second child to first child ( temp 4-component vector of float)
1830:43        Pos: direct index for structure ( temp 4-component vector of float)
1840:43          'vsout' ( temp structure{ temp 4-component vector of float Pos})
1850:43          Constant:
1860:43            0 (const int)
1870:?         Constant:
1880:?           0.000000
1890:?           0.000000
1900:?           0.000000
1910:?           0.000000
1920:45      Branch: Return with expression
1930:45        'vsout' ( temp structure{ temp 4-component vector of float Pos})
1940:28  Function Definition: main( ( temp void)
1950:28    Function Parameters:
1960:?     Sequence
1970:28      Sequence
1980:28        move second child to first child ( temp 4-component vector of float)
1990:?           '@entryPointOutput.Pos' ( out 4-component vector of float Position)
2000:28          Pos: direct index for structure ( temp 4-component vector of float)
2010:28            Function Call: @main( ( temp structure{ temp 4-component vector of float Pos})
2020:28            Constant:
2030:28              0 (const int)
2040:?   Linker Objects
2050:?     'g_sSamp' (layout( binding=0) uniform sampler)
2060:?     'g_sSamp2d' ( uniform sampler)
2070:?     'g_tTex1df4a' (layout( binding=1) uniform texture1D)
2080:?     'g_tTex1df4' (layout( binding=0) uniform texture1D)
2090:?     'g_tTex1di4' ( uniform itexture1D)
2100:?     'g_tTex1du4' ( uniform utexture1D)
2110:?     'g_tTex2df4' ( uniform texture2D)
2120:?     'g_tTex2di4' ( uniform itexture2D)
2130:?     'g_tTex2du4' ( uniform utexture2D)
2140:?     'g_tTex3df4' ( uniform texture3D)
2150:?     'g_tTex3di4' ( uniform itexture3D)
2160:?     'g_tTex3du4' ( uniform utexture3D)
2170:?     'g_tTexcdf4' ( uniform textureCube)
2180:?     'g_tTexcdi4' ( uniform itextureCube)
2190:?     'g_tTexcdu4' ( uniform utextureCube)
2200:?     '@entryPointOutput.Pos' ( out 4-component vector of float Position)
221
222// Module Version 10000
223// Generated by (magic number): 80007
224// Id's are bound by 126
225
226                              Capability Shader
227                              Capability Sampled1D
228               1:             ExtInstImport  "GLSL.std.450"
229                              MemoryModel Logical GLSL450
230                              EntryPoint Vertex 4  "main" 103
231                              Source HLSL 500
232                              Name 4  "main"
233                              Name 8  "VS_OUTPUT"
234                              MemberName 8(VS_OUTPUT) 0  "Pos"
235                              Name 10  "@main("
236                              Name 13  "txval20"
237                              Name 16  "g_tTex2df4"
238                              Name 20  "g_sSamp"
239                              Name 33  "txval21"
240                              Name 36  "g_tTex2di4"
241                              Name 48  "txval22"
242                              Name 51  "g_tTex2du4"
243                              Name 60  "txval40"
244                              Name 63  "g_tTexcdf4"
245                              Name 71  "txval41"
246                              Name 74  "g_tTexcdi4"
247                              Name 81  "txval42"
248                              Name 84  "g_tTexcdu4"
249                              Name 95  "vsout"
250                              Name 103  "@entryPointOutput.Pos"
251                              Name 106  "g_sSamp2d"
252                              Name 109  "g_tTex1df4a"
253                              Name 110  "g_tTex1df4"
254                              Name 113  "g_tTex1di4"
255                              Name 116  "g_tTex1du4"
256                              Name 119  "g_tTex3df4"
257                              Name 122  "g_tTex3di4"
258                              Name 125  "g_tTex3du4"
259                              Decorate 16(g_tTex2df4) DescriptorSet 0
260                              Decorate 20(g_sSamp) DescriptorSet 0
261                              Decorate 20(g_sSamp) Binding 0
262                              Decorate 36(g_tTex2di4) DescriptorSet 0
263                              Decorate 51(g_tTex2du4) DescriptorSet 0
264                              Decorate 63(g_tTexcdf4) DescriptorSet 0
265                              Decorate 74(g_tTexcdi4) DescriptorSet 0
266                              Decorate 84(g_tTexcdu4) DescriptorSet 0
267                              Decorate 103(@entryPointOutput.Pos) BuiltIn Position
268                              Decorate 106(g_sSamp2d) DescriptorSet 0
269                              Decorate 109(g_tTex1df4a) DescriptorSet 0
270                              Decorate 109(g_tTex1df4a) Binding 1
271                              Decorate 110(g_tTex1df4) DescriptorSet 0
272                              Decorate 110(g_tTex1df4) Binding 0
273                              Decorate 113(g_tTex1di4) DescriptorSet 0
274                              Decorate 116(g_tTex1du4) DescriptorSet 0
275                              Decorate 119(g_tTex3df4) DescriptorSet 0
276                              Decorate 122(g_tTex3di4) DescriptorSet 0
277                              Decorate 125(g_tTex3du4) DescriptorSet 0
278               2:             TypeVoid
279               3:             TypeFunction 2
280               6:             TypeFloat 32
281               7:             TypeVector 6(float) 4
282    8(VS_OUTPUT):             TypeStruct 7(fvec4)
283               9:             TypeFunction 8(VS_OUTPUT)
284              12:             TypePointer Function 7(fvec4)
285              14:             TypeImage 6(float) 2D sampled format:Unknown
286              15:             TypePointer UniformConstant 14
287  16(g_tTex2df4):     15(ptr) Variable UniformConstant
288              18:             TypeSampler
289              19:             TypePointer UniformConstant 18
290     20(g_sSamp):     19(ptr) Variable UniformConstant
291              22:             TypeSampledImage 14
292              24:             TypeVector 6(float) 2
293              25:    6(float) Constant 1036831949
294              26:    6(float) Constant 1045220557
295              27:   24(fvec2) ConstantComposite 25 26
296              28:             TypeInt 32 1
297              29:     28(int) Constant 0
298              31:             TypeVector 28(int) 4
299              32:             TypePointer Function 31(ivec4)
300              34:             TypeImage 28(int) 2D sampled format:Unknown
301              35:             TypePointer UniformConstant 34
302  36(g_tTex2di4):     35(ptr) Variable UniformConstant
303              39:             TypeSampledImage 34
304              41:    6(float) Constant 1050253722
305              42:    6(float) Constant 1053609165
306              43:   24(fvec2) ConstantComposite 41 42
307              45:             TypeInt 32 0
308              46:             TypeVector 45(int) 4
309              47:             TypePointer Function 46(ivec4)
310              49:             TypeImage 45(int) 2D sampled format:Unknown
311              50:             TypePointer UniformConstant 49
312  51(g_tTex2du4):     50(ptr) Variable UniformConstant
313              54:             TypeSampledImage 49
314              56:    6(float) Constant 1056964608
315              57:    6(float) Constant 1058642330
316              58:   24(fvec2) ConstantComposite 56 57
317              61:             TypeImage 6(float) Cube sampled format:Unknown
318              62:             TypePointer UniformConstant 61
319  63(g_tTexcdf4):     62(ptr) Variable UniformConstant
320              66:             TypeSampledImage 61
321              68:             TypeVector 6(float) 3
322              69:   68(fvec3) ConstantComposite 25 26 41
323              72:             TypeImage 28(int) Cube sampled format:Unknown
324              73:             TypePointer UniformConstant 72
325  74(g_tTexcdi4):     73(ptr) Variable UniformConstant
326              77:             TypeSampledImage 72
327              79:   68(fvec3) ConstantComposite 42 56 57
328              82:             TypeImage 45(int) Cube sampled format:Unknown
329              83:             TypePointer UniformConstant 82
330  84(g_tTexcdu4):     83(ptr) Variable UniformConstant
331              87:             TypeSampledImage 82
332              89:    6(float) Constant 1060320051
333              90:    6(float) Constant 1061997773
334              91:    6(float) Constant 1063675494
335              92:   68(fvec3) ConstantComposite 89 90 91
336              94:             TypePointer Function 8(VS_OUTPUT)
337              96:    6(float) Constant 0
338              97:    7(fvec4) ConstantComposite 96 96 96 96
339             102:             TypePointer Output 7(fvec4)
340103(@entryPointOutput.Pos):    102(ptr) Variable Output
341  106(g_sSamp2d):     19(ptr) Variable UniformConstant
342             107:             TypeImage 6(float) 1D sampled format:Unknown
343             108:             TypePointer UniformConstant 107
344109(g_tTex1df4a):    108(ptr) Variable UniformConstant
345 110(g_tTex1df4):    108(ptr) Variable UniformConstant
346             111:             TypeImage 28(int) 1D sampled format:Unknown
347             112:             TypePointer UniformConstant 111
348 113(g_tTex1di4):    112(ptr) Variable UniformConstant
349             114:             TypeImage 45(int) 1D sampled format:Unknown
350             115:             TypePointer UniformConstant 114
351 116(g_tTex1du4):    115(ptr) Variable UniformConstant
352             117:             TypeImage 6(float) 3D sampled format:Unknown
353             118:             TypePointer UniformConstant 117
354 119(g_tTex3df4):    118(ptr) Variable UniformConstant
355             120:             TypeImage 28(int) 3D sampled format:Unknown
356             121:             TypePointer UniformConstant 120
357 122(g_tTex3di4):    121(ptr) Variable UniformConstant
358             123:             TypeImage 45(int) 3D sampled format:Unknown
359             124:             TypePointer UniformConstant 123
360 125(g_tTex3du4):    124(ptr) Variable UniformConstant
361         4(main):           2 Function None 3
362               5:             Label
363             104:8(VS_OUTPUT) FunctionCall 10(@main()
364             105:    7(fvec4) CompositeExtract 104 0
365                              Store 103(@entryPointOutput.Pos) 105
366                              Return
367                              FunctionEnd
368      10(@main():8(VS_OUTPUT) Function None 9
369              11:             Label
370     13(txval20):     12(ptr) Variable Function
371     33(txval21):     32(ptr) Variable Function
372     48(txval22):     47(ptr) Variable Function
373     60(txval40):     12(ptr) Variable Function
374     71(txval41):     32(ptr) Variable Function
375     81(txval42):     47(ptr) Variable Function
376       95(vsout):     94(ptr) Variable Function
377              17:          14 Load 16(g_tTex2df4)
378              21:          18 Load 20(g_sSamp)
379              23:          22 SampledImage 17 21
380              30:    7(fvec4) ImageGather 23 27 29
381                              Store 13(txval20) 30
382              37:          34 Load 36(g_tTex2di4)
383              38:          18 Load 20(g_sSamp)
384              40:          39 SampledImage 37 38
385              44:   31(ivec4) ImageGather 40 43 29
386                              Store 33(txval21) 44
387              52:          49 Load 51(g_tTex2du4)
388              53:          18 Load 20(g_sSamp)
389              55:          54 SampledImage 52 53
390              59:   46(ivec4) ImageGather 55 58 29
391                              Store 48(txval22) 59
392              64:          61 Load 63(g_tTexcdf4)
393              65:          18 Load 20(g_sSamp)
394              67:          66 SampledImage 64 65
395              70:    7(fvec4) ImageGather 67 69 29
396                              Store 60(txval40) 70
397              75:          72 Load 74(g_tTexcdi4)
398              76:          18 Load 20(g_sSamp)
399              78:          77 SampledImage 75 76
400              80:   31(ivec4) ImageGather 78 79 29
401                              Store 71(txval41) 80
402              85:          82 Load 84(g_tTexcdu4)
403              86:          18 Load 20(g_sSamp)
404              88:          87 SampledImage 85 86
405              93:   46(ivec4) ImageGather 88 92 29
406                              Store 81(txval42) 93
407              98:     12(ptr) AccessChain 95(vsout) 29
408                              Store 98 97
409              99:8(VS_OUTPUT) Load 95(vsout)
410                              ReturnValue 99
411                              FunctionEnd
412