blob: 58d4b6a3fd600dc91a40a27b404e6e58f9555650 [file] [log] [blame]
qining08408382016-03-21 09:51:37 -04001spv.specConstantComposite.vert
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -06003// Generated by (magic number): 80007
John Kessenichd82c9062016-05-23 16:07:07 -06004// Id's are bound by 43
qining08408382016-03-21 09:51:37 -04005
6 Capability Shader
7 Capability Float64
8 1: ExtInstImport "GLSL.std.450"
9 MemoryModel Logical GLSL450
John Kessenichd82c9062016-05-23 16:07:07 -060010 EntryPoint Vertex 4 "main" 27 42
qining08408382016-03-21 09:51:37 -040011 Source GLSL 450
12 Name 4 "main"
13 Name 6 "refer_primary_spec_const("
14 Name 8 "refer_composite_spec_const("
15 Name 10 "refer_copmosite_dot_dereference("
16 Name 12 "refer_composite_bracket_dereference("
17 Name 16 "refer_spec_const_array_length("
18 Name 18 "declare_spec_const_in_func("
Endre Omaad58d452017-01-31 21:08:19 +010019 Name 21 "spec_bool"
qining08408382016-03-21 09:51:37 -040020 Name 27 "color"
Endre Omaad58d452017-01-31 21:08:19 +010021 Name 28 "spec_int"
John Kessenichd82c9062016-05-23 16:07:07 -060022 Name 33 "len"
Endre Omaad58d452017-01-31 21:08:19 +010023 Name 37 "spec_float"
24 Name 39 "spec_double"
John Kessenichd82c9062016-05-23 16:07:07 -060025 Name 42 "global_vec4_array_with_spec_length"
Endre Omaad58d452017-01-31 21:08:19 +010026 Decorate 21(spec_bool) SpecId 203
27 Decorate 28(spec_int) SpecId 200
28 Decorate 37(spec_float) SpecId 201
29 Decorate 39(spec_double) SpecId 202
qining08408382016-03-21 09:51:37 -040030 2: TypeVoid
31 3: TypeFunction 2
32 14: TypeInt 32 1
33 15: TypeFunction 14(int)
34 20: TypeBool
Endre Omaad58d452017-01-31 21:08:19 +010035 21(spec_bool): 20(bool) SpecConstantTrue
qining08408382016-03-21 09:51:37 -040036 24: TypeFloat 32
37 25: TypeVector 24(float) 4
38 26: TypePointer Output 25(fvec4)
39 27(color): 26(ptr) Variable Output
Endre Omaad58d452017-01-31 21:08:19 +010040 28(spec_int): 14(int) SpecConstant 3
John Kessenichd82c9062016-05-23 16:07:07 -060041 32: TypePointer Function 14(int)
Endre Omaad58d452017-01-31 21:08:19 +010042 37(spec_float): 24(float) SpecConstant 1078523331
John Kessenichd82c9062016-05-23 16:07:07 -060043 38: TypeFloat 64
Jeff Bolzaf7a9482018-05-22 23:13:30 -050044 39(spec_double):38(float64_t) SpecConstant 1413754136 1074340347
Endre Omaad58d452017-01-31 21:08:19 +010045 40: TypeArray 25(fvec4) 28(spec_int)
John Kessenichd82c9062016-05-23 16:07:07 -060046 41: TypePointer Input 40
4742(global_vec4_array_with_spec_length): 41(ptr) Variable Input
qining08408382016-03-21 09:51:37 -040048 4(main): 2 Function None 3
49 5: Label
50 Return
51 FunctionEnd
526(refer_primary_spec_const(): 2 Function None 3
53 7: Label
54 SelectionMerge 23 None
Endre Omaad58d452017-01-31 21:08:19 +010055 BranchConditional 21(spec_bool) 22 23
qining08408382016-03-21 09:51:37 -040056 22: Label
Endre Omaad58d452017-01-31 21:08:19 +010057 29: 24(float) ConvertSToF 28(spec_int)
qining08408382016-03-21 09:51:37 -040058 30: 25(fvec4) Load 27(color)
59 31: 25(fvec4) VectorTimesScalar 30 29
60 Store 27(color) 31
61 Branch 23
62 23: Label
63 Return
64 FunctionEnd
658(refer_composite_spec_const(): 2 Function None 3
66 9: Label
qining08408382016-03-21 09:51:37 -040067 Return
68 FunctionEnd
6910(refer_copmosite_dot_dereference(): 2 Function None 3
70 11: Label
qining08408382016-03-21 09:51:37 -040071 Return
72 FunctionEnd
7312(refer_composite_bracket_dereference(): 2 Function None 3
74 13: Label
qining08408382016-03-21 09:51:37 -040075 Return
76 FunctionEnd
7716(refer_spec_const_array_length(): 14(int) Function None 15
78 17: Label
John Kessenichd82c9062016-05-23 16:07:07 -060079 33(len): 32(ptr) Variable Function
Endre Omaad58d452017-01-31 21:08:19 +010080 Store 33(len) 28(spec_int)
John Kessenichd82c9062016-05-23 16:07:07 -060081 34: 14(int) Load 33(len)
82 ReturnValue 34
qining08408382016-03-21 09:51:37 -040083 FunctionEnd
8418(declare_spec_const_in_func(): 2 Function None 3
85 19: Label
qining08408382016-03-21 09:51:37 -040086 Return
87 FunctionEnd