yum-mirror/glslang

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

Sven van HaastregtAdd GL_ARM_tensorse9d166cd

main
3.3 KiB71 linesraw
1spv.tensorARM.size.comp
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 41
5
6                              Capability Shader
7                              Capability TensorsARM
8                              Extension  "SPV_ARM_tensors"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint GLCompute 4  "main"
12                              ExecutionMode 4 LocalSize 1 1 1
13                              Source GLSL 460
14                              SourceExtension  "GL_ARM_tensors"
15                              Name 4  "main"
16                              Name 8  "x"
17                              Name 14  "rank1"
18                              Name 23  "rank2"
19                              Name 35  "rank4"
20                              Decorate 14(rank1) Binding 0
21                              Decorate 14(rank1) DescriptorSet 0
22                              Decorate 23(rank2) Binding 1
23                              Decorate 23(rank2) DescriptorSet 0
24                              Decorate 35(rank4) Binding 2
25                              Decorate 35(rank4) DescriptorSet 0
26               2:             TypeVoid
27               3:             TypeFunction 2
28               6:             TypeInt 32 0
29               7:             TypePointer Private 6(int)
30            8(x):      7(ptr) Variable Private
31               9:      6(int) Constant 0
32              10:             TypeInt 32 1
33              11:      6(int) Constant 1
34              12:             TypeTensorARM 10(int) 11
35              13:             TypePointer UniformConstant 12
36       14(rank1):     13(ptr) Variable UniformConstant
37              19:             TypeFloat 32
38              20:      6(int) Constant 2
39              21:             TypeTensorARM 19(float) 20
40              22:             TypePointer UniformConstant 21
41       23(rank2):     22(ptr) Variable UniformConstant
42              32:      6(int) Constant 4
43              33:             TypeTensorARM 6(int) 32
44              34:             TypePointer UniformConstant 33
45       35(rank4):     34(ptr) Variable UniformConstant
46              37:      6(int) Constant 3
47         4(main):           2 Function None 3
48               5:             Label
49                              Store 8(x) 9
50              15:          12 Load 14(rank1)
51              16:      6(int) TensorQuerySizeARM 15 9
52              17:      6(int) Load 8(x)
53              18:      6(int) IAdd 17 16
54                              Store 8(x) 18
55              24:          21 Load 23(rank2)
56              25:      6(int) TensorQuerySizeARM 24 9
57              26:      6(int) Load 8(x)
58              27:      6(int) IAdd 26 25
59                              Store 8(x) 27
60              28:          21 Load 23(rank2)
61              29:      6(int) TensorQuerySizeARM 28 11
62              30:      6(int) Load 8(x)
63              31:      6(int) IAdd 30 29
64                              Store 8(x) 31
65              36:          33 Load 35(rank4)
66              38:      6(int) TensorQuerySizeARM 36 37
67              39:      6(int) Load 8(x)
68              40:      6(int) IAdd 39 38
69                              Store 8(x) 40
70                              Return
71                              FunctionEnd