blob: 8bfaa2ba6761b7c580d1e717c76b66afeffa3eff [file] [log] [blame]
John Kessenich89f8d1e2017-06-27 15:17:38 -06001hlsl.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
John Kessenichb6be80f2017-08-04 12:04:44 -0600280: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)
John Kesseniche516d432017-08-09 14:29:29 -0600340:? 'input.interp' (layout( location=0) in float)
John Kessenichb6be80f2017-08-04 12:04:44 -0600350: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)
John Kesseniche516d432017-08-09 14:29:29 -0600400:? 'input.no_interp' (layout( location=1) flat in uint)
John Kessenich89f8d1e2017-06-27 15:17:38 -0600410: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
John Kesseniche516d432017-08-09 14:29:29 -0600520:? 'input.interp' (layout( location=0) in float)
530:? 'input.no_interp' (layout( location=1) flat in uint)
John Kessenich89f8d1e2017-06-27 15:17:38 -0600540:? '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
John Kessenichb6be80f2017-08-04 12:04:44 -0600870: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)
John Kesseniche516d432017-08-09 14:29:29 -0600930:? 'input.interp' (layout( location=0) in float)
John Kessenichb6be80f2017-08-04 12:04:44 -0600940: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)
John Kesseniche516d432017-08-09 14:29:29 -0600990:? 'input.no_interp' (layout( location=1) flat in uint)
John Kessenich89f8d1e2017-06-27 15:17:38 -06001000: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
John Kesseniche516d432017-08-09 14:29:29 -06001110:? 'input.interp' (layout( location=0) in float)
1120:? 'input.no_interp' (layout( location=1) flat in uint)
John Kessenich89f8d1e2017-06-27 15:17:38 -06001130:? 'out1' (layout( location=1) out 4-component vector of float)
1140:? 'out2' (layout( location=3) out 4-component vector of float)
115
John Kessenich2b5ea9f2018-01-31 18:35:56 -0700116// Module Version 10000
Graeme Leese182ab462020-06-22 11:49:38 +0100117// Generated by (magic number): 8000a
John Kessenich89f8d1e2017-06-27 15:17:38 -0600118// Id's are bound by 50
119
120 Capability Shader
121 1: ExtInstImport "GLSL.std.450"
122 MemoryModel Logical GLSL450
John Kessenichb6be80f2017-08-04 12:04:44 -0600123 EntryPoint Fragment 4 "main" 26 32 46 48
John Kessenich89f8d1e2017-06-27 15:17:38 -0600124 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"
John Kesseniche516d432017-08-09 14:29:29 -0600135 Name 26 "input.interp"
136 Name 32 "input.no_interp"
John Kessenich89f8d1e2017-06-27 15:17:38 -0600137 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"
John Kesseniche516d432017-08-09 14:29:29 -0600144 Decorate 26(input.interp) Location 0
145 Decorate 32(input.no_interp) Flat
146 Decorate 32(input.no_interp) Location 1
John Kessenich89f8d1e2017-06-27 15:17:38 -0600147 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
John Kessenichb6be80f2017-08-04 12:04:44 -0600162 23: TypeInt 32 1
163 24: 23(int) Constant 0
164 25: TypePointer Input 6(float)
John Kesseniche516d432017-08-09 14:29:29 -060016526(input.interp): 25(ptr) Variable Input
John Kessenichb6be80f2017-08-04 12:04:44 -0600166 28: TypePointer Function 6(float)
167 30: 23(int) Constant 1
168 31: TypePointer Input 7(int)
John Kesseniche516d432017-08-09 14:29:29 -060016932(input.no_interp): 31(ptr) Variable Input
John Kessenich89f8d1e2017-06-27 15:17:38 -0600170 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
John Kesseniche516d432017-08-09 14:29:29 -0600182 27: 6(float) Load 26(input.interp)
John Kessenichb6be80f2017-08-04 12:04:44 -0600183 29: 28(ptr) AccessChain 22(input) 24
184 Store 29 27
John Kesseniche516d432017-08-09 14:29:29 -0600185 33: 7(int) Load 32(input.no_interp)
John Kessenichb6be80f2017-08-04 12:04:44 -0600186 35: 34(ptr) AccessChain 22(input) 30
187 Store 35 33
John Kessenich89f8d1e2017-06-27 15:17:38 -0600188 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