1 hlsl.clipdistance-6.frag
3 gl_FragCoord origin is upper left
5 0:8 Function Definition: @main(struct-VS_OUTPUT-vf4-vf4-vf41; ( temp 4-component vector of float)
6 0:8 Function Parameters:
7 0:8 'v' ( in structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
9 0:9 Branch: Return with expression
10 0:9 add ( temp 4-component vector of float)
11 0:9 add ( temp 4-component vector of float)
12 0:9 Position: direct index for structure ( temp 4-component vector of float)
13 0:9 'v' ( in structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
16 0:9 clip0: direct index for structure ( temp 4-component vector of float)
17 0:9 'v' ( in structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
20 0:9 clip1: direct index for structure ( temp 4-component vector of float)
21 0:9 'v' ( in structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
24 0:8 Function Definition: main( ( temp void)
25 0:8 Function Parameters:
28 0:8 move second child to first child ( temp 4-component vector of float)
29 0:8 Position: direct index for structure ( temp 4-component vector of float)
30 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
33 0:? 'v.Position' ( in 4-component vector of float FragCoord)
35 0:8 move second child to first child ( temp float)
36 0:8 direct index ( temp float)
37 0:8 clip0: direct index for structure ( temp 4-component vector of float)
38 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
43 0:8 direct index ( in float ClipDistance)
44 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
47 0:8 move second child to first child ( temp float)
48 0:8 direct index ( temp float)
49 0:8 clip0: direct index for structure ( temp 4-component vector of float)
50 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
55 0:8 direct index ( in float ClipDistance)
56 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
59 0:8 move second child to first child ( temp float)
60 0:8 direct index ( temp float)
61 0:8 clip0: direct index for structure ( temp 4-component vector of float)
62 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
67 0:8 direct index ( in float ClipDistance)
68 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
71 0:8 move second child to first child ( temp float)
72 0:8 direct index ( temp float)
73 0:8 clip0: direct index for structure ( temp 4-component vector of float)
74 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
79 0:8 direct index ( in float ClipDistance)
80 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
84 0:8 move second child to first child ( temp float)
85 0:8 direct index ( temp float)
86 0:8 clip1: direct index for structure ( temp 4-component vector of float)
87 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
92 0:8 direct index ( in float ClipDistance)
93 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
96 0:8 move second child to first child ( temp float)
97 0:8 direct index ( temp float)
98 0:8 clip1: direct index for structure ( temp 4-component vector of float)
99 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
104 0:8 direct index ( in float ClipDistance)
105 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
108 0:8 move second child to first child ( temp float)
109 0:8 direct index ( temp float)
110 0:8 clip1: direct index for structure ( temp 4-component vector of float)
111 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
116 0:8 direct index ( in float ClipDistance)
117 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
120 0:8 move second child to first child ( temp float)
121 0:8 direct index ( temp float)
122 0:8 clip1: direct index for structure ( temp 4-component vector of float)
123 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
128 0:8 direct index ( in float ClipDistance)
129 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
132 0:8 move second child to first child ( temp 4-component vector of float)
133 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
134 0:8 Function Call: @main(struct-VS_OUTPUT-vf4-vf4-vf41; ( temp 4-component vector of float)
135 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
137 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
138 0:? 'v.Position' ( in 4-component vector of float FragCoord)
139 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
142 Linked fragment stage:
146 gl_FragCoord origin is upper left
148 0:8 Function Definition: @main(struct-VS_OUTPUT-vf4-vf4-vf41; ( temp 4-component vector of float)
149 0:8 Function Parameters:
150 0:8 'v' ( in structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
152 0:9 Branch: Return with expression
153 0:9 add ( temp 4-component vector of float)
154 0:9 add ( temp 4-component vector of float)
155 0:9 Position: direct index for structure ( temp 4-component vector of float)
156 0:9 'v' ( in structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
159 0:9 clip0: direct index for structure ( temp 4-component vector of float)
160 0:9 'v' ( in structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
163 0:9 clip1: direct index for structure ( temp 4-component vector of float)
164 0:9 'v' ( in structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
167 0:8 Function Definition: main( ( temp void)
168 0:8 Function Parameters:
171 0:8 move second child to first child ( temp 4-component vector of float)
172 0:8 Position: direct index for structure ( temp 4-component vector of float)
173 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
176 0:? 'v.Position' ( in 4-component vector of float FragCoord)
178 0:8 move second child to first child ( temp float)
179 0:8 direct index ( temp float)
180 0:8 clip0: direct index for structure ( temp 4-component vector of float)
181 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
186 0:8 direct index ( in float ClipDistance)
187 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
190 0:8 move second child to first child ( temp float)
191 0:8 direct index ( temp float)
192 0:8 clip0: direct index for structure ( temp 4-component vector of float)
193 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
198 0:8 direct index ( in float ClipDistance)
199 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
202 0:8 move second child to first child ( temp float)
203 0:8 direct index ( temp float)
204 0:8 clip0: direct index for structure ( temp 4-component vector of float)
205 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
210 0:8 direct index ( in float ClipDistance)
211 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
214 0:8 move second child to first child ( temp float)
215 0:8 direct index ( temp float)
216 0:8 clip0: direct index for structure ( temp 4-component vector of float)
217 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
222 0:8 direct index ( in float ClipDistance)
223 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
227 0:8 move second child to first child ( temp float)
228 0:8 direct index ( temp float)
229 0:8 clip1: direct index for structure ( temp 4-component vector of float)
230 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
235 0:8 direct index ( in float ClipDistance)
236 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
239 0:8 move second child to first child ( temp float)
240 0:8 direct index ( temp float)
241 0:8 clip1: direct index for structure ( temp 4-component vector of float)
242 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
247 0:8 direct index ( in float ClipDistance)
248 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
251 0:8 move second child to first child ( temp float)
252 0:8 direct index ( temp float)
253 0:8 clip1: direct index for structure ( temp 4-component vector of float)
254 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
259 0:8 direct index ( in float ClipDistance)
260 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
263 0:8 move second child to first child ( temp float)
264 0:8 direct index ( temp float)
265 0:8 clip1: direct index for structure ( temp 4-component vector of float)
266 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
271 0:8 direct index ( in float ClipDistance)
272 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
275 0:8 move second child to first child ( temp 4-component vector of float)
276 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
277 0:8 Function Call: @main(struct-VS_OUTPUT-vf4-vf4-vf41; ( temp 4-component vector of float)
278 0:? 'v' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
280 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
281 0:? 'v.Position' ( in 4-component vector of float FragCoord)
282 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
284 // Module Version 10000
285 // Generated by (magic number): 8000a
286 // Id's are bound by 79
289 Capability ClipDistance
290 1: ExtInstImport "GLSL.std.450"
291 MemoryModel Logical GLSL450
292 EntryPoint Fragment 4 "main" 31 38 75
293 ExecutionMode 4 OriginUpperLeft
297 MemberName 8(VS_OUTPUT) 0 "Position"
298 MemberName 8(VS_OUTPUT) 1 "clip0"
299 MemberName 8(VS_OUTPUT) 2 "clip1"
300 Name 12 "@main(struct-VS_OUTPUT-vf4-vf4-vf41;"
305 Name 75 "@entryPointOutput"
307 Decorate 31(v.Position) BuiltIn FragCoord
308 Decorate 38(v.clip1) BuiltIn ClipDistance
309 Decorate 75(@entryPointOutput) Location 0
313 7: TypeVector 6(float) 4
314 8(VS_OUTPUT): TypeStruct 7(fvec4) 7(fvec4) 7(fvec4)
315 9: TypePointer Function 8(VS_OUTPUT)
316 10: TypeFunction 7(fvec4) 9(ptr)
318 15: 14(int) Constant 0
319 16: TypePointer Function 7(fvec4)
320 19: 14(int) Constant 1
321 23: 14(int) Constant 2
322 30: TypePointer Input 7(fvec4)
323 31(v.Position): 30(ptr) Variable Input
325 35: 34(int) Constant 8
326 36: TypeArray 6(float) 35
327 37: TypePointer Input 36
328 38(v.clip1): 37(ptr) Variable Input
329 39: TypePointer Input 6(float)
330 42: 34(int) Constant 0
331 43: TypePointer Function 6(float)
332 47: 34(int) Constant 1
333 51: 34(int) Constant 2
334 53: 14(int) Constant 3
335 56: 34(int) Constant 3
336 58: 14(int) Constant 4
337 62: 14(int) Constant 5
338 66: 14(int) Constant 6
339 70: 14(int) Constant 7
340 74: TypePointer Output 7(fvec4)
341 75(@entryPointOutput): 74(ptr) Variable Output
342 4(main): 2 Function None 3
344 29(v): 9(ptr) Variable Function
345 76(param): 9(ptr) Variable Function
346 32: 7(fvec4) Load 31(v.Position)
347 33: 16(ptr) AccessChain 29(v) 15
349 40: 39(ptr) AccessChain 38(v.clip1) 15
351 44: 43(ptr) AccessChain 29(v) 19 42
353 45: 39(ptr) AccessChain 38(v.clip1) 19
355 48: 43(ptr) AccessChain 29(v) 19 47
357 49: 39(ptr) AccessChain 38(v.clip1) 23
359 52: 43(ptr) AccessChain 29(v) 19 51
361 54: 39(ptr) AccessChain 38(v.clip1) 53
363 57: 43(ptr) AccessChain 29(v) 19 56
365 59: 39(ptr) AccessChain 38(v.clip1) 58
367 61: 43(ptr) AccessChain 29(v) 23 42
369 63: 39(ptr) AccessChain 38(v.clip1) 62
371 65: 43(ptr) AccessChain 29(v) 23 47
373 67: 39(ptr) AccessChain 38(v.clip1) 66
375 69: 43(ptr) AccessChain 29(v) 23 51
377 71: 39(ptr) AccessChain 38(v.clip1) 70
379 73: 43(ptr) AccessChain 29(v) 23 56
381 77:8(VS_OUTPUT) Load 29(v)
383 78: 7(fvec4) FunctionCall 12(@main(struct-VS_OUTPUT-vf4-vf4-vf41;) 76(param)
384 Store 75(@entryPointOutput) 78
387 12(@main(struct-VS_OUTPUT-vf4-vf4-vf41;): 7(fvec4) Function None 10
388 11(v): 9(ptr) FunctionParameter
390 17: 16(ptr) AccessChain 11(v) 15
392 20: 16(ptr) AccessChain 11(v) 19
394 22: 7(fvec4) FAdd 18 21
395 24: 16(ptr) AccessChain 11(v) 23
397 26: 7(fvec4) FAdd 22 25