| OpCapability Shader | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Vertex %1 "main" %2 %3 %4 %5 | |
| OpDecorate %2 Location 0 | |
| OpDecorate %3 Location 1 | |
| OpDecorate %4 Location 0 | |
| OpDecorate %_struct_6 Block | |
| OpMemberDecorate %_struct_6 0 BuiltIn Position | |
| %void = OpTypeVoid | |
| %bool = OpTypeBool | |
| %int = OpTypeInt 32 1 | |
| %int_0 = OpConstant %int 0 | |
| %float = OpTypeFloat 32 | |
| %float_1 = OpConstant %float 1 | |
| %v3float = OpTypeVector %float 3 | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Input_v3float = OpTypePointer Input %v3float | |
| %_ptr_Input_int = OpTypePointer Input %int | |
| %_ptr_Output_int = OpTypePointer Output %int | |
| %_struct_6 = OpTypeStruct %v4float | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float | |
| %_ptr_Output__struct_6 = OpTypePointer Output %_struct_6 | |
| %2 = OpVariable %_ptr_Input_v3float Input | |
| %3 = OpVariable %_ptr_Input_int Input | |
| %4 = OpVariable %_ptr_Output_int Output | |
| %5 = OpVariable %_ptr_Output__struct_6 Output | |
| %20 = OpTypeFunction %void | |
| %1 = OpFunction %void None %20 | |
| %21 = OpLabel | |
| %22 = OpLoad %v3float %2 | |
| %23 = OpCompositeConstruct %v4float %22 %float_1 | |
| %24 = OpAccessChain %_ptr_Output_v4float %5 %int_0 | |
| OpStore %24 %23 | |
| OpCopyMemory %4 %3 | |
| OpReturn | |
| OpFunctionEnd |