1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %main "main" %_GLF_color 5 OpExecutionMode %main OriginUpperLeft 6 OpSource ESSL 310 7 OpName %main "main" 8 OpName %buf0 "buf0" 9 OpMemberName %buf0 0 "one" 10 OpName %_ "" 11 OpName %_GLF_color "_GLF_color" 12 OpMemberDecorate %buf0 0 RelaxedPrecision 13 OpMemberDecorate %buf0 0 Offset 0 14 OpDecorate %buf0 Block 15 OpDecorate %_ DescriptorSet 0 16 OpDecorate %_ Binding 0 17 OpDecorate %6 RelaxedPrecision 18 OpDecorate %_GLF_color Location 0 19 %void = OpTypeVoid 20 %8 = OpTypeFunction %void 21 %bool = OpTypeBool 22 %float = OpTypeFloat 32 23 %float_709 = OpConstant %float 709 24 %float_1 = OpConstant %float 1 25 %int = OpTypeInt 32 1 26 %buf0 = OpTypeStruct %int 27%_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0 28 %_ = OpVariable %_ptr_Uniform_buf0 Uniform 29 %int_0 = OpConstant %int 0 30%_ptr_Uniform_int = OpTypePointer Uniform %int 31 %int_1 = OpConstant %int 1 32 %v4float = OpTypeVector %float 4 33%_ptr_Output_v4float = OpTypePointer Output %v4float 34 %_GLF_color = OpVariable %_ptr_Output_v4float Output 35 %float_0 = OpConstant %float 0 36 %21 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1 37 %22 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1 38 %main = OpFunction %void None %8 39 %23 = OpLabel 40 %24 = OpExtInst %float %1 Cosh %float_709 41 %25 = OpExtInst %float %1 FSign %24 42 %26 = OpFOrdEqual %bool %25 %float_1 43 %27 = OpLogicalNot %bool %26 44 OpSelectionMerge %28 None 45 OpBranchConditional %27 %29 %28 46 %29 = OpLabel 47 %30 = OpAccessChain %_ptr_Uniform_int %_ %int_0 48 %6 = OpLoad %int %30 49 %31 = OpIEqual %bool %6 %int_1 50 OpBranch %28 51 %28 = OpLabel 52 %32 = OpPhi %bool %26 %23 %31 %29 53 OpSelectionMerge %33 None 54 OpBranchConditional %32 %34 %35 55 %34 = OpLabel 56 OpStore %_GLF_color %21 57 OpBranch %33 58 %35 = OpLabel 59 OpStore %_GLF_color %22 60 OpBranch %33 61 %33 = OpLabel 62 OpReturn 63 OpFunctionEnd 64