| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 40 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %f "f" |
| OpExecutionMode %f LocalSize 1 1 1 |
| OpMemberName %u_block_std140 0 "inner_col0" |
| OpMemberName %u_block_std140 1 "inner_col1" |
| OpName %u_block_std140 "u_block_std140" |
| OpMemberName %s_block 0 "inner" |
| OpName %s_block "s_block" |
| OpName %f "f" |
| OpMemberDecorate %u_block_std140 0 Offset 0 |
| OpMemberDecorate %u_block_std140 1 Offset 8 |
| OpDecorate %u_block_std140 Block |
| OpDecorate %1 DescriptorSet 0 |
| OpDecorate %1 Binding 0 |
| OpDecorate %1 NonWritable |
| OpMemberDecorate %s_block 0 Offset 0 |
| OpMemberDecorate %s_block 0 ColMajor |
| OpMemberDecorate %s_block 0 MatrixStride 8 |
| OpDecorate %s_block Block |
| OpDecorate %6 DescriptorSet 0 |
| OpDecorate %6 Binding 1 |
| OpDecorate %6 Coherent |
| %half = OpTypeFloat 16 |
| %v4half = OpTypeVector %half 4 |
| %u_block_std140 = OpTypeStruct %v4half %v4half |
| %_ptr_Uniform_u_block_std140 = OpTypePointer Uniform %u_block_std140 |
| %1 = OpVariable %_ptr_Uniform_u_block_std140 Uniform |
| %mat2v4half = OpTypeMatrix %v4half 2 |
| %s_block = OpTypeStruct %mat2v4half |
| %_ptr_StorageBuffer_s_block = OpTypePointer StorageBuffer %s_block |
| %6 = OpVariable %_ptr_StorageBuffer_s_block StorageBuffer |
| %void = OpTypeVoid |
| %12 = OpTypeFunction %void |
| %_ptr_Uniform_v4half = OpTypePointer Uniform %v4half |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %uint_1 = OpConstant %uint 1 |
| %_ptr_StorageBuffer_mat2v4half = OpTypePointer StorageBuffer %mat2v4half |
| %_ptr_StorageBuffer_v4half = OpTypePointer StorageBuffer %v4half |
| %_ptr_Uniform_half = OpTypePointer Uniform %half |
| %_ptr_StorageBuffer_half = OpTypePointer StorageBuffer %half |
| %f = OpFunction %void None %12 |
| %13 = OpLabel |
| %14 = OpAccessChain %_ptr_Uniform_v4half %1 %uint_0 |
| %18 = OpLoad %v4half %14 None |
| %19 = OpAccessChain %_ptr_Uniform_v4half %1 %uint_1 |
| %21 = OpLoad %v4half %19 None |
| %22 = OpCompositeConstruct %mat2v4half %18 %21 |
| %23 = OpAccessChain %_ptr_StorageBuffer_mat2v4half %6 %uint_0 |
| OpStore %23 %22 None |
| %25 = OpAccessChain %_ptr_StorageBuffer_v4half %6 %uint_0 %uint_1 |
| %27 = OpAccessChain %_ptr_Uniform_v4half %1 %uint_0 |
| %28 = OpLoad %v4half %27 None |
| OpStore %25 %28 None |
| %29 = OpAccessChain %_ptr_StorageBuffer_v4half %6 %uint_0 %uint_1 |
| %30 = OpAccessChain %_ptr_Uniform_v4half %1 %uint_0 |
| %31 = OpLoad %v4half %30 None |
| %32 = OpVectorShuffle %v4half %31 %31 1 3 0 2 |
| OpStore %29 %32 None |
| %33 = OpAccessChain %_ptr_StorageBuffer_v4half %6 %uint_0 %uint_0 |
| %34 = OpAccessChain %_ptr_Uniform_v4half %1 %uint_1 |
| %35 = OpAccessChain %_ptr_Uniform_half %34 %uint_0 |
| %37 = OpLoad %half %35 None |
| %38 = OpAccessChain %_ptr_StorageBuffer_half %33 %uint_1 |
| OpStore %38 %37 None |
| OpReturn |
| OpFunctionEnd |