| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 60 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| OpCapability StorageInputOutput16 |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %t "t" |
| OpName %unused_entry_point "unused_entry_point" |
| OpName %m "m" |
| OpName %f "f" |
| OpName %v "v" |
| %float = OpTypeFloat 32 |
| %_ptr_Private_float = OpTypePointer Private %float |
| %4 = OpConstantNull %float |
| %t = OpVariable %_ptr_Private_float Private %4 |
| %void = OpTypeVoid |
| %5 = OpTypeFunction %void |
| %v4float = OpTypeVector %float 4 |
| %mat4v4float = OpTypeMatrix %v4float 4 |
| %9 = OpTypeFunction %mat4v4float |
| %float_1 = OpConstant %float 1 |
| %float_2 = OpConstant %float 2 |
| %float_3 = OpConstant %float 3 |
| %float_4 = OpConstant %float 4 |
| %20 = 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 |
| %25 = OpConstantComposite %v4float %float_5 %float_6 %float_7 %float_8 |
| %float_9 = OpConstant %float 9 |
| %float_10 = OpConstant %float 10 |
| %float_11 = OpConstant %float 11 |
| %float_12 = OpConstant %float 12 |
| %30 = OpConstantComposite %v4float %float_9 %float_10 %float_11 %float_12 |
| %float_13 = OpConstant %float 13 |
| %float_14 = OpConstant %float 14 |
| %float_15 = OpConstant %float 15 |
| %float_16 = OpConstant %float 16 |
| %35 = OpConstantComposite %v4float %float_13 %float_14 %float_15 %float_16 |
| %36 = OpConstantComposite %mat4v4float %20 %25 %30 %35 |
| %half = OpTypeFloat 16 |
| %v4half = OpTypeVector %half 4 |
| %mat4v4half = OpTypeMatrix %v4half 4 |
| %int = OpTypeInt 32 1 |
| %45 = OpConstantNull %int |
| %int_1 = OpConstant %int 1 |
| %int_2 = OpConstant %int 2 |
| %int_3 = OpConstant %int 3 |
| %_ptr_Function_mat4v4half = OpTypePointer Function %mat4v4half |
| %59 = OpConstantNull %mat4v4half |
| %unused_entry_point = OpFunction %void None %5 |
| %8 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %m = OpFunction %mat4v4float None %9 |
| %13 = OpLabel |
| %14 = OpLoad %float %t |
| %16 = OpFAdd %float %14 %float_1 |
| OpStore %t %16 |
| OpReturnValue %36 |
| OpFunctionEnd |
| %f = OpFunction %void None %5 |
| %38 = OpLabel |
| %v = OpVariable %_ptr_Function_mat4v4half Function %59 |
| %39 = OpFunctionCall %mat4v4float %m |
| %46 = OpCompositeExtract %v4float %39 0 |
| %43 = OpFConvert %v4half %46 |
| %49 = OpCompositeExtract %v4float %39 1 |
| %47 = OpFConvert %v4half %49 |
| %52 = OpCompositeExtract %v4float %39 2 |
| %50 = OpFConvert %v4half %52 |
| %55 = OpCompositeExtract %v4float %39 3 |
| %53 = OpFConvert %v4half %55 |
| %56 = OpCompositeConstruct %mat4v4half %43 %47 %50 %53 |
| OpStore %v %56 |
| OpReturn |
| OpFunctionEnd |