| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 71 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability VulkanMemoryModel |
| OpCapability VulkanMemoryModelDeviceScope |
| OpCapability CooperativeMatrixKHR |
| OpCapability Int8 |
| OpExtension "SPV_KHR_vulkan_memory_model" |
| OpExtension "SPV_KHR_cooperative_matrix" |
| OpMemoryModel Logical Vulkan |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 64 1 1 |
| OpMemberName %ibuffer_block_tint_explicit_layout 0 "inner" |
| OpName %ibuffer_block_tint_explicit_layout "ibuffer_block_tint_explicit_layout" |
| OpMemberName %ubuffer_block_tint_explicit_layout 0 "inner" |
| OpName %ubuffer_block_tint_explicit_layout "ubuffer_block_tint_explicit_layout" |
| OpName %main "main" |
| OpDecorate %_runtimearr_int ArrayStride 4 |
| OpMemberDecorate %ibuffer_block_tint_explicit_layout 0 Offset 0 |
| OpDecorate %ibuffer_block_tint_explicit_layout Block |
| OpDecorate %1 DescriptorSet 0 |
| OpDecorate %1 Binding 0 |
| OpDecorate %_runtimearr_uint ArrayStride 4 |
| OpMemberDecorate %ubuffer_block_tint_explicit_layout 0 Offset 0 |
| OpDecorate %ubuffer_block_tint_explicit_layout Block |
| OpDecorate %6 DescriptorSet 0 |
| OpDecorate %6 Binding 1 |
| %int = OpTypeInt 32 1 |
| %_runtimearr_int = OpTypeRuntimeArray %int |
| %ibuffer_block_tint_explicit_layout = OpTypeStruct %_runtimearr_int |
| %_ptr_StorageBuffer_ibuffer_block_tint_explicit_layout = OpTypePointer StorageBuffer %ibuffer_block_tint_explicit_layout |
| %1 = OpVariable %_ptr_StorageBuffer_ibuffer_block_tint_explicit_layout StorageBuffer |
| %uint = OpTypeInt 32 0 |
| %_runtimearr_uint = OpTypeRuntimeArray %uint |
| %ubuffer_block_tint_explicit_layout = OpTypeStruct %_runtimearr_uint |
| %_ptr_StorageBuffer_ubuffer_block_tint_explicit_layout = OpTypePointer StorageBuffer %ubuffer_block_tint_explicit_layout |
| %6 = OpVariable %_ptr_StorageBuffer_ubuffer_block_tint_explicit_layout StorageBuffer |
| %void = OpTypeVoid |
| %13 = OpTypeFunction %void |
| %uint_3 = OpConstant %uint 3 |
| %uint_8 = OpConstant %uint 8 |
| %char = OpTypeInt 8 1 |
| %uint_0 = OpConstant %uint 0 |
| %16 = OpTypeCooperativeMatrixKHR %char %uint_3 %uint_8 %uint_8 %uint_0 |
| %15 = OpConstantNull %16 |
| %_ptr_StorageBuffer__runtimearr_int = OpTypePointer StorageBuffer %_runtimearr_int |
| %uint_450 = OpConstant %uint 450 |
| %bool = OpTypeBool |
| %uint_64 = OpConstant %uint 64 |
| %uint_2 = OpConstant %uint 2 |
| %_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int |
| %uchar = OpTypeInt 8 0 |
| %uint_1 = OpConstant %uint 1 |
| %36 = OpTypeCooperativeMatrixKHR %uchar %uint_3 %uint_8 %uint_8 %uint_1 |
| %35 = OpConstantNull %36 |
| %_ptr_StorageBuffer__runtimearr_uint = OpTypePointer StorageBuffer %_runtimearr_uint |
| %_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint |
| %int_n42 = OpConstant %int -42 |
| %uint_42 = OpConstant %uint 42 |
| %main = OpFunction %void None %13 |
| %14 = OpLabel |
| %21 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %1 %uint_0 |
| %23 = OpArrayLength %uint %1 0 |
| %24 = OpULessThanEqual %bool %uint_450 %23 |
| %27 = OpSelect %uint %24 %uint_0 %uint_0 |
| %28 = OpSelect %uint %24 %uint_64 %uint_2 |
| %31 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %1 %uint_0 |
| %32 = OpAccessChain %_ptr_StorageBuffer_int %31 %27 |
| OpCooperativeMatrixStoreKHR %32 %15 %uint_0 %28 NonPrivatePointer |
| %39 = OpAccessChain %_ptr_StorageBuffer__runtimearr_uint %6 %uint_0 |
| %41 = OpArrayLength %uint %6 0 |
| %42 = OpULessThanEqual %bool %uint_450 %41 |
| %43 = OpSelect %uint %42 %uint_0 %uint_0 |
| %44 = OpSelect %uint %42 %uint_64 %uint_2 |
| %45 = OpAccessChain %_ptr_StorageBuffer__runtimearr_uint %6 %uint_0 |
| %46 = OpAccessChain %_ptr_StorageBuffer_uint %45 %43 |
| OpCooperativeMatrixStoreKHR %46 %35 %uint_0 %44 NonPrivatePointer |
| %49 = OpSConvert %char %int_n42 |
| %51 = OpCompositeConstruct %16 %49 |
| %52 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %1 %uint_0 |
| %53 = OpArrayLength %uint %1 0 |
| %54 = OpULessThanEqual %bool %uint_450 %53 |
| %55 = OpSelect %uint %54 %uint_0 %uint_0 |
| %56 = OpSelect %uint %54 %uint_64 %uint_2 |
| %57 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %1 %uint_0 |
| %58 = OpAccessChain %_ptr_StorageBuffer_int %57 %55 |
| OpCooperativeMatrixStoreKHR %58 %51 %uint_0 %56 NonPrivatePointer |
| %60 = OpUConvert %uchar %uint_42 |
| %62 = OpCompositeConstruct %36 %60 |
| %63 = OpAccessChain %_ptr_StorageBuffer__runtimearr_uint %6 %uint_0 |
| %64 = OpArrayLength %uint %6 0 |
| %65 = OpULessThanEqual %bool %uint_450 %64 |
| %66 = OpSelect %uint %65 %uint_0 %uint_0 |
| %67 = OpSelect %uint %65 %uint_64 %uint_2 |
| %68 = OpAccessChain %_ptr_StorageBuffer__runtimearr_uint %6 %uint_0 |
| %69 = OpAccessChain %_ptr_StorageBuffer_uint %68 %66 |
| OpCooperativeMatrixStoreKHR %69 %62 %uint_0 %67 NonPrivatePointer |
| OpReturn |
| OpFunctionEnd |