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): 80007
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 20(g_sSamp) DescriptorSet 0
184                              Decorate 20(g_sSamp) Binding 0
185                              Decorate 30(g_tTex1df2) DescriptorSet 0
186                              Decorate 42(g_tTex1df3) DescriptorSet 0
187                              Decorate 53(g_tTex1df4) DescriptorSet 0
188                              Decorate 69(@entryPointOutput.Color) Location 0
189               2:             TypeVoid
190               3:             TypeFunction 2
191               6:             TypeFloat 32
192               7:             TypeVector 6(float) 4
193    8(PS_OUTPUT):             TypeStruct 7(fvec4)
194               9:             TypeFunction 8(PS_OUTPUT)
195              12:             TypePointer Function 6(float)
196              14:             TypeImage 6(float) 1D sampled format:Unknown
197              15:             TypePointer UniformConstant 14
198  16(g_tTex1df1):     15(ptr) Variable UniformConstant
199              18:             TypeSampler
200              19:             TypePointer UniformConstant 18
201     20(g_sSamp):     19(ptr) Variable UniformConstant
202              22:             TypeSampledImage 14
203              24:    6(float) Constant 1036831949
204              27:             TypeVector 6(float) 2
205              28:             TypePointer Function 27(fvec2)
206  30(g_tTex1df2):     15(ptr) Variable UniformConstant
207              34:    6(float) Constant 1045220557
208              39:             TypeVector 6(float) 3
209              40:             TypePointer Function 39(fvec3)
210  42(g_tTex1df3):     15(ptr) Variable UniformConstant
211              51:             TypePointer Function 7(fvec4)
212  53(g_tTex1df4):     15(ptr) Variable UniformConstant
213              58:             TypePointer Function 8(PS_OUTPUT)
214              60:             TypeInt 32 1
215              61:     60(int) Constant 0
216              62:    6(float) Constant 1065353216
217              63:    7(fvec4) ConstantComposite 62 62 62 62
218              68:             TypePointer Output 7(fvec4)
21969(@entryPointOutput.Color):     68(ptr) Variable Output
220         4(main):           2 Function None 3
221               5:             Label
222              70:8(PS_OUTPUT) FunctionCall 10(@main()
223              71:    7(fvec4) CompositeExtract 70 0
224                              Store 69(@entryPointOutput.Color) 71
225                              Return
226                              FunctionEnd
227      10(@main():8(PS_OUTPUT) Function None 9
228              11:             Label
229     13(txval10):     12(ptr) Variable Function
230     29(txval11):     28(ptr) Variable Function
231     41(txval12):     40(ptr) Variable Function
232     52(txval13):     51(ptr) Variable Function
233       59(psout):     58(ptr) Variable Function
234              17:          14 Load 16(g_tTex1df1)
235              21:          18 Load 20(g_sSamp)
236              23:          22 SampledImage 17 21
237              25:    7(fvec4) ImageSampleImplicitLod 23 24
238              26:    6(float) CompositeExtract 25 0
239                              Store 13(txval10) 26
240              31:          14 Load 30(g_tTex1df2)
241              32:          18 Load 20(g_sSamp)
242              33:          22 SampledImage 31 32
243              35:    7(fvec4) ImageSampleImplicitLod 33 34
244              36:    6(float) CompositeExtract 35 0
245              37:    6(float) CompositeExtract 35 1
246              38:   27(fvec2) CompositeConstruct 36 37
247                              Store 29(txval11) 38
248              43:          14 Load 42(g_tTex1df3)
249              44:          18 Load 20(g_sSamp)
250              45:          22 SampledImage 43 44
251              46:    7(fvec4) ImageSampleImplicitLod 45 34
252              47:    6(float) CompositeExtract 46 0
253              48:    6(float) CompositeExtract 46 1
254              49:    6(float) CompositeExtract 46 2
255              50:   39(fvec3) CompositeConstruct 47 48 49
256                              Store 41(txval12) 50
257              54:          14 Load 53(g_tTex1df4)
258              55:          18 Load 20(g_sSamp)
259              56:          22 SampledImage 54 55
260              57:    7(fvec4) ImageSampleImplicitLod 56 34
261                              Store 52(txval13) 57
262              64:     51(ptr) AccessChain 59(psout) 61
263                              Store 64 63
264              65:8(PS_OUTPUT) Load 59(psout)
265                              ReturnValue 65
266                              FunctionEnd
267