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): 8000a
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 16(g_tTex2df4) Binding 2
261                              Decorate 20(g_sSamp) DescriptorSet 0
262                              Decorate 20(g_sSamp) Binding 0
263                              Decorate 36(g_tTex2di4) DescriptorSet 0
264                              Decorate 36(g_tTex2di4) Binding 3
265                              Decorate 51(g_tTex2du4) DescriptorSet 0
266                              Decorate 51(g_tTex2du4) Binding 4
267                              Decorate 63(g_tTexcdf4) DescriptorSet 0
268                              Decorate 63(g_tTexcdf4) Binding 5
269                              Decorate 74(g_tTexcdi4) DescriptorSet 0
270                              Decorate 74(g_tTexcdi4) Binding 6
271                              Decorate 84(g_tTexcdu4) DescriptorSet 0
272                              Decorate 84(g_tTexcdu4) Binding 7
273                              Decorate 103(@entryPointOutput.Pos) BuiltIn Position
274                              Decorate 106(g_sSamp2d) DescriptorSet 0
275                              Decorate 106(g_sSamp2d) Binding 0
276                              Decorate 109(g_tTex1df4a) DescriptorSet 0
277                              Decorate 109(g_tTex1df4a) Binding 1
278                              Decorate 110(g_tTex1df4) DescriptorSet 0
279                              Decorate 110(g_tTex1df4) Binding 0
280                              Decorate 113(g_tTex1di4) DescriptorSet 0
281                              Decorate 113(g_tTex1di4) Binding 0
282                              Decorate 116(g_tTex1du4) DescriptorSet 0
283                              Decorate 116(g_tTex1du4) Binding 0
284                              Decorate 119(g_tTex3df4) DescriptorSet 0
285                              Decorate 119(g_tTex3df4) Binding 0
286                              Decorate 122(g_tTex3di4) DescriptorSet 0
287                              Decorate 122(g_tTex3di4) Binding 0
288                              Decorate 125(g_tTex3du4) DescriptorSet 0
289                              Decorate 125(g_tTex3du4) Binding 0
290               2:             TypeVoid
291               3:             TypeFunction 2
292               6:             TypeFloat 32
293               7:             TypeVector 6(float) 4
294    8(VS_OUTPUT):             TypeStruct 7(fvec4)
295               9:             TypeFunction 8(VS_OUTPUT)
296              12:             TypePointer Function 7(fvec4)
297              14:             TypeImage 6(float) 2D sampled format:Unknown
298              15:             TypePointer UniformConstant 14
299  16(g_tTex2df4):     15(ptr) Variable UniformConstant
300              18:             TypeSampler
301              19:             TypePointer UniformConstant 18
302     20(g_sSamp):     19(ptr) Variable UniformConstant
303              22:             TypeSampledImage 14
304              24:             TypeVector 6(float) 2
305              25:    6(float) Constant 1036831949
306              26:    6(float) Constant 1045220557
307              27:   24(fvec2) ConstantComposite 25 26
308              28:             TypeInt 32 1
309              29:     28(int) Constant 0
310              31:             TypeVector 28(int) 4
311              32:             TypePointer Function 31(ivec4)
312              34:             TypeImage 28(int) 2D sampled format:Unknown
313              35:             TypePointer UniformConstant 34
314  36(g_tTex2di4):     35(ptr) Variable UniformConstant
315              39:             TypeSampledImage 34
316              41:    6(float) Constant 1050253722
317              42:    6(float) Constant 1053609165
318              43:   24(fvec2) ConstantComposite 41 42
319              45:             TypeInt 32 0
320              46:             TypeVector 45(int) 4
321              47:             TypePointer Function 46(ivec4)
322              49:             TypeImage 45(int) 2D sampled format:Unknown
323              50:             TypePointer UniformConstant 49
324  51(g_tTex2du4):     50(ptr) Variable UniformConstant
325              54:             TypeSampledImage 49
326              56:    6(float) Constant 1056964608
327              57:    6(float) Constant 1058642330
328              58:   24(fvec2) ConstantComposite 56 57
329              61:             TypeImage 6(float) Cube sampled format:Unknown
330              62:             TypePointer UniformConstant 61
331  63(g_tTexcdf4):     62(ptr) Variable UniformConstant
332              66:             TypeSampledImage 61
333              68:             TypeVector 6(float) 3
334              69:   68(fvec3) ConstantComposite 25 26 41
335              72:             TypeImage 28(int) Cube sampled format:Unknown
336              73:             TypePointer UniformConstant 72
337  74(g_tTexcdi4):     73(ptr) Variable UniformConstant
338              77:             TypeSampledImage 72
339              79:   68(fvec3) ConstantComposite 42 56 57
340              82:             TypeImage 45(int) Cube sampled format:Unknown
341              83:             TypePointer UniformConstant 82
342  84(g_tTexcdu4):     83(ptr) Variable UniformConstant
343              87:             TypeSampledImage 82
344              89:    6(float) Constant 1060320051
345              90:    6(float) Constant 1061997773
346              91:    6(float) Constant 1063675494
347              92:   68(fvec3) ConstantComposite 89 90 91
348              94:             TypePointer Function 8(VS_OUTPUT)
349              96:    6(float) Constant 0
350              97:    7(fvec4) ConstantComposite 96 96 96 96
351             102:             TypePointer Output 7(fvec4)
352103(@entryPointOutput.Pos):    102(ptr) Variable Output
353  106(g_sSamp2d):     19(ptr) Variable UniformConstant
354             107:             TypeImage 6(float) 1D sampled format:Unknown
355             108:             TypePointer UniformConstant 107
356109(g_tTex1df4a):    108(ptr) Variable UniformConstant
357 110(g_tTex1df4):    108(ptr) Variable UniformConstant
358             111:             TypeImage 28(int) 1D sampled format:Unknown
359             112:             TypePointer UniformConstant 111
360 113(g_tTex1di4):    112(ptr) Variable UniformConstant
361             114:             TypeImage 45(int) 1D sampled format:Unknown
362             115:             TypePointer UniformConstant 114
363 116(g_tTex1du4):    115(ptr) Variable UniformConstant
364             117:             TypeImage 6(float) 3D sampled format:Unknown
365             118:             TypePointer UniformConstant 117
366 119(g_tTex3df4):    118(ptr) Variable UniformConstant
367             120:             TypeImage 28(int) 3D sampled format:Unknown
368             121:             TypePointer UniformConstant 120
369 122(g_tTex3di4):    121(ptr) Variable UniformConstant
370             123:             TypeImage 45(int) 3D sampled format:Unknown
371             124:             TypePointer UniformConstant 123
372 125(g_tTex3du4):    124(ptr) Variable UniformConstant
373         4(main):           2 Function None 3
374               5:             Label
375             104:8(VS_OUTPUT) FunctionCall 10(@main()
376             105:    7(fvec4) CompositeExtract 104 0
377                              Store 103(@entryPointOutput.Pos) 105
378                              Return
379                              FunctionEnd
380      10(@main():8(VS_OUTPUT) Function None 9
381              11:             Label
382     13(txval20):     12(ptr) Variable Function
383     33(txval21):     32(ptr) Variable Function
384     48(txval22):     47(ptr) Variable Function
385     60(txval40):     12(ptr) Variable Function
386     71(txval41):     32(ptr) Variable Function
387     81(txval42):     47(ptr) Variable Function
388       95(vsout):     94(ptr) Variable Function
389              17:          14 Load 16(g_tTex2df4)
390              21:          18 Load 20(g_sSamp)
391              23:          22 SampledImage 17 21
392              30:    7(fvec4) ImageGather 23 27 29
393                              Store 13(txval20) 30
394              37:          34 Load 36(g_tTex2di4)
395              38:          18 Load 20(g_sSamp)
396              40:          39 SampledImage 37 38
397              44:   31(ivec4) ImageGather 40 43 29
398                              Store 33(txval21) 44
399              52:          49 Load 51(g_tTex2du4)
400              53:          18 Load 20(g_sSamp)
401              55:          54 SampledImage 52 53
402              59:   46(ivec4) ImageGather 55 58 29
403                              Store 48(txval22) 59
404              64:          61 Load 63(g_tTexcdf4)
405              65:          18 Load 20(g_sSamp)
406              67:          66 SampledImage 64 65
407              70:    7(fvec4) ImageGather 67 69 29
408                              Store 60(txval40) 70
409              75:          72 Load 74(g_tTexcdi4)
410              76:          18 Load 20(g_sSamp)
411              78:          77 SampledImage 75 76
412              80:   31(ivec4) ImageGather 78 79 29
413                              Store 71(txval41) 80
414              85:          82 Load 84(g_tTexcdu4)
415              86:          18 Load 20(g_sSamp)
416              88:          87 SampledImage 85 86
417              93:   46(ivec4) ImageGather 88 92 29
418                              Store 81(txval42) 93
419              98:     12(ptr) AccessChain 95(vsout) 29
420                              Store 98 97
421              99:8(VS_OUTPUT) Load 95(vsout)
422                              ReturnValue 99
423                              FunctionEnd
424