| spv.1.3.coopmat.comp |
| // Module Version 10300 |
| // Generated by (magic number): 80008 |
| // Id's are bound by 52 |
| |
| Capability Shader |
| Capability VariablePointers |
| Capability VulkanMemoryModelKHR |
| Capability CooperativeMatrixNV |
| Extension "SPV_KHR_vulkan_memory_model" |
| Extension "SPV_NV_cooperative_matrix" |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical VulkanKHR |
| EntryPoint GLCompute 4 "main" |
| ExecutionMode 4 LocalSize 64 1 1 |
| Source GLSL 450 |
| SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16" |
| SourceExtension "GL_KHR_memory_scope_semantics" |
| SourceExtension "GL_NV_cooperative_matrix" |
| Name 4 "main" |
| Name 13 "m" |
| Name 29 "tempArg" |
| Name 33 "Block" |
| MemberName 33(Block) 0 "y" |
| MemberName 33(Block) 1 "x" |
| Name 35 "block" |
| Decorate 31 ArrayStride 4 |
| Decorate 32 ArrayStride 4 |
| MemberDecorate 33(Block) 0 Offset 0 |
| MemberDecorate 33(Block) 1 Offset 4194304 |
| Decorate 33(Block) Block |
| Decorate 35(block) DescriptorSet 0 |
| Decorate 35(block) Binding 0 |
| Decorate 51 BuiltIn WorkgroupSize |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeFloat 32 |
| 7: TypeInt 32 0 |
| 8: 7(int) Constant 3 |
| 9: 7(int) Constant 16 |
| 10: 7(int) Constant 8 |
| 11: TypeCooperativeMatrixNV 6(float) 8 9 10 |
| 12: TypePointer Function 11 |
| 14: 6(float) Constant 0 |
| 15: 11 ConstantComposite 14 |
| 24: 6(float) Constant 1073741824 |
| 30: 7(int) Constant 1048576 |
| 31: TypeArray 6(float) 30 |
| 32: TypeRuntimeArray 6(float) |
| 33(Block): TypeStruct 31 32 |
| 34: TypePointer StorageBuffer 33(Block) |
| 35(block): 34(ptr) Variable StorageBuffer |
| 36: TypeInt 32 1 |
| 37: 36(int) Constant 1 |
| 38: 7(int) Constant 5 |
| 39: TypePointer StorageBuffer 6(float) |
| 41: 7(int) Constant 128 |
| 42: TypeBool |
| 43: 42(bool) ConstantFalse |
| 48: TypeVector 7(int) 3 |
| 49: 7(int) Constant 64 |
| 50: 7(int) Constant 1 |
| 51: 48(ivec3) ConstantComposite 49 50 50 |
| 4(main): 2 Function None 3 |
| 5: Label |
| 13(m): 12(ptr) Variable Function |
| 29(tempArg): 12(ptr) Variable Function |
| Store 13(m) 15 |
| 16: 11 Load 13(m) |
| 17: 11 Load 13(m) |
| 18: 11 FAdd 16 17 |
| Store 13(m) 18 |
| 19: 11 Load 13(m) |
| 20: 11 Load 13(m) |
| 21: 11 FSub 19 20 |
| Store 13(m) 21 |
| 22: 11 Load 13(m) |
| 23: 11 FNegate 22 |
| Store 13(m) 23 |
| 25: 11 Load 13(m) |
| 26: 11 MatrixTimesScalar 25 24 |
| Store 13(m) 26 |
| 27: 11 Load 13(m) |
| 28: 11 MatrixTimesScalar 27 24 |
| Store 13(m) 28 |
| 40: 39(ptr) AccessChain 35(block) 37 9 |
| 44: 11 CooperativeMatrixLoadNV 40 41 43 MakePointerVisibleKHR NonPrivatePointerKHR 38 |
| Store 29(tempArg) 44 |
| 45: 11 Load 29(tempArg) |
| Store 13(m) 45 |
| 46: 11 Load 13(m) |
| 47: 39(ptr) AccessChain 35(block) 37 9 |
| CooperativeMatrixStoreNV 47 46 41 43 MakePointerAvailableKHR NonPrivatePointerKHR 38 |
| Return |
| FunctionEnd |