blob: bbe97434eee187d1559c69ab568387cf89289542 [file] [log] [blame]
John Kessenich4329d552017-06-21 01:35:57 -06001hlsl.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
John Kessenichb6be80f2017-08-04 12:04:44 -0600270: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)
John Kesseniche516d432017-08-09 14:29:29 -0600330:? 'input.interp' (layout( location=0) in float)
John Kessenichb6be80f2017-08-04 12:04:44 -0600340: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)
John Kesseniche516d432017-08-09 14:29:29 -0600390:? 'input.no_interp' (layout( location=1) flat in uint)
John Kessenich4329d552017-06-21 01:35:57 -0600400: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)
John Kesseniche516d432017-08-09 14:29:29 -0600460:? 'input.interp' (layout( location=0) in float)
470:? 'input.no_interp' (layout( location=1) flat in uint)
John Kessenich4329d552017-06-21 01:35:57 -060048
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
John Kessenichb6be80f2017-08-04 12:04:44 -0600780: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)
John Kesseniche516d432017-08-09 14:29:29 -0600840:? 'input.interp' (layout( location=0) in float)
John Kessenichb6be80f2017-08-04 12:04:44 -0600850: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)
John Kesseniche516d432017-08-09 14:29:29 -0600900:? 'input.no_interp' (layout( location=1) flat in uint)
John Kessenich4329d552017-06-21 01:35:57 -0600910: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)
John Kesseniche516d432017-08-09 14:29:29 -0600970:? 'input.interp' (layout( location=0) in float)
980:? 'input.no_interp' (layout( location=1) flat in uint)
John Kessenich4329d552017-06-21 01:35:57 -060099
John Kessenich2b5ea9f2018-01-31 18:35:56 -0700100// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -0600101// Generated by (magic number): 80007
John Kessenich4329d552017-06-21 01:35:57 -0600102// Id's are bound by 44
103
104 Capability Shader
105 1: ExtInstImport "GLSL.std.450"
106 MemoryModel Logical GLSL450
John Kessenichb6be80f2017-08-04 12:04:44 -0600107 EntryPoint Fragment 4 "main" 32 36 40
John Kessenich4329d552017-06-21 01:35:57 -0600108 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"
John Kesseniche516d432017-08-09 14:29:29 -0600117 Name 32 "input.interp"
118 Name 36 "input.no_interp"
John Kessenich4329d552017-06-21 01:35:57 -0600119 Name 40 "@entryPointOutput"
120 Name 41 "param"
John Kesseniche516d432017-08-09 14:29:29 -0600121 Decorate 32(input.interp) Location 0
122 Decorate 36(input.no_interp) Flat
123 Decorate 36(input.no_interp) Location 1
John Kessenich4329d552017-06-21 01:35:57 -0600124 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
John Kessenichb6be80f2017-08-04 12:04:44 -0600140 31: TypePointer Input 6(float)
John Kesseniche516d432017-08-09 14:29:29 -060014132(input.interp): 31(ptr) Variable Input
John Kessenichb6be80f2017-08-04 12:04:44 -0600142 35: TypePointer Input 7(int)
John Kesseniche516d432017-08-09 14:29:29 -060014336(input.no_interp): 35(ptr) Variable Input
John Kessenich4329d552017-06-21 01:35:57 -0600144 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
John Kesseniche516d432017-08-09 14:29:29 -0600150 33: 6(float) Load 32(input.interp)
John Kessenichb6be80f2017-08-04 12:04:44 -0600151 34: 22(ptr) AccessChain 30(input) 21
152 Store 34 33
John Kesseniche516d432017-08-09 14:29:29 -0600153 37: 7(int) Load 36(input.no_interp)
John Kessenich4329d552017-06-21 01:35:57 -0600154 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