summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/spv.specConstantComposite.vert.out
blob: c4585e40da1f879ad1a29d3cc1fa2e73160bb82b (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
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.


Linked vertex stage:


// Module Version 10000
// Generated by (magic number): 80001
// 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 27  "color"
                              Name 33  "len"
                              Name 42  "global_vec4_array_with_spec_length"
                              Decorate 21 SpecId 203
                              Decorate 28 SpecId 200
                              Decorate 37 SpecId 201
                              Decorate 39 SpecId 202
               2:             TypeVoid
               3:             TypeFunction 2
              14:             TypeInt 32 1
              15:             TypeFunction 14(int)
              20:             TypeBool
              21:    20(bool) SpecConstantTrue
              24:             TypeFloat 32
              25:             TypeVector 24(float) 4
              26:             TypePointer Output 25(fvec4)
       27(color):     26(ptr) Variable Output
              28:     14(int) SpecConstant 3
              32:             TypePointer Function 14(int)
              37:   24(float) SpecConstant 1078523331
              38:             TypeFloat 64
              39:   38(float) SpecConstant 1413754136 1074340347
              40:             TypeArray 25(fvec4) 28
              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 22 23
              22:               Label
              29:   24(float)   ConvertSToF 28
              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
              34:     14(int) Load 33(len)
                              ReturnValue 34
                              FunctionEnd
18(declare_spec_const_in_func():           2 Function None 3
              19:             Label
                              Return
                              FunctionEnd