blob: f11e6d995f20eb691e132c3eacbfc037c9cbff68 [file] [log] [blame]
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %_GLF_color
OpExecutionMode %main OriginUpperLeft
OpSource ESSL 310
OpName %main "main"
OpName %mand_ "mand("
OpName %_GLF_color "_GLF_color"
OpDecorate %_GLF_color Location 0
%void = OpTypeVoid
%6 = OpTypeFunction %void
%float = OpTypeFloat 32
%v3float = OpTypeVector %float 3
%9 = OpTypeFunction %v3float
%float_1 = OpConstant %float 1
%11 = OpConstantComposite %v3float %float_1 %float_1 %float_1
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%_GLF_color = OpVariable %_ptr_Output_v4float Output
%float_0 = OpConstant %float 0
%15 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1
%main = OpFunction %void None %6
%16 = OpLabel
%17 = OpFunctionCall %v3float %mand_
OpBranch %18
%18 = OpLabel
OpLoopMerge %19 %20 None
OpBranch %21
%21 = OpLabel
OpStore %_GLF_color %15
OpReturn
%20 = OpLabel
OpBranch %18
%19 = OpLabel
OpUnreachable
OpFunctionEnd
%mand_ = OpFunction %v3float None %9
%22 = OpLabel
OpBranch %23
%23 = OpLabel
OpLoopMerge %24 %25 None
OpBranch %26
%26 = OpLabel
OpReturnValue %11
%25 = OpLabel
OpBranch %23
%24 = OpLabel
OpUnreachable
OpFunctionEnd