blob: b563380e176a9f8544297847f099edeff77f69b1 [file] [log] [blame]
John Kessenich077e0522016-06-09 02:02:17 -06001hlsl.scope.frag
John Kessenich6fa17642017-04-07 15:33:08 -06002Shader version: 500
John Kessenich077e0522016-06-09 02:02:17 -06003gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:2 Function Definition: @PixelShaderFunction(vf4; ( temp void)
John Kessenich077e0522016-06-09 02:02:17 -060060:2 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -060070:2 'input' ( in 4-component vector of float)
John Kessenich077e0522016-06-09 02:02:17 -060080:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060090:4 'x' ( temp int)
John Kessenich077e0522016-06-09 02:02:17 -0600100:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600110:7 'x' ( temp float)
John Kessenich077e0522016-06-09 02:02:17 -0600120:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600130:10 'x' ( temp bool)
John Kessenich077e0522016-06-09 02:02:17 -0600140:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600150:13 'x' ( temp 3-component vector of float)
160:15 'x' ( temp bool)
170:17 'x' ( temp float)
180:19 'x' ( temp int)
190:21 Test condition and select ( temp void)
John Kessenich077e0522016-06-09 02:02:17 -0600200:21 Condition
John Kessenich71c100d2017-03-14 19:43:13 -0600210:21 Compare Greater Than ( temp bool)
220:21 'x' ( temp int)
John Kessenich077e0522016-06-09 02:02:17 -0600230:21 Constant:
240:21 0 (const int)
250:21 true case is null
260:24 Loop with condition tested first
270:24 Loop Condition
John Kessenich71c100d2017-03-14 19:43:13 -0600280:24 Compare Greater Than ( temp bool)
290:24 'x' ( temp int)
John Kessenich077e0522016-06-09 02:02:17 -0600300:24 Constant:
310:24 0 (const int)
320:24 No loop body
330:27 Loop with condition not tested first
340:27 Loop Condition
John Kessenich71c100d2017-03-14 19:43:13 -0600350:29 Compare Greater Than ( temp bool)
360:29 'x' ( temp int)
John Kessenich077e0522016-06-09 02:02:17 -0600370:29 Constant:
380:29 0 (const int)
390:27 No loop body
John Kessenich71c100d2017-03-14 19:43:13 -0600400:2 Function Definition: PixelShaderFunction( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700410:2 Function Parameters:
420:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600430:2 move second child to first child ( temp 4-component vector of float)
440:? 'input' ( temp 4-component vector of float)
450:? 'input' (layout( location=0) in 4-component vector of float)
460:2 Function Call: @PixelShaderFunction(vf4; ( temp void)
470:? 'input' ( temp 4-component vector of float)
John Kessenich077e0522016-06-09 02:02:17 -0600480:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600490:? 'input' (layout( location=0) in 4-component vector of float)
John Kessenich077e0522016-06-09 02:02:17 -060050
51
52Linked fragment stage:
53
54
John Kessenich6fa17642017-04-07 15:33:08 -060055Shader version: 500
John Kessenich077e0522016-06-09 02:02:17 -060056gl_FragCoord origin is upper left
570:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600580:2 Function Definition: @PixelShaderFunction(vf4; ( temp void)
John Kessenich077e0522016-06-09 02:02:17 -0600590:2 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600600:2 'input' ( in 4-component vector of float)
John Kessenich077e0522016-06-09 02:02:17 -0600610:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600620:4 'x' ( temp int)
John Kessenich077e0522016-06-09 02:02:17 -0600630:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600640:7 'x' ( temp float)
John Kessenich077e0522016-06-09 02:02:17 -0600650:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600660:10 'x' ( temp bool)
John Kessenich077e0522016-06-09 02:02:17 -0600670:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600680:13 'x' ( temp 3-component vector of float)
690:15 'x' ( temp bool)
700:17 'x' ( temp float)
710:19 'x' ( temp int)
720:21 Test condition and select ( temp void)
John Kessenich077e0522016-06-09 02:02:17 -0600730:21 Condition
John Kessenich71c100d2017-03-14 19:43:13 -0600740:21 Compare Greater Than ( temp bool)
750:21 'x' ( temp int)
John Kessenich077e0522016-06-09 02:02:17 -0600760:21 Constant:
770:21 0 (const int)
780:21 true case is null
790:24 Loop with condition tested first
800:24 Loop Condition
John Kessenich71c100d2017-03-14 19:43:13 -0600810:24 Compare Greater Than ( temp bool)
820:24 'x' ( temp int)
John Kessenich077e0522016-06-09 02:02:17 -0600830:24 Constant:
840:24 0 (const int)
850:24 No loop body
860:27 Loop with condition not tested first
870:27 Loop Condition
John Kessenich71c100d2017-03-14 19:43:13 -0600880:29 Compare Greater Than ( temp bool)
890:29 'x' ( temp int)
John Kessenich077e0522016-06-09 02:02:17 -0600900:29 Constant:
910:29 0 (const int)
920:27 No loop body
John Kessenich71c100d2017-03-14 19:43:13 -0600930:2 Function Definition: PixelShaderFunction( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700940:2 Function Parameters:
950:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600960:2 move second child to first child ( temp 4-component vector of float)
970:? 'input' ( temp 4-component vector of float)
980:? 'input' (layout( location=0) in 4-component vector of float)
990:2 Function Call: @PixelShaderFunction(vf4; ( temp void)
1000:? 'input' ( temp 4-component vector of float)
John Kessenich077e0522016-06-09 02:02:17 -06001010:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -06001020:? 'input' (layout( location=0) in 4-component vector of float)
John Kessenich077e0522016-06-09 02:02:17 -0600103
John Kessenich2b5ea9f2018-01-31 18:35:56 -0700104// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -0600105// Generated by (magic number): 80007
John Kessenich02467d82017-01-19 15:41:47 -0700106// Id's are bound by 49
John Kessenich077e0522016-06-09 02:02:17 -0600107
108 Capability Shader
109 1: ExtInstImport "GLSL.std.450"
110 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -0700111 EntryPoint Fragment 4 "PixelShaderFunction" 44
John Kessenich077e0522016-06-09 02:02:17 -0600112 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -0600113 Source HLSL 500
John Kessenich077e0522016-06-09 02:02:17 -0600114 Name 4 "PixelShaderFunction"
John Kessenich02467d82017-01-19 15:41:47 -0700115 Name 11 "@PixelShaderFunction(vf4;"
116 Name 10 "input"
117 Name 15 "x"
John Kessenich077e0522016-06-09 02:02:17 -0600118 Name 17 "x"
John Kessenich02467d82017-01-19 15:41:47 -0700119 Name 20 "x"
120 Name 23 "x"
121 Name 42 "input"
122 Name 44 "input"
123 Name 46 "param"
124 Decorate 44(input) Location 0
John Kessenich077e0522016-06-09 02:02:17 -0600125 2: TypeVoid
126 3: TypeFunction 2
John Kessenich02467d82017-01-19 15:41:47 -0700127 6: TypeFloat 32
128 7: TypeVector 6(float) 4
129 8: TypePointer Function 7(fvec4)
130 9: TypeFunction 2 8(ptr)
131 13: TypeInt 32 1
132 14: TypePointer Function 13(int)
133 16: TypePointer Function 6(float)
134 18: TypeBool
135 19: TypePointer Function 18(bool)
136 21: TypeVector 6(float) 3
137 22: TypePointer Function 21(fvec3)
138 25: 13(int) Constant 0
139 43: TypePointer Input 7(fvec4)
140 44(input): 43(ptr) Variable Input
John Kessenich077e0522016-06-09 02:02:17 -06001414(PixelShaderFunction): 2 Function None 3
142 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700143 42(input): 8(ptr) Variable Function
144 46(param): 8(ptr) Variable Function
145 45: 7(fvec4) Load 44(input)
146 Store 42(input) 45
147 47: 7(fvec4) Load 42(input)
148 Store 46(param) 47
149 48: 2 FunctionCall 11(@PixelShaderFunction(vf4;) 46(param)
150 Return
151 FunctionEnd
15211(@PixelShaderFunction(vf4;): 2 Function None 9
153 10(input): 8(ptr) FunctionParameter
154 12: Label
155 15(x): 14(ptr) Variable Function
John Kessenich077e0522016-06-09 02:02:17 -0600156 17(x): 16(ptr) Variable Function
John Kessenich02467d82017-01-19 15:41:47 -0700157 20(x): 19(ptr) Variable Function
158 23(x): 22(ptr) Variable Function
159 24: 13(int) Load 15(x)
160 26: 18(bool) SGreaterThan 24 25
161 SelectionMerge 28 None
162 BranchConditional 26 27 28
163 27: Label
164 Branch 28
165 28: Label
166 Branch 29
167 29: Label
168 LoopMerge 31 32 None
John Kessenich077e0522016-06-09 02:02:17 -0600169 Branch 33
170 33: Label
John Kessenich02467d82017-01-19 15:41:47 -0700171 34: 13(int) Load 15(x)
172 35: 18(bool) SGreaterThan 34 25
173 BranchConditional 35 30 31
174 30: Label
175 Branch 32
176 32: Label
177 Branch 29
178 31: Label
179 Branch 36
180 36: Label
181 LoopMerge 38 39 None
182 Branch 37
183 37: Label
184 Branch 39
185 39: Label
186 40: 13(int) Load 15(x)
187 41: 18(bool) SGreaterThan 40 25
188 BranchConditional 41 36 38
189 38: Label
John Kessenich077e0522016-06-09 02:02:17 -0600190 Return
191 FunctionEnd