mirror of https://github.com/xemu-project/xemu.git
72 lines
3.4 KiB
Plaintext
72 lines
3.4 KiB
Plaintext
spv.tensorARM.read.comp
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 38
|
|
|
|
Capability Shader
|
|
Capability TensorsARM
|
|
Extension "SPV_ARM_tensors"
|
|
Extension "SPV_KHR_storage_buffer_storage_class"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint GLCompute 4 "main"
|
|
ExecutionMode 4 LocalSize 1 1 1
|
|
Source GLSL 460
|
|
SourceExtension "GL_ARM_tensors"
|
|
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
|
Name 4 "main"
|
|
Name 11 "t"
|
|
Name 19 "one"
|
|
Name 25 "two"
|
|
Name 30 "buff"
|
|
MemberName 30(buff) 0 "out_data"
|
|
Name 32 ""
|
|
Decorate 11(t) Binding 0
|
|
Decorate 11(t) DescriptorSet 0
|
|
Decorate 29 ArrayStride 4
|
|
Decorate 30(buff) Block
|
|
MemberDecorate 30(buff) 0 Offset 0
|
|
Decorate 32 Binding 1
|
|
Decorate 32 DescriptorSet 0
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeInt 32 1
|
|
7: TypeInt 32 0
|
|
8: 7(int) Constant 4
|
|
9: TypeTensorARM 6(int) 8
|
|
10: TypePointer UniformConstant 9
|
|
11(t): 10(ptr) Variable UniformConstant
|
|
13: TypeArray 7(int) 8
|
|
14: 7(int) Constant 1
|
|
15: 7(int) Constant 2
|
|
16: 7(int) Constant 3
|
|
17: 13 ConstantComposite 14 15 16 8
|
|
18: TypePointer Function 6(int)
|
|
20: 6(int) Constant 11
|
|
23: TypeArray 6(int) 15
|
|
24: TypePointer Function 23
|
|
26: 7(int) Constant 0
|
|
29: TypeRuntimeArray 6(int)
|
|
30(buff): TypeStruct 29
|
|
31: TypePointer StorageBuffer 30(buff)
|
|
32: 31(ptr) Variable StorageBuffer
|
|
33: 6(int) Constant 0
|
|
34: 6(int) Constant 1
|
|
35: TypePointer StorageBuffer 6(int)
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
19(one): 18(ptr) Variable Function
|
|
25(two): 24(ptr) Variable Function
|
|
12: 9 Load 11(t)
|
|
21: 6(int) TensorReadARM 12 17 2 20
|
|
Store 19(one) 21
|
|
22: 9 Load 11(t)
|
|
27: 23 TensorReadARM 22 17
|
|
Store 25(two) 27
|
|
28: 9 Load 11(t)
|
|
36: 35(ptr) AccessChain 32 33 34
|
|
37: 6(int) TensorReadARM 28 17
|
|
Store 36 37
|
|
Return
|
|
FunctionEnd
|