aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/spv.specConstantComposite.vert.out
blob: 15777d8f38f7945cd35245c74117dfc4704c92e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
spv.specConstantComposite.vert
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 43

                              Capability Shader
                              Capability Float64
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Vertex 4  "main" 27 42
                              Source GLSL 450
                              Name 4  "main"
                              Name 6  "refer_primary_spec_const("
                              Name 8  "refer_composite_spec_const("
                              Name 10  "refer_copmosite_dot_dereference("
                              Name 12  "refer_composite_bracket_dereference("
                              Name 16  "refer_spec_const_array_length("
                              Name 18  "declare_spec_const_in_func("
                              Name 21  "spec_bool"
                              Name 27  "color"
                              Name 28  "spec_int"
                              Name 33  "len"
                              Name 37  "spec_float"
                              Name 39  "spec_double"
                              Name 42  "global_vec4_array_with_spec_length"
                              Decorate 21(spec_bool) SpecId 203
                              Decorate 27(color) Location 0
                              Decorate 28(spec_int) SpecId 200
                              Decorate 37(spec_float) SpecId 201
                              Decorate 39(spec_double) SpecId 202
                              Decorate 42(global_vec4_array_with_spec_length) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
              14:             TypeInt 32 1
              15:             TypeFunction 14(int)
              20:             TypeBool
   21(spec_bool):    20(bool) SpecConstantTrue
              24:             TypeFloat 32
              25:             TypeVector 24(float) 4
              26:             TypePointer Output 25(fvec4)
       27(color):     26(ptr) Variable Output
    28(spec_int):     14(int) SpecConstant 3
              32:             TypePointer Function 14(int)
  37(spec_float):   24(float) SpecConstant 1078523331
              38:             TypeFloat 64
 39(spec_double):38(float64_t) SpecConstant 1413754136 1074340347
              40:             TypeArray 25(fvec4) 28(spec_int)
              41:             TypePointer Input 40
42(global_vec4_array_with_spec_length):     41(ptr) Variable Input
         4(main):           2 Function None 3
               5:             Label
                              Return
                              FunctionEnd
6(refer_primary_spec_const():           2 Function None 3
               7:             Label
                              SelectionMerge 23 None
                              BranchConditional 21(spec_bool) 22 23
              22:               Label
              29:   24(float)   ConvertSToF 28(spec_int)
              30:   25(fvec4)   Load 27(color)
              31:   25(fvec4)   VectorTimesScalar 30 29
                                Store 27(color) 31
                                Branch 23
              23:             Label
                              Return
                              FunctionEnd
8(refer_composite_spec_const():           2 Function None 3
               9:             Label
                              Return
                              FunctionEnd
10(refer_copmosite_dot_dereference():           2 Function None 3
              11:             Label
                              Return
                              FunctionEnd
12(refer_composite_bracket_dereference():           2 Function None 3
              13:             Label
                              Return
                              FunctionEnd
16(refer_spec_const_array_length():     14(int) Function None 15
              17:             Label
         33(len):     32(ptr) Variable Function
                              Store 33(len) 28(spec_int)
              34:     14(int) Load 33(len)
                              ReturnValue 34
                              FunctionEnd
18(declare_spec_const_in_func():           2 Function None 3
              19:             Label
                              Return
                              FunctionEnd