| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 40 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %u "u" |
| OpName %unused_entry_point "unused_entry_point" |
| OpName %f "f" |
| OpName %v "v" |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %mat2v4float = OpTypeMatrix %v4float 2 |
| %float_1 = OpConstant %float 1 |
| %float_2 = OpConstant %float 2 |
| %float_3 = OpConstant %float 3 |
| %float_4 = OpConstant %float 4 |
| %8 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4 |
| %float_5 = OpConstant %float 5 |
| %float_6 = OpConstant %float 6 |
| %float_7 = OpConstant %float 7 |
| %float_8 = OpConstant %float 8 |
| %13 = OpConstantComposite %v4float %float_5 %float_6 %float_7 %float_8 |
| %14 = OpConstantComposite %mat2v4float %8 %13 |
| %_ptr_Private_mat2v4float = OpTypePointer Private %mat2v4float |
| %u = OpVariable %_ptr_Private_mat2v4float Private %14 |
| %void = OpTypeVoid |
| %17 = OpTypeFunction %void |
| %half = OpTypeFloat 16 |
| %v4half = OpTypeVector %half 4 |
| %mat2v4half = OpTypeMatrix %v4half 2 |
| %int = OpTypeInt 32 1 |
| %28 = OpConstantNull %int |
| %_ptr_Private_v4float = OpTypePointer Private %v4float |
| %int_1 = OpConstant %int 1 |
| %_ptr_Function_mat2v4half = OpTypePointer Function %mat2v4half |
| %39 = OpConstantNull %mat2v4half |
| %unused_entry_point = OpFunction %void None %17 |
| %20 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %17 |
| %22 = OpLabel |
| %v = OpVariable %_ptr_Function_mat2v4half Function %39 |
| %30 = OpAccessChain %_ptr_Private_v4float %u %28 |
| %31 = OpLoad %v4float %30 |
| %26 = OpFConvert %v4half %31 |
| %34 = OpAccessChain %_ptr_Private_v4float %u %int_1 |
| %35 = OpLoad %v4float %34 |
| %32 = OpFConvert %v4half %35 |
| %36 = OpCompositeConstruct %mat2v4half %26 %32 |
| OpStore %v %36 |
| OpReturn |
| OpFunctionEnd |