1hlsl.tx.overload.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:8  Function Definition: Func(t211; ( temp float)
60:8    Function Parameters:
70:8      'DummyTex' ( in texture2D)
80:?     Sequence
90:8      Branch: Return with expression
100:8        Constant:
110:8          1.000000
120:9  Function Definition: Func(t21; ( temp 4-component vector of float)
130:9    Function Parameters:
140:9      'DummyTex' ( in texture2D)
150:?     Sequence
160:9      Branch: Return with expression
170:?         Constant:
180:?           0.000000
190:?           0.000000
200:?           0.000000
210:?           0.000000
220:11  Function Definition: Func(I211; ( temp float)
230:11    Function Parameters:
240:11      'DummyTex' (layout( r32f) in image2D)
250:?     Sequence
260:11      Branch: Return with expression
270:11        Constant:
280:11          1.000000
290:12  Function Definition: Func(I21; ( temp 4-component vector of float)
300:12    Function Parameters:
310:12      'DummyTex' (layout( rgba32f) in image2D)
320:?     Sequence
330:12      Branch: Return with expression
340:?         Constant:
350:?           0.000000
360:?           0.000000
370:?           0.000000
380:?           0.000000
390:15  Function Definition: @main( ( temp 4-component vector of float)
400:15    Function Parameters:
410:?     Sequence
420:16      Branch: Return with expression
430:16        add ( temp 4-component vector of float)
440:16          add ( temp 4-component vector of float)
450:16            add ( temp 4-component vector of float)
460:16              Function Call: Func(t211; ( temp float)
470:16                'tf1' ( uniform texture2D)
480:16              Function Call: Func(t21; ( temp 4-component vector of float)
490:16                'tf4' ( uniform texture2D)
500:16            Function Call: Func(I211; ( temp float)
510:16              'twf1' (layout( r32f) uniform image2D)
520:16          Function Call: Func(I21; ( temp 4-component vector of float)
530:16            'twf4' (layout( rgba32f) uniform image2D)
540:15  Function Definition: main( ( temp void)
550:15    Function Parameters:
560:?     Sequence
570:15      move second child to first child ( temp 4-component vector of float)
580:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
590:15        Function Call: @main( ( temp 4-component vector of float)
600:?   Linker Objects
610:?     'tf1' ( uniform texture2D)
620:?     'tf4' ( uniform texture2D)
630:?     'twf1' (layout( r32f) uniform image2D)
640:?     'twf4' (layout( rgba32f) uniform image2D)
650:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
66
67
68Linked fragment stage:
69
70
71Shader version: 500
72gl_FragCoord origin is upper left
730:? Sequence
740:8  Function Definition: Func(t211; ( temp float)
750:8    Function Parameters:
760:8      'DummyTex' ( in texture2D)
770:?     Sequence
780:8      Branch: Return with expression
790:8        Constant:
800:8          1.000000
810:9  Function Definition: Func(t21; ( temp 4-component vector of float)
820:9    Function Parameters:
830:9      'DummyTex' ( in texture2D)
840:?     Sequence
850:9      Branch: Return with expression
860:?         Constant:
870:?           0.000000
880:?           0.000000
890:?           0.000000
900:?           0.000000
910:11  Function Definition: Func(I211; ( temp float)
920:11    Function Parameters:
930:11      'DummyTex' (layout( r32f) in image2D)
940:?     Sequence
950:11      Branch: Return with expression
960:11        Constant:
970:11          1.000000
980:12  Function Definition: Func(I21; ( temp 4-component vector of float)
990:12    Function Parameters:
1000:12      'DummyTex' (layout( rgba32f) in image2D)
1010:?     Sequence
1020:12      Branch: Return with expression
1030:?         Constant:
1040:?           0.000000
1050:?           0.000000
1060:?           0.000000
1070:?           0.000000
1080:15  Function Definition: @main( ( temp 4-component vector of float)
1090:15    Function Parameters:
1100:?     Sequence
1110:16      Branch: Return with expression
1120:16        add ( temp 4-component vector of float)
1130:16          add ( temp 4-component vector of float)
1140:16            add ( temp 4-component vector of float)
1150:16              Function Call: Func(t211; ( temp float)
1160:16                'tf1' ( uniform texture2D)
1170:16              Function Call: Func(t21; ( temp 4-component vector of float)
1180:16                'tf4' ( uniform texture2D)
1190:16            Function Call: Func(I211; ( temp float)
1200:16              'twf1' (layout( r32f) uniform image2D)
1210:16          Function Call: Func(I21; ( temp 4-component vector of float)
1220:16            'twf4' (layout( rgba32f) uniform image2D)
1230:15  Function Definition: main( ( temp void)
1240:15    Function Parameters:
1250:?     Sequence
1260:15      move second child to first child ( temp 4-component vector of float)
1270:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1280:15        Function Call: @main( ( temp 4-component vector of float)
1290:?   Linker Objects
1300:?     'tf1' ( uniform texture2D)
1310:?     'tf4' ( uniform texture2D)
1320:?     'twf1' (layout( r32f) uniform image2D)
1330:?     'twf4' (layout( rgba32f) uniform image2D)
1340:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
135
136// Module Version 10000
137// Generated by (magic number): 8000a
138// Id's are bound by 73
139
140                              Capability Shader
141               1:             ExtInstImport  "GLSL.std.450"
142                              MemoryModel Logical GLSL450
143                              EntryPoint Fragment 4  "main" 71
144                              ExecutionMode 4 OriginUpperLeft
145                              Source HLSL 500
146                              Name 4  "main"
147                              Name 11  "Func(t211;"
148                              Name 10  "DummyTex"
149                              Name 16  "Func(t21;"
150                              Name 15  "DummyTex"
151                              Name 22  "Func(I211;"
152                              Name 21  "DummyTex"
153                              Name 28  "Func(I21;"
154                              Name 27  "DummyTex"
155                              Name 31  "@main("
156                              Name 45  "tf1"
157                              Name 46  "param"
158                              Name 49  "tf4"
159                              Name 50  "param"
160                              Name 56  "twf1"
161                              Name 57  "param"
162                              Name 63  "twf4"
163                              Name 64  "param"
164                              Name 71  "@entryPointOutput"
165                              Decorate 45(tf1) DescriptorSet 0
166                              Decorate 45(tf1) Binding 0
167                              Decorate 49(tf4) DescriptorSet 0
168                              Decorate 49(tf4) Binding 1
169                              Decorate 56(twf1) DescriptorSet 0
170                              Decorate 56(twf1) Binding 2
171                              Decorate 63(twf4) DescriptorSet 0
172                              Decorate 63(twf4) Binding 3
173                              Decorate 71(@entryPointOutput) Location 0
174               2:             TypeVoid
175               3:             TypeFunction 2
176               6:             TypeFloat 32
177               7:             TypeImage 6(float) 2D sampled format:Unknown
178               8:             TypePointer Function 7
179               9:             TypeFunction 6(float) 8(ptr)
180              13:             TypeVector 6(float) 4
181              14:             TypeFunction 13(fvec4) 8(ptr)
182              18:             TypeImage 6(float) 2D nonsampled format:R32f
183              19:             TypePointer Function 18
184              20:             TypeFunction 6(float) 19(ptr)
185              24:             TypeImage 6(float) 2D nonsampled format:Rgba32f
186              25:             TypePointer Function 24
187              26:             TypeFunction 13(fvec4) 25(ptr)
188              30:             TypeFunction 13(fvec4)
189              33:    6(float) Constant 1065353216
190              36:    6(float) Constant 0
191              37:   13(fvec4) ConstantComposite 36 36 36 36
192              44:             TypePointer UniformConstant 7
193         45(tf1):     44(ptr) Variable UniformConstant
194         49(tf4):     44(ptr) Variable UniformConstant
195              55:             TypePointer UniformConstant 18
196        56(twf1):     55(ptr) Variable UniformConstant
197              62:             TypePointer UniformConstant 24
198        63(twf4):     62(ptr) Variable UniformConstant
199              70:             TypePointer Output 13(fvec4)
20071(@entryPointOutput):     70(ptr) Variable Output
201         4(main):           2 Function None 3
202               5:             Label
203              72:   13(fvec4) FunctionCall 31(@main()
204                              Store 71(@entryPointOutput) 72
205                              Return
206                              FunctionEnd
207  11(Func(t211;):    6(float) Function None 9
208    10(DummyTex):      8(ptr) FunctionParameter
209              12:             Label
210                              ReturnValue 33
211                              FunctionEnd
212   16(Func(t21;):   13(fvec4) Function None 14
213    15(DummyTex):      8(ptr) FunctionParameter
214              17:             Label
215                              ReturnValue 37
216                              FunctionEnd
217  22(Func(I211;):    6(float) Function None 20
218    21(DummyTex):     19(ptr) FunctionParameter
219              23:             Label
220                              ReturnValue 33
221                              FunctionEnd
222   28(Func(I21;):   13(fvec4) Function None 26
223    27(DummyTex):     25(ptr) FunctionParameter
224              29:             Label
225                              ReturnValue 37
226                              FunctionEnd
227      31(@main():   13(fvec4) Function None 30
228              32:             Label
229       46(param):      8(ptr) Variable Function
230       50(param):      8(ptr) Variable Function
231       57(param):     19(ptr) Variable Function
232       64(param):     25(ptr) Variable Function
233              47:           7 Load 45(tf1)
234                              Store 46(param) 47
235              48:    6(float) FunctionCall 11(Func(t211;) 46(param)
236              51:           7 Load 49(tf4)
237                              Store 50(param) 51
238              52:   13(fvec4) FunctionCall 16(Func(t21;) 50(param)
239              53:   13(fvec4) CompositeConstruct 48 48 48 48
240              54:   13(fvec4) FAdd 53 52
241              58:          18 Load 56(twf1)
242                              Store 57(param) 58
243              59:    6(float) FunctionCall 22(Func(I211;) 57(param)
244              60:   13(fvec4) CompositeConstruct 59 59 59 59
245              61:   13(fvec4) FAdd 54 60
246              65:          24 Load 63(twf4)
247                              Store 64(param) 65
248              66:   13(fvec4) FunctionCall 28(Func(I21;) 64(param)
249              67:   13(fvec4) FAdd 61 66
250                              ReturnValue 67
251                              FunctionEnd
252