| OpCapability Shader | |
| %1 = OpExtInstImport "GLSL.std.450" | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Fragment %main "main" %gl_FragCoord %_GLF_color | |
| OpExecutionMode %main OriginUpperLeft | |
| OpSource ESSL 310 | |
| OpName %main "main" | |
| OpName %gl_FragCoord "gl_FragCoord" | |
| OpName %buf0 "buf0" | |
| OpMemberName %buf0 0 "_GLF_uniform_float_values" | |
| OpName %_ "" | |
| OpName %_GLF_color "_GLF_color" | |
| OpDecorate %gl_FragCoord BuiltIn FragCoord | |
| OpDecorate %_arr_float_uint_5 ArrayStride 16 | |
| OpMemberDecorate %buf0 0 Offset 0 | |
| OpDecorate %buf0 Block | |
| OpDecorate %_ DescriptorSet 0 | |
| OpDecorate %_ Binding 0 | |
| OpDecorate %_GLF_color Location 0 | |
| %void = OpTypeVoid | |
| %9 = OpTypeFunction %void | |
| %float = OpTypeFloat 32 | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Input_v4float = OpTypePointer Input %v4float | |
| %gl_FragCoord = OpVariable %_ptr_Input_v4float Input | |
| %uint = OpTypeInt 32 0 | |
| %uint_0 = OpConstant %uint 0 | |
| %_ptr_Input_float = OpTypePointer Input %float | |
| %uint_5 = OpConstant %uint 5 | |
| %_arr_float_uint_5 = OpTypeArray %float %uint_5 | |
| %buf0 = OpTypeStruct %_arr_float_uint_5 | |
| %_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0 | |
| %_ = OpVariable %_ptr_Uniform_buf0 Uniform | |
| %int = OpTypeInt 32 1 | |
| %int_0 = OpConstant %int 0 | |
| %_ptr_Uniform_float = OpTypePointer Uniform %float | |
| %bool = OpTypeBool | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float | |
| %_GLF_color = OpVariable %_ptr_Output_v4float Output | |
| %int_2 = OpConstant %int 2 | |
| %uint_1 = OpConstant %uint 1 | |
| %int_4 = OpConstant %int 4 | |
| %int_3 = OpConstant %int 3 | |
| %int_1 = OpConstant %int 1 | |
| %float_10 = OpConstant %float 10 | |
| %mat4v4float = OpTypeMatrix %v4float 4 | |
| %float_0 = OpConstant %float 0 | |
| %main = OpFunction %void None %9 | |
| %31 = OpLabel | |
| %32 = OpAccessChain %_ptr_Input_float %gl_FragCoord %uint_0 | |
| %33 = OpLoad %float %32 | |
| %34 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %35 = OpLoad %float %34 | |
| %36 = OpFOrdGreaterThan %bool %33 %35 | |
| OpSelectionMerge %37 None | |
| OpBranchConditional %36 %38 %37 | |
| %38 = OpLabel | |
| %39 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_2 | |
| %40 = OpLoad %float %39 | |
| %41 = OpCompositeConstruct %v4float %40 %40 %40 %40 | |
| OpStore %_GLF_color %41 | |
| %42 = OpAccessChain %_ptr_Input_float %gl_FragCoord %uint_1 | |
| %43 = OpLoad %float %42 | |
| %44 = OpFOrdGreaterThan %bool %43 %35 | |
| OpSelectionMerge %45 None | |
| OpBranchConditional %44 %46 %45 | |
| %46 = OpLabel | |
| %47 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_4 | |
| %48 = OpLoad %float %47 | |
| %49 = OpCompositeConstruct %v4float %48 %48 %48 %48 | |
| OpStore %_GLF_color %49 | |
| OpBranch %45 | |
| %45 = OpLabel | |
| %50 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_3 | |
| %51 = OpLoad %float %50 | |
| %52 = OpCompositeConstruct %v4float %51 %51 %51 %51 | |
| OpStore %_GLF_color %52 | |
| OpBranch %37 | |
| %37 = OpLabel | |
| %53 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_1 | |
| %54 = OpLoad %float %53 | |
| %55 = OpCompositeConstruct %v4float %35 %54 %54 %float_10 | |
| OpStore %_GLF_color %55 | |
| %56 = OpCompositeConstruct %v4float %35 %float_0 %float_0 %float_0 | |
| %57 = OpCompositeConstruct %v4float %float_0 %35 %float_0 %float_0 | |
| %58 = OpCompositeConstruct %v4float %float_0 %float_0 %35 %float_0 | |
| %59 = OpCompositeConstruct %v4float %float_0 %float_0 %float_0 %35 | |
| %60 = OpCompositeConstruct %mat4v4float %56 %57 %58 %59 | |
| %61 = OpLoad %v4float %_GLF_color | |
| %62 = OpMatrixTimesVector %v4float %60 %61 | |
| OpStore %_GLF_color %62 | |
| OpReturn | |
| OpFunctionEnd |