1vulkan.ast.vert
2Shader version: 450
30:? Sequence
40:7  Function Definition: main( ( global void)
50:7    Function Parameters:
60:9    Sequence
70:9      Convert float to bool ( temp bool)
80:9        'scf1' ( specialization-constant const highp float)
90:9          1.000000
100:10      Construct bool ( specialization-constant const bool)
110:10        'scbt' ( specialization-constant const bool)
120:10          true (const bool)
130:11      Convert int to bool ( specialization-constant const bool)
140:11        'sci2' ( specialization-constant const highp int)
150:11          2 (const int)
160:13      Construct float ( temp float)
170:13        'scf1' ( specialization-constant const highp float)
180:13          1.000000
190:14      Convert bool to float ( temp float)
200:14        'scbt' ( specialization-constant const bool)
210:14          true (const bool)
220:15      Convert int to float ( temp float)
230:15        'sci2' ( specialization-constant const highp int)
240:15          2 (const int)
250:17      Convert float to int ( temp int)
260:17        'scf1' ( specialization-constant const highp float)
270:17          1.000000
280:18      Convert bool to int ( specialization-constant const int)
290:18        'scbt' ( specialization-constant const bool)
300:18          true (const bool)
310:19      Construct int ( specialization-constant const int)
320:19        'sci2' ( specialization-constant const highp int)
330:19          2 (const int)
340:21      component-wise multiply ( temp highp float)
350:21        'scf1' ( specialization-constant const highp float)
360:21          1.000000
370:21        'scf1' ( specialization-constant const highp float)
380:21          1.000000
390:22      logical-or ( specialization-constant const bool)
400:22        'scbt' ( specialization-constant const bool)
410:22          true (const bool)
420:22        'scbt' ( specialization-constant const bool)
430:22          true (const bool)
440:23      component-wise multiply ( specialization-constant const highp int)
450:23        'sci2' ( specialization-constant const highp int)
460:23          2 (const int)
470:23        'sci2' ( specialization-constant const highp int)
480:23          2 (const int)
490:24      add ( temp highp float)
500:24        'scf1' ( specialization-constant const highp float)
510:24          1.000000
520:24        Convert int to float ( temp highp float)
530:24          'sci2' ( specialization-constant const highp int)
540:24            2 (const int)
550:26      Negate value ( temp highp float)
560:26        'scf1' ( specialization-constant const highp float)
570:26          1.000000
580:27      Negate conditional ( specialization-constant const bool)
590:27        'scbt' ( specialization-constant const bool)
600:27          true (const bool)
610:28      Negate value ( specialization-constant const highp int)
620:28        'sci2' ( specialization-constant const highp int)
630:28          2 (const int)
640:30      Compare Greater Than ( temp bool)
650:30        'scf1' ( specialization-constant const highp float)
660:30          1.000000
670:30        'scf1' ( specialization-constant const highp float)
680:30          1.000000
690:31      Compare Greater Than ( specialization-constant const bool)
700:31        'sci2' ( specialization-constant const highp int)
710:31          2 (const int)
720:31        'sci2' ( specialization-constant const highp int)
730:31          2 (const int)
740:33      Compare Not Equal ( temp bool)
750:33        'scf1' ( specialization-constant const highp float)
760:33          1.000000
770:33        'scf1' ( specialization-constant const highp float)
780:33          1.000000
790:34      Compare Not Equal ( specialization-constant const bool)
800:34        'scbt' ( specialization-constant const bool)
810:34          true (const bool)
820:34        'scbt' ( specialization-constant const bool)
830:34          true (const bool)
840:35      Compare Not Equal ( specialization-constant const bool)
850:35        'sci2' ( specialization-constant const highp int)
860:35          2 (const int)
870:35        'sci2' ( specialization-constant const highp int)
880:35          2 (const int)
890:37      Construct ivec2 ( specialization-constant const 2-component vector of int)
900:37        'sci2' ( specialization-constant const highp int)
910:37          2 (const int)
920:37        'sci2' ( specialization-constant const highp int)
930:37          2 (const int)
940:38      Construct ivec2 ( temp 2-element array of 2-component vector of int)
950:38        Construct ivec2 ( specialization-constant const 2-component vector of int)
960:38          'sci2' ( specialization-constant const highp int)
970:38            2 (const int)
980:38          'sci2' ( specialization-constant const highp int)
990:38            2 (const int)
1000:38        Construct ivec2 ( specialization-constant const 2-component vector of int)
1010:38          'sci2' ( specialization-constant const highp int)
1020:38            2 (const int)
1030:38          'sci2' ( specialization-constant const highp int)
1040:38            2 (const int)
1050:40      Construct vec2 ( temp 2-component vector of float)
1060:40        'scf1' ( specialization-constant const highp float)
1070:40          1.000000
1080:40        'scf1' ( specialization-constant const highp float)
1090:40          1.000000
1100:41      Construct vec2 ( temp 2-element array of 2-component vector of float)
1110:41        Construct vec2 ( temp 2-component vector of float)
1120:41          'scf1' ( specialization-constant const highp float)
1130:41            1.000000
1140:41          'scf1' ( specialization-constant const highp float)
1150:41            1.000000
1160:41        Construct vec2 ( temp 2-component vector of float)
1170:41          'scf1' ( specialization-constant const highp float)
1180:41            1.000000
1190:41          'scf1' ( specialization-constant const highp float)
1200:41            1.000000
1210:?   Linker Objects
1220:?     'scf1' ( specialization-constant const highp float)
1230:?       1.000000
1240:?     'scbt' ( specialization-constant const bool)
1250:?       true (const bool)
1260:?     'sci2' ( specialization-constant const highp int)
1270:?       2 (const int)
128
129
130Linked vertex stage:
131
132
133Shader version: 450
1340:? Sequence
1350:7  Function Definition: main( ( global void)
1360:7    Function Parameters:
1370:9    Sequence
1380:9      Convert float to bool ( temp bool)
1390:9        'scf1' ( specialization-constant const highp float)
1400:9          1.000000
1410:10      Construct bool ( specialization-constant const bool)
1420:10        'scbt' ( specialization-constant const bool)
1430:10          true (const bool)
1440:11      Convert int to bool ( specialization-constant const bool)
1450:11        'sci2' ( specialization-constant const highp int)
1460:11          2 (const int)
1470:13      Construct float ( temp float)
1480:13        'scf1' ( specialization-constant const highp float)
1490:13          1.000000
1500:14      Convert bool to float ( temp float)
1510:14        'scbt' ( specialization-constant const bool)
1520:14          true (const bool)
1530:15      Convert int to float ( temp float)
1540:15        'sci2' ( specialization-constant const highp int)
1550:15          2 (const int)
1560:17      Convert float to int ( temp int)
1570:17        'scf1' ( specialization-constant const highp float)
1580:17          1.000000
1590:18      Convert bool to int ( specialization-constant const int)
1600:18        'scbt' ( specialization-constant const bool)
1610:18          true (const bool)
1620:19      Construct int ( specialization-constant const int)
1630:19        'sci2' ( specialization-constant const highp int)
1640:19          2 (const int)
1650:21      component-wise multiply ( temp highp float)
1660:21        'scf1' ( specialization-constant const highp float)
1670:21          1.000000
1680:21        'scf1' ( specialization-constant const highp float)
1690:21          1.000000
1700:22      logical-or ( specialization-constant const bool)
1710:22        'scbt' ( specialization-constant const bool)
1720:22          true (const bool)
1730:22        'scbt' ( specialization-constant const bool)
1740:22          true (const bool)
1750:23      component-wise multiply ( specialization-constant const highp int)
1760:23        'sci2' ( specialization-constant const highp int)
1770:23          2 (const int)
1780:23        'sci2' ( specialization-constant const highp int)
1790:23          2 (const int)
1800:24      add ( temp highp float)
1810:24        'scf1' ( specialization-constant const highp float)
1820:24          1.000000
1830:24        Convert int to float ( temp highp float)
1840:24          'sci2' ( specialization-constant const highp int)
1850:24            2 (const int)
1860:26      Negate value ( temp highp float)
1870:26        'scf1' ( specialization-constant const highp float)
1880:26          1.000000
1890:27      Negate conditional ( specialization-constant const bool)
1900:27        'scbt' ( specialization-constant const bool)
1910:27          true (const bool)
1920:28      Negate value ( specialization-constant const highp int)
1930:28        'sci2' ( specialization-constant const highp int)
1940:28          2 (const int)
1950:30      Compare Greater Than ( temp bool)
1960:30        'scf1' ( specialization-constant const highp float)
1970:30          1.000000
1980:30        'scf1' ( specialization-constant const highp float)
1990:30          1.000000
2000:31      Compare Greater Than ( specialization-constant const bool)
2010:31        'sci2' ( specialization-constant const highp int)
2020:31          2 (const int)
2030:31        'sci2' ( specialization-constant const highp int)
2040:31          2 (const int)
2050:33      Compare Not Equal ( temp bool)
2060:33        'scf1' ( specialization-constant const highp float)
2070:33          1.000000
2080:33        'scf1' ( specialization-constant const highp float)
2090:33          1.000000
2100:34      Compare Not Equal ( specialization-constant const bool)
2110:34        'scbt' ( specialization-constant const bool)
2120:34          true (const bool)
2130:34        'scbt' ( specialization-constant const bool)
2140:34          true (const bool)
2150:35      Compare Not Equal ( specialization-constant const bool)
2160:35        'sci2' ( specialization-constant const highp int)
2170:35          2 (const int)
2180:35        'sci2' ( specialization-constant const highp int)
2190:35          2 (const int)
2200:37      Construct ivec2 ( specialization-constant const 2-component vector of int)
2210:37        'sci2' ( specialization-constant const highp int)
2220:37          2 (const int)
2230:37        'sci2' ( specialization-constant const highp int)
2240:37          2 (const int)
2250:38      Construct ivec2 ( temp 2-element array of 2-component vector of int)
2260:38        Construct ivec2 ( specialization-constant const 2-component vector of int)
2270:38          'sci2' ( specialization-constant const highp int)
2280:38            2 (const int)
2290:38          'sci2' ( specialization-constant const highp int)
2300:38            2 (const int)
2310:38        Construct ivec2 ( specialization-constant const 2-component vector of int)
2320:38          'sci2' ( specialization-constant const highp int)
2330:38            2 (const int)
2340:38          'sci2' ( specialization-constant const highp int)
2350:38            2 (const int)
2360:40      Construct vec2 ( temp 2-component vector of float)
2370:40        'scf1' ( specialization-constant const highp float)
2380:40          1.000000
2390:40        'scf1' ( specialization-constant const highp float)
2400:40          1.000000
2410:41      Construct vec2 ( temp 2-element array of 2-component vector of float)
2420:41        Construct vec2 ( temp 2-component vector of float)
2430:41          'scf1' ( specialization-constant const highp float)
2440:41            1.000000
2450:41          'scf1' ( specialization-constant const highp float)
2460:41            1.000000
2470:41        Construct vec2 ( temp 2-component vector of float)
2480:41          'scf1' ( specialization-constant const highp float)
2490:41            1.000000
2500:41          'scf1' ( specialization-constant const highp float)
2510:41            1.000000
2520:?   Linker Objects
2530:?     'scf1' ( specialization-constant const highp float)
2540:?       1.000000
2550:?     'scbt' ( specialization-constant const bool)
2560:?       true (const bool)
2570:?     'sci2' ( specialization-constant const highp int)
2580:?       2 (const int)
259
260// Module Version 10000
261// Generated by (magic number): 8000a
262// Id's are bound by 50
263
264                              Capability Shader
265               1:             ExtInstImport  "GLSL.std.450"
266                              MemoryModel Logical GLSL450
267                              EntryPoint Vertex 4  "main"
268                              Source GLSL 450
269                              Name 4  "main"
270                              Name 7  "scf1"
271                              Name 11  "scbt"
272                              Name 13  "sci2"
273                              Decorate 7(scf1) SpecId 200
274                              Decorate 11(scbt) SpecId 201
275                              Decorate 13(sci2) SpecId 202
276               2:             TypeVoid
277               3:             TypeFunction 2
278               6:             TypeFloat 32
279         7(scf1):    6(float) SpecConstant 1065353216
280               8:             TypeBool
281               9:    6(float) Constant 0
282        11(scbt):     8(bool) SpecConstantTrue
283              12:             TypeInt 32 1
284        13(sci2):     12(int) SpecConstant 2
285              14:             TypeInt 32 0
286              15:     14(int) Constant 0
287              16:     8(bool) SpecConstantOp 171 13(sci2) 15
288              17:    6(float) Constant 1065353216
289              21:     12(int) Constant 0
290              22:     12(int) Constant 1
291              23:     12(int) SpecConstantOp 169 11(scbt) 22 21
292              25:     8(bool) SpecConstantOp 166 11(scbt) 11(scbt)
293              26:     12(int) SpecConstantOp 132 13(sci2) 13(sci2)
294              30:     8(bool) SpecConstantOp 168 11(scbt)
295              31:     12(int) SpecConstantOp 126 13(sci2)
296              33:     8(bool) SpecConstantOp 173 13(sci2) 13(sci2)
297              35:     8(bool) SpecConstantOp 165 11(scbt) 11(scbt)
298              36:     8(bool) SpecConstantOp 171 13(sci2) 13(sci2)
299              37:             TypeVector 12(int) 2
300              38:   37(ivec2) SpecConstantComposite 13(sci2) 13(sci2)
301              39:   37(ivec2) SpecConstantComposite 13(sci2) 13(sci2)
302              40:   37(ivec2) SpecConstantComposite 13(sci2) 13(sci2)
303              41:     14(int) Constant 2
304              42:             TypeArray 37(ivec2) 41
305              44:             TypeVector 6(float) 2
306              48:             TypeArray 44(fvec2) 41
307         4(main):           2 Function None 3
308               5:             Label
309              10:     8(bool) FUnordNotEqual 7(scf1) 9
310              18:    6(float) Select 11(scbt) 17 9
311              19:    6(float) ConvertSToF 13(sci2)
312              20:     12(int) ConvertFToS 7(scf1)
313              24:    6(float) FMul 7(scf1) 7(scf1)
314              27:    6(float) ConvertSToF 13(sci2)
315              28:    6(float) FAdd 7(scf1) 27
316              29:    6(float) FNegate 7(scf1)
317              32:     8(bool) FOrdGreaterThan 7(scf1) 7(scf1)
318              34:     8(bool) FUnordNotEqual 7(scf1) 7(scf1)
319              43:          42 CompositeConstruct 39 40
320              45:   44(fvec2) CompositeConstruct 7(scf1) 7(scf1)
321              46:   44(fvec2) CompositeConstruct 7(scf1) 7(scf1)
322              47:   44(fvec2) CompositeConstruct 7(scf1) 7(scf1)
323              49:          48 CompositeConstruct 46 47
324                              Return
325                              FunctionEnd
326