| spv.tensorARM.params.comp |
| // Module Version 10000 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 45 |
| |
| 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 14 "unusedTensorParams(Ti1<4>;Ti1<4>;" |
| Name 12 "" |
| Name 13 "" |
| Name 18 "tensorParam(Ti1<4>;" |
| Name 17 "t" |
| Name 21 "qualifiedTensorParam(Ti1<4>;" |
| Name 20 "t" |
| Name 33 "tu" |
| Name 36 "buff" |
| MemberName 36(buff) 0 "out_data" |
| Name 38 "" |
| Decorate 13 NonWritable |
| Decorate 20(t) NonWritable |
| Decorate 33(tu) Binding 0 |
| Decorate 33(tu) DescriptorSet 0 |
| Decorate 35 ArrayStride 4 |
| Decorate 36(buff) Block |
| MemberDecorate 36(buff) 0 Offset 0 |
| Decorate 38 Binding 1 |
| Decorate 38 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: TypeFunction 2 10(ptr) 10(ptr) |
| 16: TypeFunction 7(int) 10(ptr) |
| 25: 7(int) Constant 0 |
| 33(tu): 10(ptr) Variable UniformConstant |
| 35: TypeRuntimeArray 7(int) |
| 36(buff): TypeStruct 35 |
| 37: TypePointer StorageBuffer 36(buff) |
| 38: 37(ptr) Variable StorageBuffer |
| 39: 6(int) Constant 0 |
| 43: TypePointer StorageBuffer 7(int) |
| 4(main): 2 Function None 3 |
| 5: Label |
| 34: 2 FunctionCall 14(unusedTensorParams(Ti1<4>;Ti1<4>;) 33(tu) 33(tu) |
| 40: 7(int) FunctionCall 18(tensorParam(Ti1<4>;) 33(tu) |
| 41: 7(int) FunctionCall 21(qualifiedTensorParam(Ti1<4>;) 33(tu) |
| 42: 7(int) IAdd 40 41 |
| 44: 43(ptr) AccessChain 38 39 39 |
| Store 44 42 |
| Return |
| FunctionEnd |
| 14(unusedTensorParams(Ti1<4>;Ti1<4>;): 2 Function None 11 |
| 12: 10(ptr) FunctionParameter |
| 13: 10(ptr) FunctionParameter |
| 15: Label |
| Return |
| FunctionEnd |
| 18(tensorParam(Ti1<4>;): 7(int) Function None 16 |
| 17(t): 10(ptr) FunctionParameter |
| 19: Label |
| 24: 9 Load 17(t) |
| 26: 7(int) TensorQuerySizeARM 24 25 |
| ReturnValue 26 |
| FunctionEnd |
| 21(qualifiedTensorParam(Ti1<4>;): 7(int) Function None 16 |
| 20(t): 10(ptr) FunctionParameter |
| 22: Label |
| 29: 9 Load 20(t) |
| 30: 7(int) TensorQuerySizeARM 29 25 |
| ReturnValue 30 |
| FunctionEnd |