| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 56 |
| ; 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 |
| %v3float = OpTypeVector %float 3 |
| %mat4v3float = OpTypeMatrix %v3float 4 |
| %9 = OpTypeFunction %mat4v3float |
| %float_1 = OpConstant %float 1 |
| %float_2 = OpConstant %float 2 |
| %float_3 = OpConstant %float 3 |
| %19 = OpConstantComposite %v3float %float_1 %float_2 %float_3 |
| %float_4 = OpConstant %float 4 |
| %float_5 = OpConstant %float 5 |
| %float_6 = OpConstant %float 6 |
| %23 = OpConstantComposite %v3float %float_4 %float_5 %float_6 |
| %float_7 = OpConstant %float 7 |
| %float_8 = OpConstant %float 8 |
| %float_9 = OpConstant %float 9 |
| %27 = OpConstantComposite %v3float %float_7 %float_8 %float_9 |
| %float_10 = OpConstant %float 10 |
| %float_11 = OpConstant %float 11 |
| %float_12 = OpConstant %float 12 |
| %31 = OpConstantComposite %v3float %float_10 %float_11 %float_12 |
| %32 = OpConstantComposite %mat4v3float %19 %23 %27 %31 |
| %half = OpTypeFloat 16 |
| %v3half = OpTypeVector %half 3 |
| %mat4v3half = OpTypeMatrix %v3half 4 |
| %int = OpTypeInt 32 1 |
| %41 = OpConstantNull %int |
| %int_1 = OpConstant %int 1 |
| %int_2 = OpConstant %int 2 |
| %int_3 = OpConstant %int 3 |
| %_ptr_Function_mat4v3half = OpTypePointer Function %mat4v3half |
| %55 = OpConstantNull %mat4v3half |
| %unused_entry_point = OpFunction %void None %5 |
| %8 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %m = OpFunction %mat4v3float None %9 |
| %13 = OpLabel |
| %14 = OpLoad %float %t |
| %16 = OpFAdd %float %14 %float_1 |
| OpStore %t %16 |
| OpReturnValue %32 |
| OpFunctionEnd |
| %f = OpFunction %void None %5 |
| %34 = OpLabel |
| %v = OpVariable %_ptr_Function_mat4v3half Function %55 |
| %35 = OpFunctionCall %mat4v3float %m |
| %42 = OpCompositeExtract %v3float %35 0 |
| %39 = OpFConvert %v3half %42 |
| %45 = OpCompositeExtract %v3float %35 1 |
| %43 = OpFConvert %v3half %45 |
| %48 = OpCompositeExtract %v3float %35 2 |
| %46 = OpFConvert %v3half %48 |
| %51 = OpCompositeExtract %v3float %35 3 |
| %49 = OpFConvert %v3half %51 |
| %52 = OpCompositeConstruct %mat4v3half %39 %43 %46 %49 |
| OpStore %v %52 |
| OpReturn |
| OpFunctionEnd |