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