| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 0 | |
| ; Bound: 38 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Fragment %main "main" %loc0_1 %loc1_1 %loc2_1 %loc3_1 | |
| OpExecutionMode %main OriginUpperLeft | |
| OpName %loc0_1 "loc0_1" | |
| OpName %loc1_1 "loc1_1" | |
| OpName %loc2_1 "loc2_1" | |
| OpName %loc3_1 "loc3_1" | |
| OpName %FragmentOutputs "FragmentOutputs" | |
| OpMemberName %FragmentOutputs 0 "loc0" | |
| OpMemberName %FragmentOutputs 1 "loc1" | |
| OpMemberName %FragmentOutputs 2 "loc2" | |
| OpMemberName %FragmentOutputs 3 "loc3" | |
| OpName %main_inner "main_inner" | |
| OpName %main "main" | |
| OpDecorate %loc0_1 Location 0 | |
| OpDecorate %loc1_1 Location 1 | |
| OpDecorate %loc2_1 Location 2 | |
| OpDecorate %loc3_1 Location 3 | |
| OpMemberDecorate %FragmentOutputs 0 Offset 0 | |
| OpMemberDecorate %FragmentOutputs 1 Offset 4 | |
| OpMemberDecorate %FragmentOutputs 2 Offset 8 | |
| OpMemberDecorate %FragmentOutputs 3 Offset 16 | |
| %int = OpTypeInt 32 1 | |
| %_ptr_Output_int = OpTypePointer Output %int | |
| %4 = OpConstantNull %int | |
| %loc0_1 = OpVariable %_ptr_Output_int Output %4 | |
| %uint = OpTypeInt 32 0 | |
| %_ptr_Output_uint = OpTypePointer Output %uint | |
| %8 = OpConstantNull %uint | |
| %loc1_1 = OpVariable %_ptr_Output_uint Output %8 | |
| %float = OpTypeFloat 32 | |
| %_ptr_Output_float = OpTypePointer Output %float | |
| %12 = OpConstantNull %float | |
| %loc2_1 = OpVariable %_ptr_Output_float Output %12 | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float | |
| %16 = OpConstantNull %v4float | |
| %loc3_1 = OpVariable %_ptr_Output_v4float Output %16 | |
| %FragmentOutputs = OpTypeStruct %int %uint %float %v4float | |
| %17 = OpTypeFunction %FragmentOutputs | |
| %int_1 = OpConstant %int 1 | |
| %uint_1 = OpConstant %uint 1 | |
| %float_1 = OpConstant %float 1 | |
| %float_2 = OpConstant %float 2 | |
| %float_3 = OpConstant %float 3 | |
| %float_4 = OpConstant %float 4 | |
| %27 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4 | |
| %28 = OpConstantComposite %FragmentOutputs %int_1 %uint_1 %float_1 %27 | |
| %void = OpTypeVoid | |
| %29 = OpTypeFunction %void | |
| %main_inner = OpFunction %FragmentOutputs None %17 | |
| %20 = OpLabel | |
| OpReturnValue %28 | |
| OpFunctionEnd | |
| %main = OpFunction %void None %29 | |
| %32 = OpLabel | |
| %33 = OpFunctionCall %FragmentOutputs %main_inner | |
| %34 = OpCompositeExtract %int %33 0 | |
| OpStore %loc0_1 %34 | |
| %35 = OpCompositeExtract %uint %33 1 | |
| OpStore %loc1_1 %35 | |
| %36 = OpCompositeExtract %float %33 2 | |
| OpStore %loc2_1 %36 | |
| %37 = OpCompositeExtract %v4float %33 3 | |
| OpStore %loc3_1 %37 | |
| OpReturn | |
| OpFunctionEnd |