| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 1 | |
| ; Bound: 145 | |
| ; 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 | |
| %uint_456 = OpConstant %uint 456 | |
| %bool = OpTypeBool | |
| %uint_64 = OpConstant %uint 64 | |
| %_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float | |
| %uint_4 = OpConstant %uint 4 | |
| %_arr_11_uint_4 = OpTypeArray %11 %uint_4 | |
| %29 = OpConstantNull %_arr_11_uint_4 | |
| %_arr__arr_11_uint_4_uint_4 = OpTypeArray %_arr_11_uint_4 %uint_4 | |
| %41 = OpConstantNull %_arr__arr_11_uint_4_uint_4 | |
| %uint_1 = OpConstant %uint 1 | |
| %54 = OpTypeCooperativeMatrixKHR %float %uint_3 %uint_8 %uint_8 %uint_1 | |
| %S = OpTypeStruct %11 %54 | |
| %52 = OpConstantNull %S | |
| %S_Nested = OpTypeStruct %S | |
| %65 = 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 = OpULessThanEqual %bool %uint_456 %18 | |
| %22 = OpSelect %uint %19 %uint_0 %uint_0 | |
| %23 = OpSelect %uint %19 %uint_64 %uint_8 | |
| %25 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %26 = OpAccessChain %_ptr_StorageBuffer_float %25 %22 | |
| OpCooperativeMatrixStoreKHR %26 %10 %uint_0 %23 NonPrivatePointer | |
| %32 = OpCompositeExtract %11 %29 1 | |
| %33 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %34 = OpArrayLength %uint %1 0 | |
| %35 = OpULessThanEqual %bool %uint_456 %34 | |
| %36 = OpSelect %uint %35 %uint_0 %uint_0 | |
| %37 = OpSelect %uint %35 %uint_64 %uint_8 | |
| %38 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %39 = OpAccessChain %_ptr_StorageBuffer_float %38 %36 | |
| OpCooperativeMatrixStoreKHR %39 %32 %uint_0 %37 NonPrivatePointer | |
| %43 = OpCompositeExtract %11 %41 2 3 | |
| %44 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %45 = OpArrayLength %uint %1 0 | |
| %46 = OpULessThanEqual %bool %uint_456 %45 | |
| %47 = OpSelect %uint %46 %uint_0 %uint_0 | |
| %48 = OpSelect %uint %46 %uint_64 %uint_8 | |
| %49 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %50 = OpAccessChain %_ptr_StorageBuffer_float %49 %47 | |
| OpCooperativeMatrixStoreKHR %50 %43 %uint_0 %48 NonPrivatePointer | |
| %56 = OpCompositeExtract %11 %52 0 | |
| %57 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %58 = OpArrayLength %uint %1 0 | |
| %59 = OpULessThanEqual %bool %uint_456 %58 | |
| %60 = OpSelect %uint %59 %uint_0 %uint_0 | |
| %61 = OpSelect %uint %59 %uint_64 %uint_8 | |
| %62 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %63 = OpAccessChain %_ptr_StorageBuffer_float %62 %60 | |
| OpCooperativeMatrixStoreKHR %63 %56 %uint_0 %61 NonPrivatePointer | |
| %67 = OpCompositeExtract %54 %65 0 1 | |
| %68 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %69 = OpArrayLength %uint %1 0 | |
| %70 = OpULessThanEqual %bool %uint_456 %69 | |
| %71 = OpSelect %uint %70 %uint_0 %uint_0 | |
| %72 = OpSelect %uint %70 %uint_64 %uint_8 | |
| %73 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %74 = OpAccessChain %_ptr_StorageBuffer_float %73 %71 | |
| OpCooperativeMatrixStoreKHR %74 %67 %uint_0 %72 NonPrivatePointer | |
| %76 = OpCompositeConstruct %11 %float_42 | |
| %78 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %79 = OpArrayLength %uint %1 0 | |
| %80 = OpULessThanEqual %bool %uint_456 %79 | |
| %81 = OpSelect %uint %80 %uint_0 %uint_0 | |
| %82 = OpSelect %uint %80 %uint_64 %uint_8 | |
| %83 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %84 = OpAccessChain %_ptr_StorageBuffer_float %83 %81 | |
| OpCooperativeMatrixStoreKHR %84 %76 %uint_0 %82 NonPrivatePointer | |
| %86 = OpCompositeConstruct %11 %float_42 | |
| %87 = OpCompositeConstruct %11 %float_100 | |
| %91 = OpCompositeConstruct %_arr_11_uint_2 %86 %87 | |
| %92 = OpCompositeExtract %11 %91 1 | |
| %93 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %94 = OpArrayLength %uint %1 0 | |
| %95 = OpULessThanEqual %bool %uint_456 %94 | |
| %96 = OpSelect %uint %95 %uint_0 %uint_0 | |
| %97 = OpSelect %uint %95 %uint_64 %uint_8 | |
| %98 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %99 = OpAccessChain %_ptr_StorageBuffer_float %98 %96 | |
| OpCooperativeMatrixStoreKHR %99 %92 %uint_0 %97 NonPrivatePointer | |
| %101 = OpCompositeConstruct %11 %float_42 | |
| %102 = OpCompositeConstruct %11 %float_100 | |
| %103 = OpCompositeConstruct %_arr_11_uint_2 %101 %102 | |
| %104 = OpCompositeConstruct %11 %float_n7 | |
| %106 = OpCompositeConstruct %11 %float_n42 | |
| %108 = OpCompositeConstruct %_arr_11_uint_2 %104 %106 | |
| %110 = OpCompositeConstruct %_arr__arr_11_uint_2_uint_2 %103 %108 | |
| %111 = OpCompositeExtract %11 %110 1 0 | |
| %112 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %113 = OpArrayLength %uint %1 0 | |
| %114 = OpULessThanEqual %bool %uint_456 %113 | |
| %115 = OpSelect %uint %114 %uint_0 %uint_0 | |
| %116 = OpSelect %uint %114 %uint_64 %uint_8 | |
| %117 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %118 = OpAccessChain %_ptr_StorageBuffer_float %117 %115 | |
| OpCooperativeMatrixStoreKHR %118 %111 %uint_0 %116 NonPrivatePointer | |
| %120 = OpCompositeConstruct %11 %float_42 | |
| %121 = OpCompositeConstruct %54 %float_100 | |
| %122 = OpCompositeConstruct %S %120 %121 | |
| %123 = OpCompositeExtract %11 %122 0 | |
| %124 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %125 = OpArrayLength %uint %1 0 | |
| %126 = OpULessThanEqual %bool %uint_456 %125 | |
| %127 = OpSelect %uint %126 %uint_0 %uint_0 | |
| %128 = OpSelect %uint %126 %uint_64 %uint_8 | |
| %129 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %130 = OpAccessChain %_ptr_StorageBuffer_float %129 %127 | |
| OpCooperativeMatrixStoreKHR %130 %123 %uint_0 %128 NonPrivatePointer | |
| %132 = OpCompositeConstruct %11 %float_42 | |
| %133 = OpCompositeConstruct %54 %float_100 | |
| %134 = OpCompositeConstruct %S %132 %133 | |
| %135 = OpCompositeConstruct %S_Nested %134 | |
| %136 = OpCompositeExtract %54 %135 0 1 | |
| %137 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %138 = OpArrayLength %uint %1 0 | |
| %139 = OpULessThanEqual %bool %uint_456 %138 | |
| %140 = OpSelect %uint %139 %uint_0 %uint_0 | |
| %141 = OpSelect %uint %139 %uint_64 %uint_8 | |
| %142 = OpAccessChain %_ptr_StorageBuffer__runtimearr_float %1 %uint_0 | |
| %143 = OpAccessChain %_ptr_StorageBuffer_float %142 %140 | |
| OpCooperativeMatrixStoreKHR %143 %136 %uint_0 %141 NonPrivatePointer | |
| OpReturn | |
| OpFunctionEnd |