yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
be201bfb
main
1spv.coopvecloadstore.comp 2// Module Version 10300 3// Generated by (magic number): 8000b 4// Id's are bound by 79 5 6 Capability Shader 7 Capability Float16 8 Capability Int64 9 Capability StorageUniformBufferBlock16 10 Capability VulkanMemoryModelKHR 11 Capability PhysicalStorageBufferAddressesEXT 12 Capability CooperativeVectorNV 13 Extension "SPV_KHR_physical_storage_buffer" 14 Extension "SPV_KHR_vulkan_memory_model" 15 Extension "SPV_NV_cooperative_vector" 16 1: ExtInstImport "GLSL.std.450" 17 MemoryModel PhysicalStorageBuffer64EXT VulkanKHR 18 EntryPoint GLCompute 4 "main" 19 ExecutionMode 4 LocalSize 64 1 1 20 Source GLSL 450 21 SourceExtension "GL_EXT_buffer_reference" 22 SourceExtension "GL_EXT_nonuniform_qualifier" 23 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" 24 SourceExtension "GL_KHR_memory_scope_semantics" 25 SourceExtension "GL_NV_cooperative_vector" 26 Name 4 "main" 27 Name 11 "tempArg" 28 Name 15 "MatrixBuf" 29 MemberName 15(MatrixBuf) 0 "matrixData" 30 Name 17 "matrixBuf" 31 Name 24 "v" 32 Name 29 "tempArg" 33 Name 32 "MatrixBuf2" 34 MemberName 32(MatrixBuf2) 0 "matrixData" 35 Name 34 "matrixBuf2" 36 Name 41 "tempArg" 37 Name 43 "MatrixBuf3" 38 MemberName 43(MatrixBuf3) 0 "matrixData" 39 Name 45 "matrixBuf3" 40 Name 52 "tempArg" 41 Name 55 "MatrixBuf4" 42 MemberName 55(MatrixBuf4) 0 "matrixData" 43 Name 57 "matrixBuf4" 44 Name 66 "tempArg" 45 Name 70 "matrixShmem" 46 Decorate 14 ArrayStride 32 47 Decorate 15(MatrixBuf) Block 48 MemberDecorate 15(MatrixBuf) 0 Offset 0 49 Decorate 17(matrixBuf) Binding 0 50 Decorate 17(matrixBuf) DescriptorSet 0 51 Decorate 31 ArrayStride 2 52 Decorate 32(MatrixBuf2) Block 53 MemberDecorate 32(MatrixBuf2) 0 Offset 0 54 Decorate 34(matrixBuf2) Binding 0 55 Decorate 34(matrixBuf2) DescriptorSet 0 56 Decorate 42 ArrayStride 4 57 Decorate 43(MatrixBuf3) Block 58 MemberDecorate 43(MatrixBuf3) 0 Offset 0 59 Decorate 45(matrixBuf3) Binding 0 60 Decorate 45(matrixBuf3) DescriptorSet 0 61 Decorate 54 ArrayStride 2 62 Decorate 55(MatrixBuf4) Block 63 MemberDecorate 55(MatrixBuf4) 0 Offset 0 64 Decorate 57(matrixBuf4) DecorationAliasedPointerEXT 65 Decorate 78 BuiltIn WorkgroupSize 66 2: TypeVoid 67 3: TypeFunction 2 68 6: TypeFloat 32 69 7: TypeInt 32 0 70 8: 7(int) Constant 5 71 9: TypeCooperativeVectorNV 6(float) 8 72 10: TypePointer Function 9 73 12: TypeInt 64 0 74 13: TypeVector 12(int64_t) 3 75 14: TypeRuntimeArray 13(i64vec3) 76 15(MatrixBuf): TypeStruct 14 77 16: TypePointer StorageBuffer 15(MatrixBuf) 78 17(matrixBuf): 16(ptr) Variable StorageBuffer 79 18: TypeInt 32 1 80 19: 18(int) Constant 0 81 20: TypePointer StorageBuffer 14 82 22: 7(int) Constant 128 83 28: 7(int) Constant 144 84 30: TypeFloat 16 85 31: TypeRuntimeArray 30(float16_t) 86 32(MatrixBuf2): TypeStruct 31 87 33: TypePointer StorageBuffer 32(MatrixBuf2) 88 34(matrixBuf2): 33(ptr) Variable StorageBuffer 89 35: TypePointer StorageBuffer 31 90 42: TypeRuntimeArray 6(float) 91 43(MatrixBuf3): TypeStruct 42 92 44: TypePointer StorageBuffer 43(MatrixBuf3) 93 45(matrixBuf3): 44(ptr) Variable StorageBuffer 94 46: TypePointer StorageBuffer 42 95 TypeForwardPointer 53 PhysicalStorageBufferEXT 96 54: TypeRuntimeArray 30(float16_t) 97 55(MatrixBuf4): TypeStruct 54 98 53: TypePointer PhysicalStorageBufferEXT 55(MatrixBuf4) 99 56: TypePointer Function 53(ptr) 100 59: TypePointer PhysicalStorageBufferEXT 54 101 67: 7(int) Constant 100 102 68: TypeArray 7(int) 67 103 69: TypePointer Workgroup 68 104 70(matrixShmem): 69(ptr) Variable Workgroup 105 71: 7(int) Constant 2 106 75: TypeVector 7(int) 3 107 76: 7(int) Constant 64 108 77: 7(int) Constant 1 109 78: 75(ivec3) ConstantComposite 76 77 77 110 4(main): 2 Function None 3 111 5: Label 112 11(tempArg): 10(ptr) Variable Function 113 24(v): 10(ptr) Variable Function 114 29(tempArg): 10(ptr) Variable Function 115 41(tempArg): 10(ptr) Variable Function 116 52(tempArg): 10(ptr) Variable Function 117 57(matrixBuf4): 56(ptr) Variable Function 118 66(tempArg): 10(ptr) Variable Function 119 21: 20(ptr) AccessChain 17(matrixBuf) 19 120 23: 9 CooperativeVectorLoadNV 21 22 None 121 Store 11(tempArg) 23 122 25: 9 Load 11(tempArg) 123 Store 24(v) 25 124 26: 9 Load 24(v) 125 27: 20(ptr) AccessChain 17(matrixBuf) 19 126 CooperativeVectorStoreNV 27 28 26 None 127 36: 35(ptr) AccessChain 34(matrixBuf2) 19 128 37: 9 CooperativeVectorLoadNV 36 22 MakePointerVisibleKHR NonPrivatePointerKHR 8 129 Store 29(tempArg) 37 130 38: 9 Load 29(tempArg) 131 Store 24(v) 38 132 39: 9 Load 24(v) 133 40: 35(ptr) AccessChain 34(matrixBuf2) 19 134 CooperativeVectorStoreNV 40 28 39 MakePointerAvailableKHR NonPrivatePointerKHR 8 135 47: 46(ptr) AccessChain 45(matrixBuf3) 19 136 48: 9 CooperativeVectorLoadNV 47 22 Volatile MakePointerVisibleKHR NonPrivatePointerKHR 8 137 Store 41(tempArg) 48 138 49: 9 Load 41(tempArg) 139 Store 24(v) 49 140 50: 9 Load 24(v) 141 51: 46(ptr) AccessChain 45(matrixBuf3) 19 142 CooperativeVectorStoreNV 51 28 50 Volatile MakePointerAvailableKHR NonPrivatePointerKHR 8 143 58: 53(ptr) Load 57(matrixBuf4) 144 60: 59(ptr) AccessChain 58 19 145 61: 9 CooperativeVectorLoadNV 60 22 Aligned MakePointerVisibleKHR NonPrivatePointerKHR 16 8 146 Store 52(tempArg) 61 147 62: 9 Load 52(tempArg) 148 Store 24(v) 62 149 63: 9 Load 24(v) 150 64: 53(ptr) Load 57(matrixBuf4) 151 65: 59(ptr) AccessChain 64 19 152 CooperativeVectorStoreNV 65 28 63 Aligned MakePointerAvailableKHR NonPrivatePointerKHR 16 8 153 72: 9 CooperativeVectorLoadNV 70(matrixShmem) 22 MakePointerVisibleKHR NonPrivatePointerKHR 71 154 Store 66(tempArg) 72 155 73: 9 Load 66(tempArg) 156 Store 24(v) 73 157 74: 9 Load 24(v) 158 CooperativeVectorStoreNV 70(matrixShmem) 28 74 MakePointerAvailableKHR NonPrivatePointerKHR 71 159 Return 160 FunctionEnd