xemu/subprojects/glslang/Test/baseResults/spv.tensorARM.array.comp.out

48 lines
2.1 KiB
Plaintext

spv.tensorARM.array.comp
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 27
Capability Shader
Capability TensorsARM
Extension "SPV_ARM_tensors"
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"
Name 4 "main"
Name 8 "x"
Name 14 "ta"
Decorate 14(ta) Binding 0
Decorate 14(ta) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 0
7: TypePointer Function 6(int)
9: TypeInt 32 1
10: 6(int) Constant 2
11: TypeTensorARM 9(int) 10
12: TypeArray 11 10
13: TypePointer UniformConstant 12
14(ta): 13(ptr) Variable UniformConstant
15: 9(int) Constant 0
16: TypePointer UniformConstant 11
19: 6(int) Constant 0
21: 9(int) Constant 1
24: 6(int) Constant 1
4(main): 2 Function None 3
5: Label
8(x): 7(ptr) Variable Function
17: 16(ptr) AccessChain 14(ta) 15
18: 11 Load 17
20: 6(int) TensorQuerySizeARM 18 19
22: 16(ptr) AccessChain 14(ta) 21
23: 11 Load 22
25: 6(int) TensorQuerySizeARM 23 24
26: 6(int) IAdd 20 25
Store 8(x) 26
Return
FunctionEnd