| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 30 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Fragment %main "main" |
| OpExecutionMode %main OriginUpperLeft |
| OpMemberName %S_std140 0 "matrix_col0" |
| OpMemberName %S_std140 1 "matrix_col1" |
| OpMemberName %S_std140 2 "matrix_col2" |
| OpMemberName %S_std140 3 "vector" |
| OpName %S_std140 "S_std140" |
| OpMemberName %data_block_std140 0 "inner" |
| OpName %data_block_std140 "data_block_std140" |
| OpName %main "main" |
| OpName %x "x" |
| OpMemberDecorate %S_std140 0 Offset 0 |
| OpMemberDecorate %S_std140 1 Offset 4 |
| OpMemberDecorate %S_std140 2 Offset 8 |
| OpMemberDecorate %S_std140 3 Offset 16 |
| OpMemberDecorate %data_block_std140 0 Offset 0 |
| OpDecorate %data_block_std140 Block |
| OpDecorate %1 DescriptorSet 0 |
| OpDecorate %1 Binding 0 |
| OpDecorate %1 NonWritable |
| %half = OpTypeFloat 16 |
| %v2half = OpTypeVector %half 2 |
| %v3half = OpTypeVector %half 3 |
| %S_std140 = OpTypeStruct %v2half %v2half %v2half %v3half |
| %data_block_std140 = OpTypeStruct %S_std140 |
| %_ptr_Uniform_data_block_std140 = OpTypePointer Uniform %data_block_std140 |
| %1 = OpVariable %_ptr_Uniform_data_block_std140 Uniform |
| %void = OpTypeVoid |
| %10 = OpTypeFunction %void |
| %_ptr_Uniform_v2half = OpTypePointer Uniform %v2half |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %uint_1 = OpConstant %uint 1 |
| %uint_2 = OpConstant %uint 2 |
| %mat3v2half = OpTypeMatrix %v2half 3 |
| %_ptr_Uniform_v3half = OpTypePointer Uniform %v3half |
| %uint_3 = OpConstant %uint 3 |
| %main = OpFunction %void None %10 |
| %11 = OpLabel |
| %12 = OpAccessChain %_ptr_Uniform_v2half %1 %uint_0 %uint_0 |
| %16 = OpLoad %v2half %12 None |
| %17 = OpAccessChain %_ptr_Uniform_v2half %1 %uint_0 %uint_1 |
| %19 = OpLoad %v2half %17 None |
| %20 = OpAccessChain %_ptr_Uniform_v2half %1 %uint_0 %uint_2 |
| %22 = OpLoad %v2half %20 None |
| %24 = OpCompositeConstruct %mat3v2half %16 %19 %22 |
| %25 = OpAccessChain %_ptr_Uniform_v3half %1 %uint_0 %uint_3 |
| %28 = OpLoad %v3half %25 None |
| %x = OpMatrixTimesVector %v2half %24 %28 |
| OpReturn |
| OpFunctionEnd |