1hlsl.sample.sub-vec4.dx10.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:14  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
60:14    Function Parameters:
70:?     Sequence
80:17      Sequence
90:17        move second child to first child ( temp float)
100:17          'txval10' ( temp float)
110:17          Construct float ( temp float)
120:?             texture ( temp 4-component vector of float)
130:17              Construct combined texture-sampler ( temp sampler1D)
140:17                'g_tTex1df1' ( uniform texture1D)
150:17                'g_sSamp' (layout( binding=0) uniform sampler)
160:17              Constant:
170:17                0.100000
180:18      Sequence
190:18        move second child to first child ( temp 2-component vector of float)
200:18          'txval11' ( temp 2-component vector of float)
210:18          Construct vec2 ( temp 2-component vector of float)
220:?             texture ( temp 4-component vector of float)
230:18              Construct combined texture-sampler ( temp sampler1D)
240:18                'g_tTex1df2' ( uniform texture1D)
250:18                'g_sSamp' (layout( binding=0) uniform sampler)
260:18              Constant:
270:18                0.200000
280:19      Sequence
290:19        move second child to first child ( temp 3-component vector of float)
300:19          'txval12' ( temp 3-component vector of float)
310:19          Construct vec3 ( temp 3-component vector of float)
320:?             texture ( temp 4-component vector of float)
330:19              Construct combined texture-sampler ( temp sampler1D)
340:19                'g_tTex1df3' ( uniform texture1D)
350:19                'g_sSamp' (layout( binding=0) uniform sampler)
360:19              Constant:
370:19                0.200000
380:20      Sequence
390:20        move second child to first child ( temp 4-component vector of float)
400:20          'txval13' ( temp 4-component vector of float)
410:20          texture ( temp 4-component vector of float)
420:20            Construct combined texture-sampler ( temp sampler1D)
430:20              'g_tTex1df4' ( uniform texture1D)
440:20              'g_sSamp' (layout( binding=0) uniform sampler)
450:20            Constant:
460:20              0.200000
470:22      move second child to first child ( temp 4-component vector of float)
480:22        Color: direct index for structure ( temp 4-component vector of float)
490:22          'psout' ( temp structure{ temp 4-component vector of float Color})
500:22          Constant:
510:22            0 (const int)
520:22        Constant:
530:22          1.000000
540:22          1.000000
550:22          1.000000
560:22          1.000000
570:23      Branch: Return with expression
580:23        'psout' ( temp structure{ temp 4-component vector of float Color})
590:14  Function Definition: main( ( temp void)
600:14    Function Parameters:
610:?     Sequence
620:14      Sequence
630:14        move second child to first child ( temp 4-component vector of float)
640:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
650:14          Color: direct index for structure ( temp 4-component vector of float)
660:14            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
670:14            Constant:
680:14              0 (const int)
690:?   Linker Objects
700:?     'g_sSamp' (layout( binding=0) uniform sampler)
710:?     'g_tTex1df1' ( uniform texture1D)
720:?     'g_tTex1df2' ( uniform texture1D)
730:?     'g_tTex1df3' ( uniform texture1D)
740:?     'g_tTex1df4' ( uniform texture1D)
750:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
76
77
78Linked fragment stage:
79
80
81Shader version: 500
82gl_FragCoord origin is upper left
830:? Sequence
840:14  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
850:14    Function Parameters:
860:?     Sequence
870:17      Sequence
880:17        move second child to first child ( temp float)
890:17          'txval10' ( temp float)
900:17          Construct float ( temp float)
910:?             texture ( temp 4-component vector of float)
920:17              Construct combined texture-sampler ( temp sampler1D)
930:17                'g_tTex1df1' ( uniform texture1D)
940:17                'g_sSamp' (layout( binding=0) uniform sampler)
950:17              Constant:
960:17                0.100000
970:18      Sequence
980:18        move second child to first child ( temp 2-component vector of float)
990:18          'txval11' ( temp 2-component vector of float)
1000:18          Construct vec2 ( temp 2-component vector of float)
1010:?             texture ( temp 4-component vector of float)
1020:18              Construct combined texture-sampler ( temp sampler1D)
1030:18                'g_tTex1df2' ( uniform texture1D)
1040:18                'g_sSamp' (layout( binding=0) uniform sampler)
1050:18              Constant:
1060:18                0.200000
1070:19      Sequence
1080:19        move second child to first child ( temp 3-component vector of float)
1090:19          'txval12' ( temp 3-component vector of float)
1100:19          Construct vec3 ( temp 3-component vector of float)
1110:?             texture ( temp 4-component vector of float)
1120:19              Construct combined texture-sampler ( temp sampler1D)
1130:19                'g_tTex1df3' ( uniform texture1D)
1140:19                'g_sSamp' (layout( binding=0) uniform sampler)
1150:19              Constant:
1160:19                0.200000
1170:20      Sequence
1180:20        move second child to first child ( temp 4-component vector of float)
1190:20          'txval13' ( temp 4-component vector of float)
1200:20          texture ( temp 4-component vector of float)
1210:20            Construct combined texture-sampler ( temp sampler1D)
1220:20              'g_tTex1df4' ( uniform texture1D)
1230:20              'g_sSamp' (layout( binding=0) uniform sampler)
1240:20            Constant:
1250:20              0.200000
1260:22      move second child to first child ( temp 4-component vector of float)
1270:22        Color: direct index for structure ( temp 4-component vector of float)
1280:22          'psout' ( temp structure{ temp 4-component vector of float Color})
1290:22          Constant:
1300:22            0 (const int)
1310:22        Constant:
1320:22          1.000000
1330:22          1.000000
1340:22          1.000000
1350:22          1.000000
1360:23      Branch: Return with expression
1370:23        'psout' ( temp structure{ temp 4-component vector of float Color})
1380:14  Function Definition: main( ( temp void)
1390:14    Function Parameters:
1400:?     Sequence
1410:14      Sequence
1420:14        move second child to first child ( temp 4-component vector of float)
1430:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
1440:14          Color: direct index for structure ( temp 4-component vector of float)
1450:14            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
1460:14            Constant:
1470:14              0 (const int)
1480:?   Linker Objects
1490:?     'g_sSamp' (layout( binding=0) uniform sampler)
1500:?     'g_tTex1df1' ( uniform texture1D)
1510:?     'g_tTex1df2' ( uniform texture1D)
1520:?     'g_tTex1df3' ( uniform texture1D)
1530:?     'g_tTex1df4' ( uniform texture1D)
1540:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
155
156// Module Version 10000
157// Generated by (magic number): 8000a
158// Id's are bound by 72
159
160                              Capability Shader
161                              Capability Sampled1D
162               1:             ExtInstImport  "GLSL.std.450"
163                              MemoryModel Logical GLSL450
164                              EntryPoint Fragment 4  "main" 69
165                              ExecutionMode 4 OriginUpperLeft
166                              Source HLSL 500
167                              Name 4  "main"
168                              Name 8  "PS_OUTPUT"
169                              MemberName 8(PS_OUTPUT) 0  "Color"
170                              Name 10  "@main("
171                              Name 13  "txval10"
172                              Name 16  "g_tTex1df1"
173                              Name 20  "g_sSamp"
174                              Name 29  "txval11"
175                              Name 30  "g_tTex1df2"
176                              Name 41  "txval12"
177                              Name 42  "g_tTex1df3"
178                              Name 52  "txval13"
179                              Name 53  "g_tTex1df4"
180                              Name 59  "psout"
181                              Name 69  "@entryPointOutput.Color"
182                              Decorate 16(g_tTex1df1) DescriptorSet 0
183                              Decorate 16(g_tTex1df1) Binding 1
184                              Decorate 20(g_sSamp) DescriptorSet 0
185                              Decorate 20(g_sSamp) Binding 0
186                              Decorate 30(g_tTex1df2) DescriptorSet 0
187                              Decorate 30(g_tTex1df2) Binding 2
188                              Decorate 42(g_tTex1df3) DescriptorSet 0
189                              Decorate 42(g_tTex1df3) Binding 3
190                              Decorate 53(g_tTex1df4) DescriptorSet 0
191                              Decorate 53(g_tTex1df4) Binding 4
192                              Decorate 69(@entryPointOutput.Color) Location 0
193               2:             TypeVoid
194               3:             TypeFunction 2
195               6:             TypeFloat 32
196               7:             TypeVector 6(float) 4
197    8(PS_OUTPUT):             TypeStruct 7(fvec4)
198               9:             TypeFunction 8(PS_OUTPUT)
199              12:             TypePointer Function 6(float)
200              14:             TypeImage 6(float) 1D sampled format:Unknown
201              15:             TypePointer UniformConstant 14
202  16(g_tTex1df1):     15(ptr) Variable UniformConstant
203              18:             TypeSampler
204              19:             TypePointer UniformConstant 18
205     20(g_sSamp):     19(ptr) Variable UniformConstant
206              22:             TypeSampledImage 14
207              24:    6(float) Constant 1036831949
208              27:             TypeVector 6(float) 2
209              28:             TypePointer Function 27(fvec2)
210  30(g_tTex1df2):     15(ptr) Variable UniformConstant
211              34:    6(float) Constant 1045220557
212              39:             TypeVector 6(float) 3
213              40:             TypePointer Function 39(fvec3)
214  42(g_tTex1df3):     15(ptr) Variable UniformConstant
215              51:             TypePointer Function 7(fvec4)
216  53(g_tTex1df4):     15(ptr) Variable UniformConstant
217              58:             TypePointer Function 8(PS_OUTPUT)
218              60:             TypeInt 32 1
219              61:     60(int) Constant 0
220              62:    6(float) Constant 1065353216
221              63:    7(fvec4) ConstantComposite 62 62 62 62
222              68:             TypePointer Output 7(fvec4)
22369(@entryPointOutput.Color):     68(ptr) Variable Output
224         4(main):           2 Function None 3
225               5:             Label
226              70:8(PS_OUTPUT) FunctionCall 10(@main()
227              71:    7(fvec4) CompositeExtract 70 0
228                              Store 69(@entryPointOutput.Color) 71
229                              Return
230                              FunctionEnd
231      10(@main():8(PS_OUTPUT) Function None 9
232              11:             Label
233     13(txval10):     12(ptr) Variable Function
234     29(txval11):     28(ptr) Variable Function
235     41(txval12):     40(ptr) Variable Function
236     52(txval13):     51(ptr) Variable Function
237       59(psout):     58(ptr) Variable Function
238              17:          14 Load 16(g_tTex1df1)
239              21:          18 Load 20(g_sSamp)
240              23:          22 SampledImage 17 21
241              25:    7(fvec4) ImageSampleImplicitLod 23 24
242              26:    6(float) CompositeExtract 25 0
243                              Store 13(txval10) 26
244              31:          14 Load 30(g_tTex1df2)
245              32:          18 Load 20(g_sSamp)
246              33:          22 SampledImage 31 32
247              35:    7(fvec4) ImageSampleImplicitLod 33 34
248              36:    6(float) CompositeExtract 35 0
249              37:    6(float) CompositeExtract 35 1
250              38:   27(fvec2) CompositeConstruct 36 37
251                              Store 29(txval11) 38
252              43:          14 Load 42(g_tTex1df3)
253              44:          18 Load 20(g_sSamp)
254              45:          22 SampledImage 43 44
255              46:    7(fvec4) ImageSampleImplicitLod 45 34
256              47:    6(float) CompositeExtract 46 0
257              48:    6(float) CompositeExtract 46 1
258              49:    6(float) CompositeExtract 46 2
259              50:   39(fvec3) CompositeConstruct 47 48 49
260                              Store 41(txval12) 50
261              54:          14 Load 53(g_tTex1df4)
262              55:          18 Load 20(g_sSamp)
263              56:          22 SampledImage 54 55
264              57:    7(fvec4) ImageSampleImplicitLod 56 34
265                              Store 52(txval13) 57
266              64:     51(ptr) AccessChain 59(psout) 61
267                              Store 64 63
268              65:8(PS_OUTPUT) Load 59(psout)
269                              ReturnValue 65
270                              FunctionEnd
271