| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 54 |
| ; 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 %u "u" |
| OpName %unused_entry_point "unused_entry_point" |
| OpName %f "f" |
| OpName %v "v" |
| %float = OpTypeFloat 32 |
| %v3float = OpTypeVector %float 3 |
| %mat4v3float = OpTypeMatrix %v3float 4 |
| %float_1 = OpConstant %float 1 |
| %float_2 = OpConstant %float 2 |
| %float_3 = OpConstant %float 3 |
| %7 = OpConstantComposite %v3float %float_1 %float_2 %float_3 |
| %float_4 = OpConstant %float 4 |
| %float_5 = OpConstant %float 5 |
| %float_6 = OpConstant %float 6 |
| %11 = OpConstantComposite %v3float %float_4 %float_5 %float_6 |
| %float_7 = OpConstant %float 7 |
| %float_8 = OpConstant %float 8 |
| %float_9 = OpConstant %float 9 |
| %15 = OpConstantComposite %v3float %float_7 %float_8 %float_9 |
| %float_10 = OpConstant %float 10 |
| %float_11 = OpConstant %float 11 |
| %float_12 = OpConstant %float 12 |
| %19 = OpConstantComposite %v3float %float_10 %float_11 %float_12 |
| %20 = OpConstantComposite %mat4v3float %7 %11 %15 %19 |
| %_ptr_Private_mat4v3float = OpTypePointer Private %mat4v3float |
| %u = OpVariable %_ptr_Private_mat4v3float Private %20 |
| %void = OpTypeVoid |
| %23 = OpTypeFunction %void |
| %half = OpTypeFloat 16 |
| %v3half = OpTypeVector %half 3 |
| %mat4v3half = OpTypeMatrix %v3half 4 |
| %int = OpTypeInt 32 1 |
| %34 = OpConstantNull %int |
| %_ptr_Private_v3float = OpTypePointer Private %v3float |
| %int_1 = OpConstant %int 1 |
| %int_2 = OpConstant %int 2 |
| %int_3 = OpConstant %int 3 |
| %_ptr_Function_mat4v3half = OpTypePointer Function %mat4v3half |
| %53 = OpConstantNull %mat4v3half |
| %unused_entry_point = OpFunction %void None %23 |
| %26 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %23 |
| %28 = OpLabel |
| %v = OpVariable %_ptr_Function_mat4v3half Function %53 |
| %36 = OpAccessChain %_ptr_Private_v3float %u %34 |
| %37 = OpLoad %v3float %36 |
| %32 = OpFConvert %v3half %37 |
| %40 = OpAccessChain %_ptr_Private_v3float %u %int_1 |
| %41 = OpLoad %v3float %40 |
| %38 = OpFConvert %v3half %41 |
| %44 = OpAccessChain %_ptr_Private_v3float %u %int_2 |
| %45 = OpLoad %v3float %44 |
| %42 = OpFConvert %v3half %45 |
| %48 = OpAccessChain %_ptr_Private_v3float %u %int_3 |
| %49 = OpLoad %v3float %48 |
| %46 = OpFConvert %v3half %49 |
| %50 = OpCompositeConstruct %mat4v3half %32 %38 %42 %46 |
| OpStore %v %50 |
| OpReturn |
| OpFunctionEnd |