| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 35 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability VulkanMemoryModel |
| OpCapability VulkanMemoryModelDeviceScope |
| OpCapability CooperativeMatrixKHR |
| OpExtension "SPV_KHR_vulkan_memory_model" |
| OpExtension "SPV_KHR_cooperative_matrix" |
| OpMemoryModel Logical Vulkan |
| OpEntryPoint GLCompute %compute_main "compute_main" |
| OpExecutionMode %compute_main LocalSize 1 1 1 |
| OpMemberName %SB_RW_tint_explicit_layout 0 "arg_0" |
| OpName %SB_RW_tint_explicit_layout "SB_RW_tint_explicit_layout" |
| OpName %sb_rw "sb_rw" |
| OpName %subgroupMatrixStore_3ea76e "subgroupMatrixStore_3ea76e" |
| OpName %compute_main "compute_main" |
| OpDecorate %_runtimearr_int ArrayStride 4 |
| OpMemberDecorate %SB_RW_tint_explicit_layout 0 Offset 0 |
| OpDecorate %SB_RW_tint_explicit_layout Block |
| OpDecorate %sb_rw DescriptorSet 0 |
| OpDecorate %sb_rw Binding 0 |
| %int = OpTypeInt 32 1 |
| %_runtimearr_int = OpTypeRuntimeArray %int |
| %SB_RW_tint_explicit_layout = OpTypeStruct %_runtimearr_int |
| %_ptr_StorageBuffer_SB_RW_tint_explicit_layout = OpTypePointer StorageBuffer %SB_RW_tint_explicit_layout |
| %sb_rw = OpVariable %_ptr_StorageBuffer_SB_RW_tint_explicit_layout StorageBuffer |
| %void = OpTypeVoid |
| %8 = OpTypeFunction %void |
| %_ptr_StorageBuffer__runtimearr_int = OpTypePointer StorageBuffer %_runtimearr_int |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %uint_3 = OpConstant %uint 3 |
| %uint_8 = OpConstant %uint 8 |
| %15 = OpTypeCooperativeMatrixKHR %int %uint_3 %uint_8 %uint_8 %uint_0 |
| %int_0 = OpConstant %int 0 |
| %14 = OpConstantComposite %15 %int_0 |
| %uint_7 = OpConstant %uint 7 |
| %uint_1 = OpConstant %uint 1 |
| %bool = OpTypeBool |
| %_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int |
| %subgroupMatrixStore_3ea76e = OpFunction %void None %8 |
| %9 = OpLabel |
| %10 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %sb_rw %uint_0 |
| %19 = OpArrayLength %uint %sb_rw 0 |
| %20 = OpIMul %uint %uint_8 %uint_7 |
| %22 = OpIAdd %uint %uint_1 %20 |
| %24 = OpIAdd %uint %22 %uint_8 |
| %25 = OpULessThanEqual %bool %24 %19 |
| OpSelectionMerge %27 None |
| OpBranchConditional %25 %28 %27 |
| %28 = OpLabel |
| %29 = OpAccessChain %_ptr_StorageBuffer_int %10 %uint_1 |
| OpCooperativeMatrixStoreKHR %29 %14 %uint_1 %uint_8 NonPrivatePointer |
| OpBranch %27 |
| %27 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %compute_main = OpFunction %void None %8 |
| %33 = OpLabel |
| %34 = OpFunctionCall %void %subgroupMatrixStore_3ea76e |
| OpReturn |
| OpFunctionEnd |