1hlsl.synthesizeInput.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:7  Function Definition: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
60:7    Function Parameters:
70:7      'input' ( in structure{ temp float interp,  temp uint no_interp})
80:?     Sequence
90:8      Branch: Return with expression
100:?         Construct vec4 ( temp 4-component vector of float)
110:8          Convert uint to float ( temp float)
120:8            no_interp: direct index for structure ( temp uint)
130:8              'input' ( in structure{ temp float interp,  temp uint no_interp})
140:8              Constant:
150:8                1 (const int)
160:8          interp: direct index for structure ( temp float)
170:8            'input' ( in structure{ temp float interp,  temp uint no_interp})
180:8            Constant:
190:8              0 (const int)
200:8          Constant:
210:8            0.000000
220:8          Constant:
230:8            1.000000
240:7  Function Definition: main( ( temp void)
250:7    Function Parameters:
260:?     Sequence
270:7      Sequence
280:7        move second child to first child ( temp float)
290:7          interp: direct index for structure ( temp float)
300:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
310:7            Constant:
320:7              0 (const int)
330:?           'input.interp' (layout( location=0) in float)
340:7        move second child to first child ( temp uint)
350:7          no_interp: direct index for structure ( temp uint)
360:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
370:7            Constant:
380:7              1 (const int)
390:?           'input.no_interp' (layout( location=1) flat in uint)
400:7      move second child to first child ( temp 4-component vector of float)
410:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
420:7        Function Call: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
430:?           'input' ( temp structure{ temp float interp,  temp uint no_interp})
440:?   Linker Objects
450:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
460:?     'input.interp' (layout( location=0) in float)
470:?     'input.no_interp' (layout( location=1) flat in uint)
48
49
50Linked fragment stage:
51
52
53Shader version: 500
54gl_FragCoord origin is upper left
550:? Sequence
560:7  Function Definition: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
570:7    Function Parameters:
580:7      'input' ( in structure{ temp float interp,  temp uint no_interp})
590:?     Sequence
600:8      Branch: Return with expression
610:?         Construct vec4 ( temp 4-component vector of float)
620:8          Convert uint to float ( temp float)
630:8            no_interp: direct index for structure ( temp uint)
640:8              'input' ( in structure{ temp float interp,  temp uint no_interp})
650:8              Constant:
660:8                1 (const int)
670:8          interp: direct index for structure ( temp float)
680:8            'input' ( in structure{ temp float interp,  temp uint no_interp})
690:8            Constant:
700:8              0 (const int)
710:8          Constant:
720:8            0.000000
730:8          Constant:
740:8            1.000000
750:7  Function Definition: main( ( temp void)
760:7    Function Parameters:
770:?     Sequence
780:7      Sequence
790:7        move second child to first child ( temp float)
800:7          interp: direct index for structure ( temp float)
810:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
820:7            Constant:
830:7              0 (const int)
840:?           'input.interp' (layout( location=0) in float)
850:7        move second child to first child ( temp uint)
860:7          no_interp: direct index for structure ( temp uint)
870:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
880:7            Constant:
890:7              1 (const int)
900:?           'input.no_interp' (layout( location=1) flat in uint)
910:7      move second child to first child ( temp 4-component vector of float)
920:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
930:7        Function Call: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
940:?           'input' ( temp structure{ temp float interp,  temp uint no_interp})
950:?   Linker Objects
960:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
970:?     'input.interp' (layout( location=0) in float)
980:?     'input.no_interp' (layout( location=1) flat in uint)
99
100// Module Version 10000
101// Generated by (magic number): 80007
102// Id's are bound by 44
103
104                              Capability Shader
105               1:             ExtInstImport  "GLSL.std.450"
106                              MemoryModel Logical GLSL450
107                              EntryPoint Fragment 4  "main" 32 36 40
108                              ExecutionMode 4 OriginUpperLeft
109                              Source HLSL 500
110                              Name 4  "main"
111                              Name 8  "PSInput"
112                              MemberName 8(PSInput) 0  "interp"
113                              MemberName 8(PSInput) 1  "no_interp"
114                              Name 13  "@main(struct-PSInput-f1-u11;"
115                              Name 12  "input"
116                              Name 30  "input"
117                              Name 32  "input.interp"
118                              Name 36  "input.no_interp"
119                              Name 40  "@entryPointOutput"
120                              Name 41  "param"
121                              Decorate 32(input.interp) Location 0
122                              Decorate 36(input.no_interp) Flat
123                              Decorate 36(input.no_interp) Location 1
124                              Decorate 40(@entryPointOutput) Location 0
125               2:             TypeVoid
126               3:             TypeFunction 2
127               6:             TypeFloat 32
128               7:             TypeInt 32 0
129      8(PSInput):             TypeStruct 6(float) 7(int)
130               9:             TypePointer Function 8(PSInput)
131              10:             TypeVector 6(float) 4
132              11:             TypeFunction 10(fvec4) 9(ptr)
133              15:             TypeInt 32 1
134              16:     15(int) Constant 1
135              17:             TypePointer Function 7(int)
136              21:     15(int) Constant 0
137              22:             TypePointer Function 6(float)
138              25:    6(float) Constant 0
139              26:    6(float) Constant 1065353216
140              31:             TypePointer Input 6(float)
14132(input.interp):     31(ptr) Variable Input
142              35:             TypePointer Input 7(int)
14336(input.no_interp):     35(ptr) Variable Input
144              39:             TypePointer Output 10(fvec4)
14540(@entryPointOutput):     39(ptr) Variable Output
146         4(main):           2 Function None 3
147               5:             Label
148       30(input):      9(ptr) Variable Function
149       41(param):      9(ptr) Variable Function
150              33:    6(float) Load 32(input.interp)
151              34:     22(ptr) AccessChain 30(input) 21
152                              Store 34 33
153              37:      7(int) Load 36(input.no_interp)
154              38:     17(ptr) AccessChain 30(input) 16
155                              Store 38 37
156              42:  8(PSInput) Load 30(input)
157                              Store 41(param) 42
158              43:   10(fvec4) FunctionCall 13(@main(struct-PSInput-f1-u11;) 41(param)
159                              Store 40(@entryPointOutput) 43
160                              Return
161                              FunctionEnd
16213(@main(struct-PSInput-f1-u11;):   10(fvec4) Function None 11
163       12(input):      9(ptr) FunctionParameter
164              14:             Label
165              18:     17(ptr) AccessChain 12(input) 16
166              19:      7(int) Load 18
167              20:    6(float) ConvertUToF 19
168              23:     22(ptr) AccessChain 12(input) 21
169              24:    6(float) Load 23
170              27:   10(fvec4) CompositeConstruct 20 24 25 26
171                              ReturnValue 27
172                              FunctionEnd
173