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): 80007
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 49(tf4) DescriptorSet 0
167                              Decorate 56(twf1) DescriptorSet 0
168                              Decorate 63(twf4) DescriptorSet 0
169                              Decorate 71(@entryPointOutput) Location 0
170               2:             TypeVoid
171               3:             TypeFunction 2
172               6:             TypeFloat 32
173               7:             TypeImage 6(float) 2D sampled format:Unknown
174               8:             TypePointer Function 7
175               9:             TypeFunction 6(float) 8(ptr)
176              13:             TypeVector 6(float) 4
177              14:             TypeFunction 13(fvec4) 8(ptr)
178              18:             TypeImage 6(float) 2D nonsampled format:R32f
179              19:             TypePointer Function 18
180              20:             TypeFunction 6(float) 19(ptr)
181              24:             TypeImage 6(float) 2D nonsampled format:Rgba32f
182              25:             TypePointer Function 24
183              26:             TypeFunction 13(fvec4) 25(ptr)
184              30:             TypeFunction 13(fvec4)
185              33:    6(float) Constant 1065353216
186              36:    6(float) Constant 0
187              37:   13(fvec4) ConstantComposite 36 36 36 36
188              44:             TypePointer UniformConstant 7
189         45(tf1):     44(ptr) Variable UniformConstant
190         49(tf4):     44(ptr) Variable UniformConstant
191              55:             TypePointer UniformConstant 18
192        56(twf1):     55(ptr) Variable UniformConstant
193              62:             TypePointer UniformConstant 24
194        63(twf4):     62(ptr) Variable UniformConstant
195              70:             TypePointer Output 13(fvec4)
19671(@entryPointOutput):     70(ptr) Variable Output
197         4(main):           2 Function None 3
198               5:             Label
199              72:   13(fvec4) FunctionCall 31(@main()
200                              Store 71(@entryPointOutput) 72
201                              Return
202                              FunctionEnd
203  11(Func(t211;):    6(float) Function None 9
204    10(DummyTex):      8(ptr) FunctionParameter
205              12:             Label
206                              ReturnValue 33
207                              FunctionEnd
208   16(Func(t21;):   13(fvec4) Function None 14
209    15(DummyTex):      8(ptr) FunctionParameter
210              17:             Label
211                              ReturnValue 37
212                              FunctionEnd
213  22(Func(I211;):    6(float) Function None 20
214    21(DummyTex):     19(ptr) FunctionParameter
215              23:             Label
216                              ReturnValue 33
217                              FunctionEnd
218   28(Func(I21;):   13(fvec4) Function None 26
219    27(DummyTex):     25(ptr) FunctionParameter
220              29:             Label
221                              ReturnValue 37
222                              FunctionEnd
223      31(@main():   13(fvec4) Function None 30
224              32:             Label
225       46(param):      8(ptr) Variable Function
226       50(param):      8(ptr) Variable Function
227       57(param):     19(ptr) Variable Function
228       64(param):     25(ptr) Variable Function
229              47:           7 Load 45(tf1)
230                              Store 46(param) 47
231              48:    6(float) FunctionCall 11(Func(t211;) 46(param)
232              51:           7 Load 49(tf4)
233                              Store 50(param) 51
234              52:   13(fvec4) FunctionCall 16(Func(t21;) 50(param)
235              53:   13(fvec4) CompositeConstruct 48 48 48 48
236              54:   13(fvec4) FAdd 53 52
237              58:          18 Load 56(twf1)
238                              Store 57(param) 58
239              59:    6(float) FunctionCall 22(Func(I211;) 57(param)
240              60:   13(fvec4) CompositeConstruct 59 59 59 59
241              61:   13(fvec4) FAdd 54 60
242              65:          24 Load 63(twf4)
243                              Store 64(param) 65
244              66:   13(fvec4) FunctionCall 28(Func(I21;) 64(param)
245              67:   13(fvec4) FAdd 61 66
246                              ReturnValue 67
247                              FunctionEnd
248