| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 197 |
| ; 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 %main "main" |
| OpExecutionMode %main LocalSize 64 1 1 |
| OpMemberName %buffer_block_tint_explicit_layout 0 "inner" |
| OpName %buffer_block_tint_explicit_layout "buffer_block_tint_explicit_layout" |
| OpName %main "main" |
| OpMemberName %S 0 "l" |
| OpMemberName %S 1 "r" |
| OpName %S "S" |
| OpMemberName %S_Nested 0 "s" |
| OpName %S_Nested "S_Nested" |
| OpDecorate %_runtimearr_float ArrayStride 4 |
| OpMemberDecorate %buffer_block_tint_explicit_layout 0 Offset 0 |
| OpDecorate %buffer_block_tint_explicit_layout Block |
| OpDecorate %1 DescriptorSet 0 |
| OpDecorate %1 Binding 0 |
| %float = OpTypeFloat 32 |
| %_runtimearr_float = OpTypeRuntimeArray %float |
| %buffer_block_tint_explicit_layout = OpTypeStruct %_runtimearr_float |
| %_ptr_StorageBuffer_buffer_block_tint_explicit_layout = OpTypePointer StorageBuffer %buffer_block_tint_explicit_layout |
| %1 = OpVariable %_ptr_StorageBuffer_buffer_block_tint_explicit_layout StorageBuffer |
| %void = OpTypeVoid |
| %8 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %uint_3 = OpConstant %uint 3 |
| %uint_8 = OpConstant %uint 8 |
| %uint_0 = OpConstant %uint 0 |
| %11 = OpTypeCooperativeMatrixKHR %float %uint_3 %uint_8 %uint_8 %uint_0 |
| %10 = OpConstantNull %11 |
| %_ptr_StorageBuffer__runtimearr_float = OpTypePointer StorageBuffer %_runtimearr_float |
| %int = OpTypeInt 32 1 |
| %int_0 = OpConstant %int 0 |
| %int_64 = OpConstant %int 64 |
| %uint_7 = OpConstant %uint 7 |
| %bool = OpTypeBool |
| %_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float |
| %uint_4 = OpConstant %uint 4 |
| %_arr_11_uint_4 = OpTypeArray %11 %uint_4 |
| %36 = OpConstantNull %_arr_11_uint_4 |
| %_arr__arr_11_uint_4_uint_4 = OpTypeArray %_arr_11_uint_4 %uint_4 |
| %53 = OpConstantNull %_arr__arr_11_uint_4_uint_4 |
| %uint_1 = OpConstant %uint 1 |
| %71 = OpTypeCooperativeMatrixKHR %float %uint_3 %uint_8 %uint_8 %uint_1 |
| %S = OpTypeStruct %11 %71 |
| %69 = OpConstantNull %S |
| %S_Nested = OpTypeStruct %S |
| %87 = OpConstantNull %S_Nested |
| %float_42 = OpConstant %float 42 |
| %float_100 = OpConstant %float 100 |
| %uint_2 = OpConstant %uint 2 |
| %_arr_11_uint_2 = OpTypeArray %11 %uint_2 |
| %float_n7 = OpConstant %float -7 |
| %float_n42 = OpConstant %float -42 |
| %_arr__arr_11_uint_2_uint_2 = OpTypeArray %_arr_11_uint_2 %uint_2 |
| %main = OpFunction %void None %8 |
| %9 = OpLabel |
| %16 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %18 = OpArrayLength %uint %1 0 |
| %19 = OpBitcast %uint %int_0 |
| %22 = OpBitcast %uint %int_64 |
| %24 = OpIMul %uint %22 %uint_7 |
| %26 = OpIAdd %uint %19 %24 |
| %27 = OpIAdd %uint %26 %uint_8 |
| %28 = OpULessThanEqual %bool %27 %18 |
| %30 = OpSelect %uint %28 %19 %uint_0 |
| %31 = OpSelect %uint %28 %22 %uint_8 |
| %32 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %33 = OpAccessChain %_ptr_StorageBuffer_float %32 %30 |
| OpCooperativeMatrixStoreKHR %33 %10 %uint_0 %31 NonPrivatePointer |
| %39 = OpCompositeExtract %11 %36 1 |
| %40 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %41 = OpArrayLength %uint %1 0 |
| %42 = OpBitcast %uint %int_0 |
| %43 = OpBitcast %uint %int_64 |
| %44 = OpIMul %uint %43 %uint_7 |
| %45 = OpIAdd %uint %42 %44 |
| %46 = OpIAdd %uint %45 %uint_8 |
| %47 = OpULessThanEqual %bool %46 %41 |
| %48 = OpSelect %uint %47 %42 %uint_0 |
| %49 = OpSelect %uint %47 %43 %uint_8 |
| %50 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %51 = OpAccessChain %_ptr_StorageBuffer_float %50 %48 |
| OpCooperativeMatrixStoreKHR %51 %39 %uint_0 %49 NonPrivatePointer |
| %55 = OpCompositeExtract %11 %53 2 3 |
| %56 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %57 = OpArrayLength %uint %1 0 |
| %58 = OpBitcast %uint %int_0 |
| %59 = OpBitcast %uint %int_64 |
| %60 = OpIMul %uint %59 %uint_7 |
| %61 = OpIAdd %uint %58 %60 |
| %62 = OpIAdd %uint %61 %uint_8 |
| %63 = OpULessThanEqual %bool %62 %57 |
| %64 = OpSelect %uint %63 %58 %uint_0 |
| %65 = OpSelect %uint %63 %59 %uint_8 |
| %66 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %67 = OpAccessChain %_ptr_StorageBuffer_float %66 %64 |
| OpCooperativeMatrixStoreKHR %67 %55 %uint_0 %65 NonPrivatePointer |
| %73 = OpCompositeExtract %11 %69 0 |
| %74 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %75 = OpArrayLength %uint %1 0 |
| %76 = OpBitcast %uint %int_0 |
| %77 = OpBitcast %uint %int_64 |
| %78 = OpIMul %uint %77 %uint_7 |
| %79 = OpIAdd %uint %76 %78 |
| %80 = OpIAdd %uint %79 %uint_8 |
| %81 = OpULessThanEqual %bool %80 %75 |
| %82 = OpSelect %uint %81 %76 %uint_0 |
| %83 = OpSelect %uint %81 %77 %uint_8 |
| %84 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %85 = OpAccessChain %_ptr_StorageBuffer_float %84 %82 |
| OpCooperativeMatrixStoreKHR %85 %73 %uint_0 %83 NonPrivatePointer |
| %89 = OpCompositeExtract %71 %87 0 1 |
| %90 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %91 = OpArrayLength %uint %1 0 |
| %92 = OpBitcast %uint %int_0 |
| %93 = OpBitcast %uint %int_64 |
| %94 = OpIMul %uint %93 %uint_7 |
| %95 = OpIAdd %uint %92 %94 |
| %96 = OpIAdd %uint %95 %uint_8 |
| %97 = OpULessThanEqual %bool %96 %91 |
| %98 = OpSelect %uint %97 %92 %uint_0 |
| %99 = OpSelect %uint %97 %93 %uint_8 |
| %100 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %101 = OpAccessChain %_ptr_StorageBuffer_float %100 %98 |
| OpCooperativeMatrixStoreKHR %101 %89 %uint_0 %99 NonPrivatePointer |
| %103 = OpCompositeConstruct %11 %float_42 |
| %105 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %106 = OpArrayLength %uint %1 0 |
| %107 = OpBitcast %uint %int_0 |
| %108 = OpBitcast %uint %int_64 |
| %109 = OpIMul %uint %108 %uint_7 |
| %110 = OpIAdd %uint %107 %109 |
| %111 = OpIAdd %uint %110 %uint_8 |
| %112 = OpULessThanEqual %bool %111 %106 |
| %113 = OpSelect %uint %112 %107 %uint_0 |
| %114 = OpSelect %uint %112 %108 %uint_8 |
| %115 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %116 = OpAccessChain %_ptr_StorageBuffer_float %115 %113 |
| OpCooperativeMatrixStoreKHR %116 %103 %uint_0 %114 NonPrivatePointer |
| %118 = OpCompositeConstruct %11 %float_42 |
| %119 = OpCompositeConstruct %11 %float_100 |
| %123 = OpCompositeConstruct %_arr_11_uint_2 %118 %119 |
| %124 = OpCompositeExtract %11 %123 1 |
| %125 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %126 = OpArrayLength %uint %1 0 |
| %127 = OpBitcast %uint %int_0 |
| %128 = OpBitcast %uint %int_64 |
| %129 = OpIMul %uint %128 %uint_7 |
| %130 = OpIAdd %uint %127 %129 |
| %131 = OpIAdd %uint %130 %uint_8 |
| %132 = OpULessThanEqual %bool %131 %126 |
| %133 = OpSelect %uint %132 %127 %uint_0 |
| %134 = OpSelect %uint %132 %128 %uint_8 |
| %135 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %136 = OpAccessChain %_ptr_StorageBuffer_float %135 %133 |
| OpCooperativeMatrixStoreKHR %136 %124 %uint_0 %134 NonPrivatePointer |
| %138 = OpCompositeConstruct %11 %float_42 |
| %139 = OpCompositeConstruct %11 %float_100 |
| %140 = OpCompositeConstruct %_arr_11_uint_2 %138 %139 |
| %141 = OpCompositeConstruct %11 %float_n7 |
| %143 = OpCompositeConstruct %11 %float_n42 |
| %145 = OpCompositeConstruct %_arr_11_uint_2 %141 %143 |
| %147 = OpCompositeConstruct %_arr__arr_11_uint_2_uint_2 %140 %145 |
| %148 = OpCompositeExtract %11 %147 1 0 |
| %149 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %150 = OpArrayLength %uint %1 0 |
| %151 = OpBitcast %uint %int_0 |
| %152 = OpBitcast %uint %int_64 |
| %153 = OpIMul %uint %152 %uint_7 |
| %154 = OpIAdd %uint %151 %153 |
| %155 = OpIAdd %uint %154 %uint_8 |
| %156 = OpULessThanEqual %bool %155 %150 |
| %157 = OpSelect %uint %156 %151 %uint_0 |
| %158 = OpSelect %uint %156 %152 %uint_8 |
| %159 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %160 = OpAccessChain %_ptr_StorageBuffer_float %159 %157 |
| OpCooperativeMatrixStoreKHR %160 %148 %uint_0 %158 NonPrivatePointer |
| %162 = OpCompositeConstruct %11 %float_42 |
| %163 = OpCompositeConstruct %71 %float_100 |
| %164 = OpCompositeConstruct %S %162 %163 |
| %165 = OpCompositeExtract %11 %164 0 |
| %166 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %167 = OpArrayLength %uint %1 0 |
| %168 = OpBitcast %uint %int_0 |
| %169 = OpBitcast %uint %int_64 |
| %170 = OpIMul %uint %169 %uint_7 |
| %171 = OpIAdd %uint %168 %170 |
| %172 = OpIAdd %uint %171 %uint_8 |
| %173 = OpULessThanEqual %bool %172 %167 |
| %174 = OpSelect %uint %173 %168 %uint_0 |
| %175 = OpSelect %uint %173 %169 %uint_8 |
| %176 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %177 = OpAccessChain %_ptr_StorageBuffer_float %176 %174 |
| OpCooperativeMatrixStoreKHR %177 %165 %uint_0 %175 NonPrivatePointer |
| %179 = OpCompositeConstruct %11 %float_42 |
| %180 = OpCompositeConstruct %71 %float_100 |
| %181 = OpCompositeConstruct %S %179 %180 |
| %182 = OpCompositeConstruct %S_Nested %181 |
| %183 = OpCompositeExtract %71 %182 0 1 |
| %184 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %185 = OpArrayLength %uint %1 0 |
| %186 = OpBitcast %uint %int_0 |
| %187 = OpBitcast %uint %int_64 |
| %188 = OpIMul %uint %187 %uint_7 |
| %189 = OpIAdd %uint %186 %188 |
| %190 = OpIAdd %uint %189 %uint_8 |
| %191 = OpULessThanEqual %bool %190 %185 |
| %192 = OpSelect %uint %191 %186 %uint_0 |
| %193 = OpSelect %uint %191 %187 %uint_8 |
| %194 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 |
| %195 = OpAccessChain %_ptr_StorageBuffer_float %194 %192 |
| OpCooperativeMatrixStoreKHR %195 %183 %uint_0 %193 NonPrivatePointer |
| OpReturn |
| OpFunctionEnd |