blob: 638e7b06424559029455be800093bb1c815418dd [file] [log] [blame]
LoopDawg62561462016-07-22 20:46:03 -06001hlsl.pp.line.frag
John Kessenich6fa17642017-04-07 15:33:08 -06002Shader version: 500
LoopDawg62561462016-07-22 20:46:03 -06003gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
LoopDawg62561462016-07-22 20:46:03 -060060:4 Function Parameters:
70:? Sequence
80:124 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060090:124 move second child to first child ( temp int)
100:124 'thisLineIs' ( temp int)
LoopDawg62561462016-07-22 20:46:03 -0600110:124 Constant:
120:124 124 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600130:126 move second child to first child ( temp 4-component vector of float)
140:126 Color: direct index for structure ( temp 4-component vector of float)
150:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
LoopDawg62561462016-07-22 20:46:03 -0600160:126 Constant:
170:126 0 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600180:? Construct vec4 ( temp 4-component vector of float)
190:126 Convert int to float ( temp float)
200:126 'thisLineIs' ( temp int)
LoopDawg62561462016-07-22 20:46:03 -0600210:126 Constant:
220:126 0.000000
230:126 Constant:
240:126 0.000000
250:126 Constant:
260:126 1.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600270:127 move second child to first child ( temp float)
280:127 Depth: direct index for structure ( temp float)
290:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
LoopDawg62561462016-07-22 20:46:03 -0600300:127 Constant:
310:127 1 (const int)
320:127 Constant:
330:127 1.000000
John Kessenich02467d82017-01-19 15:41:47 -0700340:129 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600350:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
360:4 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700370:4 Function Parameters:
380:? Sequence
390:4 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600400:4 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
410:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
420:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
430:4 move second child to first child ( temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -0600440:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
John Kessenich71c100d2017-03-14 19:43:13 -0600450:4 Color: direct index for structure ( temp 4-component vector of float)
460:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
John Kessenich02467d82017-01-19 15:41:47 -0700470:4 Constant:
480:4 0 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600490:4 move second child to first child ( temp float)
John Kesseniche516d432017-08-09 14:29:29 -0600500:? '@entryPointOutput.Depth' ( out float FragDepth)
John Kessenich71c100d2017-03-14 19:43:13 -0600510:4 Depth: direct index for structure ( temp float)
520:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
John Kessenich02467d82017-01-19 15:41:47 -0700530:4 Constant:
540:4 1 (const int)
LoopDawg62561462016-07-22 20:46:03 -0600550:? Linker Objects
John Kesseniche516d432017-08-09 14:29:29 -0600560:? '@entryPointOutput.Depth' ( out float FragDepth)
570:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
LoopDawg62561462016-07-22 20:46:03 -060058
59
60Linked fragment stage:
61
62
John Kessenich6fa17642017-04-07 15:33:08 -060063Shader version: 500
LoopDawg62561462016-07-22 20:46:03 -060064gl_FragCoord origin is upper left
650:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600660:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
LoopDawg62561462016-07-22 20:46:03 -0600670:4 Function Parameters:
680:? Sequence
690:124 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600700:124 move second child to first child ( temp int)
710:124 'thisLineIs' ( temp int)
LoopDawg62561462016-07-22 20:46:03 -0600720:124 Constant:
730:124 124 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600740:126 move second child to first child ( temp 4-component vector of float)
750:126 Color: direct index for structure ( temp 4-component vector of float)
760:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
LoopDawg62561462016-07-22 20:46:03 -0600770:126 Constant:
780:126 0 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600790:? Construct vec4 ( temp 4-component vector of float)
800:126 Convert int to float ( temp float)
810:126 'thisLineIs' ( temp int)
LoopDawg62561462016-07-22 20:46:03 -0600820:126 Constant:
830:126 0.000000
840:126 Constant:
850:126 0.000000
860:126 Constant:
870:126 1.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600880:127 move second child to first child ( temp float)
890:127 Depth: direct index for structure ( temp float)
900:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
LoopDawg62561462016-07-22 20:46:03 -0600910:127 Constant:
920:127 1 (const int)
930:127 Constant:
940:127 1.000000
John Kessenich02467d82017-01-19 15:41:47 -0700950:129 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600960:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
970:4 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700980:4 Function Parameters:
990:? Sequence
1000:4 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -06001010:4 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
1020:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
1030:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
1040:4 move second child to first child ( temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -06001050:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
John Kessenich71c100d2017-03-14 19:43:13 -06001060:4 Color: direct index for structure ( temp 4-component vector of float)
1070:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
John Kessenich02467d82017-01-19 15:41:47 -07001080:4 Constant:
1090:4 0 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -06001100:4 move second child to first child ( temp float)
John Kesseniche516d432017-08-09 14:29:29 -06001110:? '@entryPointOutput.Depth' ( out float FragDepth)
John Kessenich71c100d2017-03-14 19:43:13 -06001120:4 Depth: direct index for structure ( temp float)
1130:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
John Kessenich02467d82017-01-19 15:41:47 -07001140:4 Constant:
1150:4 1 (const int)
LoopDawg62561462016-07-22 20:46:03 -06001160:? Linker Objects
John Kesseniche516d432017-08-09 14:29:29 -06001170:? '@entryPointOutput.Depth' ( out float FragDepth)
1180:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
LoopDawg62561462016-07-22 20:46:03 -0600119
120// Module Version 10000
121// Generated by (magic number): 80001
John Kessenich02467d82017-01-19 15:41:47 -0700122// Id's are bound by 42
LoopDawg62561462016-07-22 20:46:03 -0600123
124 Capability Shader
125 1: ExtInstImport "GLSL.std.450"
126 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -0700127 EntryPoint Fragment 4 "main" 35 39
LoopDawg62561462016-07-22 20:46:03 -0600128 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -0600129 Source HLSL 500
LoopDawg62561462016-07-22 20:46:03 -0600130 Name 4 "main"
John Kessenich02467d82017-01-19 15:41:47 -0700131 Name 8 "PS_OUTPUT"
132 MemberName 8(PS_OUTPUT) 0 "Color"
133 MemberName 8(PS_OUTPUT) 1 "Depth"
134 Name 10 "@main("
135 Name 14 "thisLineIs"
136 Name 17 "psout"
137 Name 32 "flattenTemp"
John Kesseniche516d432017-08-09 14:29:29 -0600138 Name 35 "@entryPointOutput.Color"
139 Name 39 "@entryPointOutput.Depth"
140 Decorate 35(@entryPointOutput.Color) Location 0
141 Decorate 39(@entryPointOutput.Depth) BuiltIn FragDepth
LoopDawg62561462016-07-22 20:46:03 -0600142 2: TypeVoid
143 3: TypeFunction 2
John Kessenich02467d82017-01-19 15:41:47 -0700144 6: TypeFloat 32
145 7: TypeVector 6(float) 4
146 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
147 9: TypeFunction 8(PS_OUTPUT)
148 12: TypeInt 32 1
149 13: TypePointer Function 12(int)
150 15: 12(int) Constant 124
151 16: TypePointer Function 8(PS_OUTPUT)
152 18: 12(int) Constant 0
153 21: 6(float) Constant 0
154 22: 6(float) Constant 1065353216
155 24: TypePointer Function 7(fvec4)
156 26: 12(int) Constant 1
157 27: TypePointer Function 6(float)
158 34: TypePointer Output 7(fvec4)
John Kesseniche516d432017-08-09 14:29:29 -060015935(@entryPointOutput.Color): 34(ptr) Variable Output
John Kessenich02467d82017-01-19 15:41:47 -0700160 38: TypePointer Output 6(float)
John Kesseniche516d432017-08-09 14:29:29 -060016139(@entryPointOutput.Depth): 38(ptr) Variable Output
LoopDawg62561462016-07-22 20:46:03 -0600162 4(main): 2 Function None 3
163 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700164 32(flattenTemp): 16(ptr) Variable Function
165 33:8(PS_OUTPUT) FunctionCall 10(@main()
166 Store 32(flattenTemp) 33
167 36: 24(ptr) AccessChain 32(flattenTemp) 18
168 37: 7(fvec4) Load 36
John Kesseniche516d432017-08-09 14:29:29 -0600169 Store 35(@entryPointOutput.Color) 37
John Kessenich02467d82017-01-19 15:41:47 -0700170 40: 27(ptr) AccessChain 32(flattenTemp) 26
171 41: 6(float) Load 40
John Kesseniche516d432017-08-09 14:29:29 -0600172 Store 39(@entryPointOutput.Depth) 41
John Kessenich6a70eb72016-08-28 15:00:23 -0600173 Return
LoopDawg62561462016-07-22 20:46:03 -0600174 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -0700175 10(@main():8(PS_OUTPUT) Function None 9
176 11: Label
177 14(thisLineIs): 13(ptr) Variable Function
178 17(psout): 16(ptr) Variable Function
179 Store 14(thisLineIs) 15
180 19: 12(int) Load 14(thisLineIs)
181 20: 6(float) ConvertSToF 19
182 23: 7(fvec4) CompositeConstruct 20 21 21 22
183 25: 24(ptr) AccessChain 17(psout) 18
184 Store 25 23
185 28: 27(ptr) AccessChain 17(psout) 26
186 Store 28 22
187 29:8(PS_OUTPUT) Load 17(psout)
188 ReturnValue 29
189 FunctionEnd