• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.target.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:7  Function Definition: @main(struct-PSInput-f1-u11;vf4;vf4; ( temp void)
60:7    Function Parameters:
70:7      'input' ( in structure{ temp float interp,  temp uint no_interp})
80:7      'out1' ( out 4-component vector of float)
90:7      'out2' ( out 4-component vector of float)
100:?     Sequence
110:8      move second child to first child ( temp 4-component vector of float)
120:8        'out1' ( out 4-component vector of float)
130:8        Constant:
140:8          1.000000
150:8          1.000000
160:8          1.000000
170:8          1.000000
180:9      move second child to first child ( temp 4-component vector of float)
190:9        'out2' ( out 4-component vector of float)
200:9        Constant:
210:9          0.000000
220:9          0.000000
230:9          0.000000
240:9          0.000000
250:7  Function Definition: main( ( temp void)
260:7    Function Parameters:
270:?     Sequence
280:7      Sequence
290:7        move second child to first child ( temp float)
300:7          interp: direct index for structure ( temp float)
310:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
320:7            Constant:
330:7              0 (const int)
340:?           'input.interp' (layout( location=0) in float)
350:7        move second child to first child ( temp uint)
360:7          no_interp: direct index for structure ( temp uint)
370:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
380:7            Constant:
390:7              1 (const int)
400:?           'input.no_interp' (layout( location=1) flat in uint)
410:7      Function Call: @main(struct-PSInput-f1-u11;vf4;vf4; ( temp void)
420:?         'input' ( temp structure{ temp float interp,  temp uint no_interp})
430:?         'out1' ( temp 4-component vector of float)
440:?         'out2' ( temp 4-component vector of float)
450:7      move second child to first child ( temp 4-component vector of float)
460:?         'out1' (layout( location=1) out 4-component vector of float)
470:?         'out1' ( temp 4-component vector of float)
480:7      move second child to first child ( temp 4-component vector of float)
490:?         'out2' (layout( location=3) out 4-component vector of float)
500:?         'out2' ( temp 4-component vector of float)
510:?   Linker Objects
520:?     'input.interp' (layout( location=0) in float)
530:?     'input.no_interp' (layout( location=1) flat in uint)
540:?     'out1' (layout( location=1) out 4-component vector of float)
550:?     'out2' (layout( location=3) out 4-component vector of float)
56
57
58Linked fragment stage:
59
60
61Shader version: 500
62gl_FragCoord origin is upper left
630:? Sequence
640:7  Function Definition: @main(struct-PSInput-f1-u11;vf4;vf4; ( temp void)
650:7    Function Parameters:
660:7      'input' ( in structure{ temp float interp,  temp uint no_interp})
670:7      'out1' ( out 4-component vector of float)
680:7      'out2' ( out 4-component vector of float)
690:?     Sequence
700:8      move second child to first child ( temp 4-component vector of float)
710:8        'out1' ( out 4-component vector of float)
720:8        Constant:
730:8          1.000000
740:8          1.000000
750:8          1.000000
760:8          1.000000
770:9      move second child to first child ( temp 4-component vector of float)
780:9        'out2' ( out 4-component vector of float)
790:9        Constant:
800:9          0.000000
810:9          0.000000
820:9          0.000000
830:9          0.000000
840:7  Function Definition: main( ( temp void)
850:7    Function Parameters:
860:?     Sequence
870:7      Sequence
880:7        move second child to first child ( temp float)
890:7          interp: direct index for structure ( temp float)
900:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
910:7            Constant:
920:7              0 (const int)
930:?           'input.interp' (layout( location=0) in float)
940:7        move second child to first child ( temp uint)
950:7          no_interp: direct index for structure ( temp uint)
960:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
970:7            Constant:
980:7              1 (const int)
990:?           'input.no_interp' (layout( location=1) flat in uint)
1000:7      Function Call: @main(struct-PSInput-f1-u11;vf4;vf4; ( temp void)
1010:?         'input' ( temp structure{ temp float interp,  temp uint no_interp})
1020:?         'out1' ( temp 4-component vector of float)
1030:?         'out2' ( temp 4-component vector of float)
1040:7      move second child to first child ( temp 4-component vector of float)
1050:?         'out1' (layout( location=1) out 4-component vector of float)
1060:?         'out1' ( temp 4-component vector of float)
1070:7      move second child to first child ( temp 4-component vector of float)
1080:?         'out2' (layout( location=3) out 4-component vector of float)
1090:?         'out2' ( temp 4-component vector of float)
1100:?   Linker Objects
1110:?     'input.interp' (layout( location=0) in float)
1120:?     'input.no_interp' (layout( location=1) flat in uint)
1130:?     'out1' (layout( location=1) out 4-component vector of float)
1140:?     'out2' (layout( location=3) out 4-component vector of float)
115
116// Module Version 10000
117// Generated by (magic number): 80007
118// Id's are bound by 50
119
120                              Capability Shader
121               1:             ExtInstImport  "GLSL.std.450"
122                              MemoryModel Logical GLSL450
123                              EntryPoint Fragment 4  "main" 26 32 46 48
124                              ExecutionMode 4 OriginUpperLeft
125                              Source HLSL 500
126                              Name 4  "main"
127                              Name 8  "PSInput"
128                              MemberName 8(PSInput) 0  "interp"
129                              MemberName 8(PSInput) 1  "no_interp"
130                              Name 16  "@main(struct-PSInput-f1-u11;vf4;vf4;"
131                              Name 13  "input"
132                              Name 14  "out1"
133                              Name 15  "out2"
134                              Name 22  "input"
135                              Name 26  "input.interp"
136                              Name 32  "input.no_interp"
137                              Name 36  "out1"
138                              Name 37  "out2"
139                              Name 38  "param"
140                              Name 40  "param"
141                              Name 41  "param"
142                              Name 46  "out1"
143                              Name 48  "out2"
144                              Decorate 26(input.interp) Location 0
145                              Decorate 32(input.no_interp) Flat
146                              Decorate 32(input.no_interp) Location 1
147                              Decorate 46(out1) Location 1
148                              Decorate 48(out2) Location 3
149               2:             TypeVoid
150               3:             TypeFunction 2
151               6:             TypeFloat 32
152               7:             TypeInt 32 0
153      8(PSInput):             TypeStruct 6(float) 7(int)
154               9:             TypePointer Function 8(PSInput)
155              10:             TypeVector 6(float) 4
156              11:             TypePointer Function 10(fvec4)
157              12:             TypeFunction 2 9(ptr) 11(ptr) 11(ptr)
158              18:    6(float) Constant 1065353216
159              19:   10(fvec4) ConstantComposite 18 18 18 18
160              20:    6(float) Constant 0
161              21:   10(fvec4) ConstantComposite 20 20 20 20
162              23:             TypeInt 32 1
163              24:     23(int) Constant 0
164              25:             TypePointer Input 6(float)
16526(input.interp):     25(ptr) Variable Input
166              28:             TypePointer Function 6(float)
167              30:     23(int) Constant 1
168              31:             TypePointer Input 7(int)
16932(input.no_interp):     31(ptr) Variable Input
170              34:             TypePointer Function 7(int)
171              45:             TypePointer Output 10(fvec4)
172        46(out1):     45(ptr) Variable Output
173        48(out2):     45(ptr) Variable Output
174         4(main):           2 Function None 3
175               5:             Label
176       22(input):      9(ptr) Variable Function
177        36(out1):     11(ptr) Variable Function
178        37(out2):     11(ptr) Variable Function
179       38(param):      9(ptr) Variable Function
180       40(param):     11(ptr) Variable Function
181       41(param):     11(ptr) Variable Function
182              27:    6(float) Load 26(input.interp)
183              29:     28(ptr) AccessChain 22(input) 24
184                              Store 29 27
185              33:      7(int) Load 32(input.no_interp)
186              35:     34(ptr) AccessChain 22(input) 30
187                              Store 35 33
188              39:  8(PSInput) Load 22(input)
189                              Store 38(param) 39
190              42:           2 FunctionCall 16(@main(struct-PSInput-f1-u11;vf4;vf4;) 38(param) 40(param) 41(param)
191              43:   10(fvec4) Load 40(param)
192                              Store 36(out1) 43
193              44:   10(fvec4) Load 41(param)
194                              Store 37(out2) 44
195              47:   10(fvec4) Load 36(out1)
196                              Store 46(out1) 47
197              49:   10(fvec4) Load 37(out2)
198                              Store 48(out2) 49
199                              Return
200                              FunctionEnd
20116(@main(struct-PSInput-f1-u11;vf4;vf4;):           2 Function None 12
202       13(input):      9(ptr) FunctionParameter
203        14(out1):     11(ptr) FunctionParameter
204        15(out2):     11(ptr) FunctionParameter
205              17:             Label
206                              Store 14(out1) 19
207                              Store 15(out2) 21
208                              Return
209                              FunctionEnd
210