blob: 0f2f94482417935ff9e83690da38ac5b1184ecc8 [file] [log] [blame]
John Kessenichfea226b2016-07-28 17:53:56 -06001hlsl.shapeConv.frag
2Shader version: 450
3gl_FragCoord origin is upper left
40:? Sequence
John Kessenich4e559882016-09-27 23:09:32 -060050:2 Function Definition: PixelShaderFunction(vf4;f1; (temp 4-component vector of float)
John Kessenichfea226b2016-07-28 17:53:56 -060060:2 Function Parameters:
70:2 'input' (in 4-component vector of float)
80:2 'f' (in float)
90:? Sequence
100:4 move second child to first child (temp 4-component vector of float)
110:4 'v' (temp 4-component vector of float)
120:4 Constant:
130:4 1.000000
140:4 1.000000
150:4 1.000000
160:4 1.000000
170:5 move second child to first child (temp 4-component vector of float)
180:5 'v' (temp 4-component vector of float)
190:5 Constant:
200:5 2.000000
210:5 2.000000
220:5 2.000000
230:5 2.000000
240:6 move second child to first child (temp 4-component vector of float)
250:6 'v' (temp 4-component vector of float)
260:6 Construct vec4 (temp 4-component vector of float)
270:6 'f' (in float)
280:8 move second child to first child (temp 3-component vector of float)
290:8 'u' (temp 3-component vector of float)
300:8 Constant:
310:8 1.000000
320:8 1.000000
330:8 1.000000
340:9 move second child to first child (temp 3-component vector of float)
350:9 'u' (temp 3-component vector of float)
360:9 Constant:
370:9 2.000000
380:9 2.000000
390:9 2.000000
400:10 move second child to first child (temp 3-component vector of float)
410:10 'u' (temp 3-component vector of float)
420:10 Construct vec3 (temp 3-component vector of float)
430:10 Construct float (temp float)
440:10 'f' (in float)
John Kessenich4583b612016-08-07 19:14:22 -0600450:11 Sequence
460:11 move second child to first child (temp 2-component vector of float)
470:11 'w' (temp 2-component vector of float)
480:11 Constant:
490:11 2.000000
500:11 2.000000
510:12 Sequence
520:12 move second child to first child (temp float)
530:12 'V' (temp float)
540:12 Constant:
550:12 1.000000
560:13 Sequence
570:13 move second child to first child (temp 3-component vector of float)
580:13 'MyVal' (temp 3-component vector of float)
590:13 Construct vec3 (temp 3-component vector of float)
600:13 'V' (temp float)
steve-lunarg85244d72016-10-21 16:43:38 -0600610:16 Compare Greater Than (temp 3-component vector of bool)
John Kessenich4583b612016-08-07 19:14:22 -0600620:16 'foo' (temp 3-component vector of float)
630:16 Constant:
640:16 4.000000
650:16 4.000000
660:16 4.000000
steve-lunarg85244d72016-10-21 16:43:38 -0600670:17 Compare Greater Than or Equal (temp 3-component vector of bool)
John Kessenich4583b612016-08-07 19:14:22 -0600680:17 'foo' (temp 3-component vector of float)
690:17 Constant:
700:17 5.000000
710:17 5.000000
720:17 5.000000
steve-lunarg85244d72016-10-21 16:43:38 -0600730:18 Compare Less Than (temp 3-component vector of bool)
John Kessenich4583b612016-08-07 19:14:22 -0600740:18 Constant:
750:18 6.000000
760:18 6.000000
770:18 6.000000
780:18 'foo' (temp 3-component vector of float)
steve-lunarg85244d72016-10-21 16:43:38 -0600790:19 Compare Less Than or Equal (temp 3-component vector of bool)
John Kessenich4583b612016-08-07 19:14:22 -0600800:19 Constant:
810:19 7.000000
820:19 7.000000
830:19 7.000000
840:19 'foo' (temp 3-component vector of float)
steve-lunarg85244d72016-10-21 16:43:38 -0600850:21 all (global bool)
860:21 Equal (temp 4-component vector of bool)
870:21 Construct vec4 (temp 4-component vector of float)
880:21 direct index (temp float)
890:21 'v' (temp 4-component vector of float)
900:21 Constant:
910:21 0 (const int)
920:21 'v' (temp 4-component vector of float)
930:22 any (global bool)
940:22 NotEqual (temp 4-component vector of bool)
950:22 Construct vec4 (temp 4-component vector of float)
960:22 'f' (in float)
970:22 'v' (temp 4-component vector of float)
John Kessenich841db352016-09-02 21:12:23 -0600980:26 Compare Equal (temp bool)
990:26 'f1' (temp 1-component vector of float)
1000:26 Construct float (temp 1-component vector of float)
1010:26 'v' (temp 4-component vector of float)
1020:27 Compare Less Than (temp bool)
1030:27 Construct float (temp 1-component vector of float)
1040:27 'v' (temp 4-component vector of float)
1050:27 'f1' (temp 1-component vector of float)
John Kessenich7d01bd62016-09-02 22:21:25 -06001060:28 Construct float (temp float)
1070:28 'f1' (temp 1-component vector of float)
1080:29 Construct vec3 (temp 3-component vector of float)
1090:29 Construct float (temp float)
1100:29 'f1' (temp 1-component vector of float)
1110:31 Branch: Return with expression
1120:31 'input' (in 4-component vector of float)
John Kessenichfea226b2016-07-28 17:53:56 -06001130:? Linker Objects
114
115
116Linked fragment stage:
117
118
119Shader version: 450
120gl_FragCoord origin is upper left
1210:? Sequence
John Kessenich4e559882016-09-27 23:09:32 -06001220:2 Function Definition: PixelShaderFunction(vf4;f1; (temp 4-component vector of float)
John Kessenichfea226b2016-07-28 17:53:56 -06001230:2 Function Parameters:
1240:2 'input' (in 4-component vector of float)
1250:2 'f' (in float)
1260:? Sequence
1270:4 move second child to first child (temp 4-component vector of float)
1280:4 'v' (temp 4-component vector of float)
1290:4 Constant:
1300:4 1.000000
1310:4 1.000000
1320:4 1.000000
1330:4 1.000000
1340:5 move second child to first child (temp 4-component vector of float)
1350:5 'v' (temp 4-component vector of float)
1360:5 Constant:
1370:5 2.000000
1380:5 2.000000
1390:5 2.000000
1400:5 2.000000
1410:6 move second child to first child (temp 4-component vector of float)
1420:6 'v' (temp 4-component vector of float)
1430:6 Construct vec4 (temp 4-component vector of float)
1440:6 'f' (in float)
1450:8 move second child to first child (temp 3-component vector of float)
1460:8 'u' (temp 3-component vector of float)
1470:8 Constant:
1480:8 1.000000
1490:8 1.000000
1500:8 1.000000
1510:9 move second child to first child (temp 3-component vector of float)
1520:9 'u' (temp 3-component vector of float)
1530:9 Constant:
1540:9 2.000000
1550:9 2.000000
1560:9 2.000000
1570:10 move second child to first child (temp 3-component vector of float)
1580:10 'u' (temp 3-component vector of float)
1590:10 Construct vec3 (temp 3-component vector of float)
1600:10 Construct float (temp float)
1610:10 'f' (in float)
John Kessenich4583b612016-08-07 19:14:22 -06001620:11 Sequence
1630:11 move second child to first child (temp 2-component vector of float)
1640:11 'w' (temp 2-component vector of float)
1650:11 Constant:
1660:11 2.000000
1670:11 2.000000
1680:12 Sequence
1690:12 move second child to first child (temp float)
1700:12 'V' (temp float)
1710:12 Constant:
1720:12 1.000000
1730:13 Sequence
1740:13 move second child to first child (temp 3-component vector of float)
1750:13 'MyVal' (temp 3-component vector of float)
1760:13 Construct vec3 (temp 3-component vector of float)
1770:13 'V' (temp float)
steve-lunarg85244d72016-10-21 16:43:38 -06001780:16 Compare Greater Than (temp 3-component vector of bool)
John Kessenich4583b612016-08-07 19:14:22 -06001790:16 'foo' (temp 3-component vector of float)
1800:16 Constant:
1810:16 4.000000
1820:16 4.000000
1830:16 4.000000
steve-lunarg85244d72016-10-21 16:43:38 -06001840:17 Compare Greater Than or Equal (temp 3-component vector of bool)
John Kessenich4583b612016-08-07 19:14:22 -06001850:17 'foo' (temp 3-component vector of float)
1860:17 Constant:
1870:17 5.000000
1880:17 5.000000
1890:17 5.000000
steve-lunarg85244d72016-10-21 16:43:38 -06001900:18 Compare Less Than (temp 3-component vector of bool)
John Kessenich4583b612016-08-07 19:14:22 -06001910:18 Constant:
1920:18 6.000000
1930:18 6.000000
1940:18 6.000000
1950:18 'foo' (temp 3-component vector of float)
steve-lunarg85244d72016-10-21 16:43:38 -06001960:19 Compare Less Than or Equal (temp 3-component vector of bool)
John Kessenich4583b612016-08-07 19:14:22 -06001970:19 Constant:
1980:19 7.000000
1990:19 7.000000
2000:19 7.000000
2010:19 'foo' (temp 3-component vector of float)
steve-lunarg85244d72016-10-21 16:43:38 -06002020:21 all (global bool)
2030:21 Equal (temp 4-component vector of bool)
2040:21 Construct vec4 (temp 4-component vector of float)
2050:21 direct index (temp float)
2060:21 'v' (temp 4-component vector of float)
2070:21 Constant:
2080:21 0 (const int)
2090:21 'v' (temp 4-component vector of float)
2100:22 any (global bool)
2110:22 NotEqual (temp 4-component vector of bool)
2120:22 Construct vec4 (temp 4-component vector of float)
2130:22 'f' (in float)
2140:22 'v' (temp 4-component vector of float)
John Kessenich841db352016-09-02 21:12:23 -06002150:26 Compare Equal (temp bool)
2160:26 'f1' (temp 1-component vector of float)
2170:26 Construct float (temp 1-component vector of float)
2180:26 'v' (temp 4-component vector of float)
2190:27 Compare Less Than (temp bool)
2200:27 Construct float (temp 1-component vector of float)
2210:27 'v' (temp 4-component vector of float)
2220:27 'f1' (temp 1-component vector of float)
John Kessenich7d01bd62016-09-02 22:21:25 -06002230:28 Construct float (temp float)
2240:28 'f1' (temp 1-component vector of float)
2250:29 Construct vec3 (temp 3-component vector of float)
2260:29 Construct float (temp float)
2270:29 'f1' (temp 1-component vector of float)
2280:31 Branch: Return with expression
2290:31 'input' (in 4-component vector of float)
John Kessenichfea226b2016-07-28 17:53:56 -06002300:? Linker Objects
231
232// Module Version 10000
233// Generated by (magic number): 80001
steve-lunarg85244d72016-10-21 16:43:38 -0600234// Id's are bound by 85
John Kessenichfea226b2016-07-28 17:53:56 -0600235
236 Capability Shader
237 1: ExtInstImport "GLSL.std.450"
238 MemoryModel Logical GLSL450
239 EntryPoint Fragment 4 "main"
240 ExecutionMode 4 OriginUpperLeft
John Kessenichfea226b2016-07-28 17:53:56 -0600241 Name 4 "main"
242 Name 13 "PixelShaderFunction(vf4;f1;"
243 Name 11 "input"
244 Name 12 "f"
245 Name 15 "v"
246 Name 24 "u"
John Kessenich4583b612016-08-07 19:14:22 -0600247 Name 31 "w"
248 Name 33 "V"
249 Name 34 "MyVal"
250 Name 37 "foo"
steve-lunarg85244d72016-10-21 16:43:38 -0600251 Name 70 "f1"
John Kessenichfea226b2016-07-28 17:53:56 -0600252 2: TypeVoid
253 3: TypeFunction 2
254 6: TypeFloat 32
255 7: TypeVector 6(float) 4
256 8: TypePointer Function 7(fvec4)
257 9: TypePointer Function 6(float)
258 10: TypeFunction 7(fvec4) 8(ptr) 9(ptr)
259 16: 6(float) Constant 1065353216
260 17: 7(fvec4) ConstantComposite 16 16 16 16
261 18: 6(float) Constant 1073741824
262 19: 7(fvec4) ConstantComposite 18 18 18 18
263 22: TypeVector 6(float) 3
264 23: TypePointer Function 22(fvec3)
265 25: 22(fvec3) ConstantComposite 16 16 16
266 26: 22(fvec3) ConstantComposite 18 18 18
John Kessenich4583b612016-08-07 19:14:22 -0600267 29: TypeVector 6(float) 2
268 30: TypePointer Function 29(fvec2)
269 32: 29(fvec2) ConstantComposite 18 18
270 39: 6(float) Constant 1082130432
271 40: 22(fvec3) ConstantComposite 39 39 39
272 41: TypeBool
steve-lunarg85244d72016-10-21 16:43:38 -0600273 42: TypeVector 41(bool) 3
274 45: 6(float) Constant 1084227584
275 46: 22(fvec3) ConstantComposite 45 45 45
276 48: 6(float) Constant 1086324736
277 49: 22(fvec3) ConstantComposite 48 48 48
278 52: 6(float) Constant 1088421888
279 53: 22(fvec3) ConstantComposite 52 52 52
280 56: TypeInt 32 0
281 57: 56(int) Constant 0
282 62: TypeVector 41(bool) 4
John Kessenichfea226b2016-07-28 17:53:56 -0600283 4(main): 2 Function None 3
284 5: Label
285 FunctionEnd
28613(PixelShaderFunction(vf4;f1;): 7(fvec4) Function None 10
287 11(input): 8(ptr) FunctionParameter
288 12(f): 9(ptr) FunctionParameter
289 14: Label
290 15(v): 8(ptr) Variable Function
291 24(u): 23(ptr) Variable Function
John Kessenich4583b612016-08-07 19:14:22 -0600292 31(w): 30(ptr) Variable Function
293 33(V): 9(ptr) Variable Function
294 34(MyVal): 23(ptr) Variable Function
295 37(foo): 23(ptr) Variable Function
steve-lunarg85244d72016-10-21 16:43:38 -0600296 70(f1): 9(ptr) Variable Function
John Kessenichfea226b2016-07-28 17:53:56 -0600297 Store 15(v) 17
298 Store 15(v) 19
299 20: 6(float) Load 12(f)
300 21: 7(fvec4) CompositeConstruct 20 20 20 20
301 Store 15(v) 21
302 Store 24(u) 25
303 Store 24(u) 26
304 27: 6(float) Load 12(f)
305 28: 22(fvec3) CompositeConstruct 27 27 27
306 Store 24(u) 28
John Kessenich4583b612016-08-07 19:14:22 -0600307 Store 31(w) 32
308 Store 33(V) 16
309 35: 6(float) Load 33(V)
310 36: 22(fvec3) CompositeConstruct 35 35 35
311 Store 34(MyVal) 36
312 38: 22(fvec3) Load 37(foo)
steve-lunarg85244d72016-10-21 16:43:38 -0600313 43: 42(bvec3) FOrdGreaterThan 38 40
314 44: 22(fvec3) Load 37(foo)
315 47: 42(bvec3) FOrdGreaterThanEqual 44 46
316 50: 22(fvec3) Load 37(foo)
317 51: 42(bvec3) FOrdLessThan 49 50
318 54: 22(fvec3) Load 37(foo)
319 55: 42(bvec3) FOrdLessThanEqual 53 54
320 58: 9(ptr) AccessChain 15(v) 57
321 59: 6(float) Load 58
322 60: 7(fvec4) CompositeConstruct 59 59 59 59
323 61: 7(fvec4) Load 15(v)
324 63: 62(bvec4) FOrdEqual 60 61
325 64: 41(bool) All 63
326 65: 6(float) Load 12(f)
327 66: 7(fvec4) CompositeConstruct 65 65 65 65
328 67: 7(fvec4) Load 15(v)
329 68: 62(bvec4) FOrdNotEqual 66 67
330 69: 41(bool) Any 68
331 71: 6(float) Load 70(f1)
332 72: 7(fvec4) Load 15(v)
333 73: 6(float) CompositeExtract 72 0
334 74: 41(bool) FOrdEqual 71 73
335 75: 7(fvec4) Load 15(v)
336 76: 6(float) CompositeExtract 75 0
337 77: 6(float) Load 70(f1)
338 78: 41(bool) FOrdLessThan 76 77
339 79: 6(float) Load 70(f1)
340 80: 6(float) Load 70(f1)
341 81: 22(fvec3) CompositeConstruct 80 80 80
342 82: 7(fvec4) Load 11(input)
343 ReturnValue 82
John Kessenichfea226b2016-07-28 17:53:56 -0600344 FunctionEnd