1spv.1.3.coopmat.comp 2// Module Version 10300 3// Generated by (magic number): 8000a 4// Id's are bound by 52 5 6 Capability Shader 7 Capability VariablePointers 8 Capability VulkanMemoryModelKHR 9 Capability CooperativeMatrixNV 10 Extension "SPV_KHR_vulkan_memory_model" 11 Extension "SPV_NV_cooperative_matrix" 12 1: ExtInstImport "GLSL.std.450" 13 MemoryModel Logical VulkanKHR 14 EntryPoint GLCompute 4 "main" 15 ExecutionMode 4 LocalSize 64 1 1 16 Source GLSL 450 17 SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16" 18 SourceExtension "GL_KHR_memory_scope_semantics" 19 SourceExtension "GL_NV_cooperative_matrix" 20 Name 4 "main" 21 Name 13 "m" 22 Name 29 "tempArg" 23 Name 33 "Block" 24 MemberName 33(Block) 0 "y" 25 MemberName 33(Block) 1 "x" 26 Name 35 "block" 27 Decorate 31 ArrayStride 4 28 Decorate 32 ArrayStride 4 29 MemberDecorate 33(Block) 0 Offset 0 30 MemberDecorate 33(Block) 1 Offset 4194304 31 Decorate 33(Block) Block 32 Decorate 35(block) DescriptorSet 0 33 Decorate 35(block) Binding 0 34 Decorate 51 BuiltIn WorkgroupSize 35 2: TypeVoid 36 3: TypeFunction 2 37 6: TypeFloat 32 38 7: TypeInt 32 0 39 8: 7(int) Constant 3 40 9: 7(int) Constant 16 41 10: 7(int) Constant 8 42 11: TypeCooperativeMatrixNV 6(float) 8 9 10 43 12: TypePointer Function 11 44 14: 6(float) Constant 0 45 15: 11 ConstantComposite 14 46 24: 6(float) Constant 1073741824 47 30: 7(int) Constant 1048576 48 31: TypeArray 6(float) 30 49 32: TypeRuntimeArray 6(float) 50 33(Block): TypeStruct 31 32 51 34: TypePointer StorageBuffer 33(Block) 52 35(block): 34(ptr) Variable StorageBuffer 53 36: TypeInt 32 1 54 37: 36(int) Constant 1 55 38: 7(int) Constant 5 56 39: TypePointer StorageBuffer 6(float) 57 41: 7(int) Constant 128 58 42: TypeBool 59 43: 42(bool) ConstantFalse 60 48: TypeVector 7(int) 3 61 49: 7(int) Constant 64 62 50: 7(int) Constant 1 63 51: 48(ivec3) ConstantComposite 49 50 50 64 4(main): 2 Function None 3 65 5: Label 66 13(m): 12(ptr) Variable Function 67 29(tempArg): 12(ptr) Variable Function 68 Store 13(m) 15 69 16: 11 Load 13(m) 70 17: 11 Load 13(m) 71 18: 11 FAdd 16 17 72 Store 13(m) 18 73 19: 11 Load 13(m) 74 20: 11 Load 13(m) 75 21: 11 FSub 19 20 76 Store 13(m) 21 77 22: 11 Load 13(m) 78 23: 11 FNegate 22 79 Store 13(m) 23 80 25: 11 Load 13(m) 81 26: 11 MatrixTimesScalar 25 24 82 Store 13(m) 26 83 27: 11 Load 13(m) 84 28: 11 MatrixTimesScalar 27 24 85 Store 13(m) 28 86 40: 39(ptr) AccessChain 35(block) 37 9 87 44: 11 CooperativeMatrixLoadNV 40 41 43 MakePointerVisibleKHR NonPrivatePointerKHR 38 88 Store 29(tempArg) 44 89 45: 11 Load 29(tempArg) 90 Store 13(m) 45 91 46: 11 Load 13(m) 92 47: 39(ptr) AccessChain 35(block) 37 9 93 CooperativeMatrixStoreNV 47 46 41 43 MakePointerAvailableKHR NonPrivatePointerKHR 38 94 Return 95 FunctionEnd 96