yum-mirror/glslang

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

Sven van HaastregtAdd GL_ARM_tensorse9d166cd

main
2.1 KiB47 linesraw
1spv.tensorARM.array.comp
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 27
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  "ta"
18                              Decorate 14(ta) Binding 0
19                              Decorate 14(ta) DescriptorSet 0
20               2:             TypeVoid
21               3:             TypeFunction 2
22               6:             TypeInt 32 0
23               7:             TypePointer Function 6(int)
24               9:             TypeInt 32 1
25              10:      6(int) Constant 2
26              11:             TypeTensorARM 9(int) 10
27              12:             TypeArray 11 10
28              13:             TypePointer UniformConstant 12
29          14(ta):     13(ptr) Variable UniformConstant
30              15:      9(int) Constant 0
31              16:             TypePointer UniformConstant 11
32              19:      6(int) Constant 0
33              21:      9(int) Constant 1
34              24:      6(int) Constant 1
35         4(main):           2 Function None 3
36               5:             Label
37            8(x):      7(ptr) Variable Function
38              17:     16(ptr) AccessChain 14(ta) 15
39              18:          11 Load 17
40              20:      6(int) TensorQuerySizeARM 18 19
41              22:     16(ptr) AccessChain 14(ta) 21
42              23:          11 Load 22
43              25:      6(int) TensorQuerySizeARM 23 24
44              26:      6(int) IAdd 20 25
45                              Store 8(x) 26
46                              Return
47                              FunctionEnd