yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Diego NovilloFix inconsistent labeling of capability strings7a5308f4

main
9.3 KiB196 linesraw
1spv.coopvec2.comp
2// Module Version 10300
3// Generated by (magic number): 8000b
4// Id's are bound by 122
5
6                              Capability Shader
7                              Capability Float16
8                              Capability Int8
9                              Capability VulkanMemoryModelKHR
10                              Capability CooperativeVectorNV
11                              Capability ReplicatedCompositesEXT
12                              Extension  "SPV_EXT_replicated_composites"
13                              Extension  "SPV_KHR_vulkan_memory_model"
14                              Extension  "SPV_NV_cooperative_vector"
15               1:             ExtInstImport  "GLSL.std.450"
16                              MemoryModel Logical VulkanKHR
17                              EntryPoint GLCompute 4  "main"
18                              ExecutionMode 4 LocalSize 64 1 1
19                              Source GLSL 450
20                              SourceExtension  "GL_EXT_buffer_reference"
21                              SourceExtension  "GL_EXT_nonuniform_qualifier"
22                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
23                              SourceExtension  "GL_KHR_memory_scope_semantics"
24                              SourceExtension  "GL_NV_cooperative_vector"
25                              Name 4  "main"
26                              Name 13  "foo(coopvecf1<4>;"
27                              Name 12  "v"
28                              Name 17  "f1"
29                              Name 19  "f2"
30                              Name 21  "f3"
31                              Name 23  "N"
32                              Name 26  "v"
33                              Name 28  "v2"
34                              Name 31  "v3"
35                              Name 33  "v4"
36                              Name 38  "v5"
37                              Name 39  "v6"
38                              Name 42  "v7"
39                              Name 50  "v8"
40                              Name 57  "v9"
41                              Name 61  "v10"
42                              Name 100  "v11"
43                              Name 110  "v12"
44                              Name 116  "v13"
45                              Decorate 23(N) SpecId 0
46                              Decorate 121 BuiltIn WorkgroupSize
47               2:             TypeVoid
48               3:             TypeFunction 2
49               6:             TypeFloat 32
50               7:             TypeInt 32 0
51               8:      7(int) Constant 4
52               9:             TypeCooperativeVectorNV 6(float) 8
53              10:             TypePointer Function 9
54              11:             TypeFunction 2 10(ptr)
55              15:             TypeFloat 16
56              16:             TypePointer Function 15(float16_t)
57              18:15(float16_t) Constant 15360
58              20:15(float16_t) Constant 16384
59              22:15(float16_t) Constant 16896
60           23(N):      7(int) SpecConstant 3
61              24:             TypeCooperativeVectorNV 15(float16_t) 23(N)
62              25:             TypePointer Function 24
63              27:          24 ConstantCompositeReplicateEXT 18
64              32:          24 ConstantComposite 18 20 22
65              40:             TypeCooperativeVectorNV 6(float) 23(N)
66              41:             TypePointer Function 40
67              43:    6(float) Constant 1065353216
68              44:          40 ConstantCompositeReplicateEXT 43
69              45:    6(float) Constant 1073741824
70              48:             TypeCooperativeVectorNV 7(int) 23(N)
71              49:             TypePointer Function 48
72              51:      7(int) Constant 1
73              52:          48 ConstantCompositeReplicateEXT 51
74              53:      7(int) Constant 2
75              97:             TypeInt 32 1
76              98:             TypeCooperativeVectorNV 97(int) 51
77              99:             TypePointer Function 98
78             102:             TypeInt 8 0
79             103:             TypeCooperativeVectorNV 102(int8_t) 51
80             104:             TypeInt 8 1
81             105:             TypeCooperativeVectorNV 104(int8_t) 51
82             108:             TypeCooperativeVectorNV 97(int) 8
83             109:             TypePointer Function 108
84             112:             TypeCooperativeVectorNV 102(int8_t) 8
85             113:             TypeCooperativeVectorNV 104(int8_t) 8
86             119:             TypeVector 7(int) 3
87             120:      7(int) Constant 64
88             121:  119(ivec3) ConstantComposite 120 51 51
89         4(main):           2 Function None 3
90               5:             Label
91          17(f1):     16(ptr) Variable Function
92          19(f2):     16(ptr) Variable Function
93          21(f3):     16(ptr) Variable Function
94           26(v):     25(ptr) Variable Function
95          28(v2):     25(ptr) Variable Function
96          31(v3):     25(ptr) Variable Function
97          33(v4):     25(ptr) Variable Function
98          38(v5):     25(ptr) Variable Function
99          39(v6):     25(ptr) Variable Function
100          42(v7):     41(ptr) Variable Function
101          50(v8):     49(ptr) Variable Function
102          57(v9):     49(ptr) Variable Function
103         61(v10):     49(ptr) Variable Function
104        100(v11):     99(ptr) Variable Function
105        110(v12):    109(ptr) Variable Function
106        116(v13):     10(ptr) Variable Function
107                              Store 17(f1) 18
108                              Store 19(f2) 20
109                              Store 21(f3) 22
110                              Store 26(v) 27
111              29:15(float16_t) Load 19(f2)
112              30:          24 CompositeConstructReplicateEXT 29
113                              Store 28(v2) 30
114                              Store 31(v3) 32
115              34:15(float16_t) Load 17(f1)
116              35:15(float16_t) Load 19(f2)
117              36:15(float16_t) Load 21(f3)
118              37:          24 CompositeConstruct 34 35 36
119                              Store 33(v4) 37
120                              Store 38(v5) 27
121                              Store 39(v6) 32
122                              Store 42(v7) 44
123              46:          40 Load 42(v7)
124              47:          40 VectorTimesScalar 46 45
125                              Store 42(v7) 47
126                              Store 50(v8) 52
127              54:          48 Load 50(v8)
128              55:          48 CompositeConstructReplicateEXT 53
129              56:          48 IMul 54 55
130                              Store 50(v8) 56
131              58:          48 Load 50(v8)
132              59:          48 CompositeConstructReplicateEXT 53
133              60:          48 IMul 58 59
134                              Store 57(v9) 60
135              62:          48 Load 50(v8)
136              63:          48 CompositeConstructReplicateEXT 53
137              64:          48 IMul 62 63
138                              Store 61(v10) 64
139              65:          48 Load 50(v8)
140              66:          48 Load 57(v9)
141              67:          48 BitwiseAnd 65 66
142                              Store 50(v8) 67
143              68:          48 Load 50(v8)
144              69:          48 Load 57(v9)
145              70:          48 BitwiseOr 68 69
146                              Store 50(v8) 70
147              71:          48 Load 50(v8)
148              72:          48 Load 57(v9)
149              73:          48 Not 72
150              74:          48 BitwiseXor 71 73
151                              Store 50(v8) 74
152              75:          48 Load 50(v8)
153              76:          48 Load 57(v9)
154              77:          48 ShiftRightLogical 75 76
155                              Store 50(v8) 77
156              78:          48 Load 50(v8)
157              79:          48 Load 57(v9)
158              80:          48 ShiftLeftLogical 78 79
159                              Store 50(v8) 80
160              81:          48 Load 57(v9)
161              82:          48 Load 50(v8)
162              83:          48 BitwiseAnd 82 81
163                              Store 50(v8) 83
164              84:          48 Load 57(v9)
165              85:          48 Load 50(v8)
166              86:          48 BitwiseOr 85 84
167                              Store 50(v8) 86
168              87:          48 Load 57(v9)
169              88:          48 Load 50(v8)
170              89:          48 BitwiseXor 88 87
171                              Store 50(v8) 89
172              90:          48 Load 57(v9)
173              91:          48 Load 50(v8)
174              92:          48 ShiftRightLogical 91 90
175                              Store 50(v8) 92
176              93:          48 Load 57(v9)
177              94:          48 Load 50(v8)
178              95:          48 ShiftLeftLogical 94 93
179                              Store 50(v8) 95
180              96:          24 Load 26(v)
181                              Store 26(v) 96
182             101:          98 Load 100(v11)
183             106:         105 SConvert 101
184             107:         103 Bitcast 106
185             111:         108 Load 110(v12)
186             114:         113 SConvert 111
187             115:         112 Bitcast 114
188             117:           9 Load 116(v13)
189             118:         113 ConvertFToS 117
190                              Return
191                              FunctionEnd
19213(foo(coopvecf1<4>;):           2 Function None 11
193           12(v):     10(ptr) FunctionParameter
194              14:             Label
195                              Return
196                              FunctionEnd