|  | ; SPIR-V | 
|  | ; Version: 1.3 | 
|  | ; Generator: Google Tint Compiler; 0 | 
|  | ; Bound: 153 | 
|  | ; Schema: 0 | 
|  | OpCapability Shader | 
|  | OpMemoryModel Logical GLSL450 | 
|  | OpEntryPoint Fragment %main "main" %tint_symbol %tint_symbol_2 | 
|  | OpExecutionMode %main OriginUpperLeft | 
|  | OpName %data "data" | 
|  | OpName %gl_FragCoord "gl_FragCoord" | 
|  | OpName %temp "temp" | 
|  | OpName %x_GLF_color "x_GLF_color" | 
|  | OpName %tint_symbol "tint_symbol" | 
|  | OpName %tint_symbol_2 "tint_symbol_2" | 
|  | OpName %func_i1_ "func_i1_" | 
|  | OpName %a "a" | 
|  | OpName %b "b" | 
|  | OpName %i "i" | 
|  | OpName %x_115 "x_115" | 
|  | OpName %x_116_phi "x_116_phi" | 
|  | OpName %main_1 "main_1" | 
|  | OpName %i_1 "i_1" | 
|  | OpName %param "param" | 
|  | OpName %param_1 "param_1" | 
|  | OpName %main_out "main_out" | 
|  | OpMemberName %main_out 0 "x_GLF_color_1" | 
|  | OpName %tint_symbol_3 "tint_symbol_3" | 
|  | OpName %tint_symbol_1 "tint_symbol_1" | 
|  | OpName %main "main" | 
|  | OpDecorate %_arr_int_uint_9 ArrayStride 4 | 
|  | OpDecorate %_arr_int_uint_7 ArrayStride 4 | 
|  | OpDecorate %tint_symbol BuiltIn FragCoord | 
|  | OpDecorate %tint_symbol_2 Location 0 | 
|  | OpMemberDecorate %main_out 0 Offset 0 | 
|  | %int = OpTypeInt 32 1 | 
|  | %uint = OpTypeInt 32 0 | 
|  | %uint_9 = OpConstant %uint 9 | 
|  | %_arr_int_uint_9 = OpTypeArray %int %uint_9 | 
|  | %_ptr_Private__arr_int_uint_9 = OpTypePointer Private %_arr_int_uint_9 | 
|  | %7 = OpConstantNull %_arr_int_uint_9 | 
|  | %data = OpVariable %_ptr_Private__arr_int_uint_9 Private %7 | 
|  | %float = OpTypeFloat 32 | 
|  | %v4float = OpTypeVector %float 4 | 
|  | %_ptr_Private_v4float = OpTypePointer Private %v4float | 
|  | %12 = OpConstantNull %v4float | 
|  | %gl_FragCoord = OpVariable %_ptr_Private_v4float Private %12 | 
|  | %uint_7 = OpConstant %uint 7 | 
|  | %_arr_int_uint_7 = OpTypeArray %int %uint_7 | 
|  | %_ptr_Private__arr_int_uint_7 = OpTypePointer Private %_arr_int_uint_7 | 
|  | %17 = OpConstantNull %_arr_int_uint_7 | 
|  | %temp = OpVariable %_ptr_Private__arr_int_uint_7 Private %17 | 
|  | %x_GLF_color = OpVariable %_ptr_Private_v4float Private %12 | 
|  | %_ptr_Input_v4float = OpTypePointer Input %v4float | 
|  | %tint_symbol = OpVariable %_ptr_Input_v4float Input | 
|  | %_ptr_Output_v4float = OpTypePointer Output %v4float | 
|  | %tint_symbol_2 = OpVariable %_ptr_Output_v4float Output %12 | 
|  | %_ptr_Function_int = OpTypePointer Function %int | 
|  | %23 = OpTypeFunction %float %_ptr_Function_int | 
|  | %29 = OpConstantNull %int | 
|  | %bool = OpTypeBool | 
|  | %_ptr_Function_bool = OpTypePointer Function %bool | 
|  | %34 = OpConstantNull %bool | 
|  | %int_0 = OpConstant %int 0 | 
|  | %_ptr_Private_int = OpTypePointer Private %int | 
|  | %int_5 = OpConstant %int 5 | 
|  | %int_2 = OpConstant %int 2 | 
|  | %int_4 = OpConstant %int 4 | 
|  | %int_6 = OpConstant %int 6 | 
|  | %int_8 = OpConstant %int 8 | 
|  | %uint_0 = OpConstant %uint 0 | 
|  | %_ptr_Private_float = OpTypePointer Private %float | 
|  | %float_0 = OpConstant %float 0 | 
|  | %int_3 = OpConstant %int 3 | 
|  | %int_1 = OpConstant %int 1 | 
|  | %float_1 = OpConstant %float 1 | 
|  | %void = OpTypeVoid | 
|  | %110 = OpTypeFunction %void | 
|  | %136 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1 | 
|  | %137 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0 | 
|  | %main_out = OpTypeStruct %v4float | 
|  | %140 = OpTypeFunction %void %main_out | 
|  | %func_i1_ = OpFunction %float None %23 | 
|  | %a = OpFunctionParameter %_ptr_Function_int | 
|  | %27 = OpLabel | 
|  | %b = OpVariable %_ptr_Function_int Function %29 | 
|  | %i = OpVariable %_ptr_Function_int Function %29 | 
|  | %x_115 = OpVariable %_ptr_Function_bool Function %34 | 
|  | %x_116_phi = OpVariable %_ptr_Function_bool Function %34 | 
|  | OpStore %b %int_0 | 
|  | %38 = OpAccessChain %_ptr_Private_int %data %int_0 | 
|  | OpStore %38 %int_5 | 
|  | %41 = OpAccessChain %_ptr_Private_int %data %int_2 | 
|  | OpStore %41 %int_0 | 
|  | %43 = OpAccessChain %_ptr_Private_int %data %int_4 | 
|  | OpStore %43 %int_0 | 
|  | %45 = OpAccessChain %_ptr_Private_int %data %int_6 | 
|  | OpStore %45 %int_0 | 
|  | %47 = OpAccessChain %_ptr_Private_int %data %int_8 | 
|  | OpStore %47 %int_0 | 
|  | %50 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_0 | 
|  | %51 = OpLoad %float %50 | 
|  | %53 = OpFOrdGreaterThanEqual %bool %51 %float_0 | 
|  | OpSelectionMerge %54 None | 
|  | OpBranchConditional %53 %55 %54 | 
|  | %55 = OpLabel | 
|  | OpBranch %56 | 
|  | %56 = OpLabel | 
|  | OpLoopMerge %57 %58 None | 
|  | OpBranch %59 | 
|  | %59 = OpLabel | 
|  | %60 = OpLoad %int %b | 
|  | %62 = OpLoad %int %a | 
|  | %63 = OpSLessThanEqual %bool %60 %62 | 
|  | OpSelectionMerge %64 None | 
|  | OpBranchConditional %63 %65 %66 | 
|  | %65 = OpLabel | 
|  | OpBranch %64 | 
|  | %66 = OpLabel | 
|  | OpBranch %57 | 
|  | %64 = OpLabel | 
|  | %67 = OpLoad %int %b | 
|  | %68 = OpSLessThanEqual %bool %67 %int_5 | 
|  | OpSelectionMerge %69 None | 
|  | OpBranchConditional %68 %70 %69 | 
|  | %70 = OpLabel | 
|  | %71 = OpLoad %int %b | 
|  | %72 = OpLoad %int %b | 
|  | %73 = OpAccessChain %_ptr_Private_int %data %72 | 
|  | %74 = OpLoad %int %73 | 
|  | %75 = OpAccessChain %_ptr_Private_int %temp %71 | 
|  | OpStore %75 %74 | 
|  | %76 = OpLoad %int %b | 
|  | %77 = OpIAdd %int %76 %int_2 | 
|  | OpStore %b %77 | 
|  | OpBranch %69 | 
|  | %69 = OpLabel | 
|  | OpBranch %58 | 
|  | %58 = OpLabel | 
|  | OpBranch %56 | 
|  | %57 = OpLabel | 
|  | OpBranch %54 | 
|  | %54 = OpLabel | 
|  | OpStore %i %int_0 | 
|  | OpBranch %78 | 
|  | %78 = OpLabel | 
|  | OpLoopMerge %79 %80 None | 
|  | OpBranch %81 | 
|  | %81 = OpLabel | 
|  | %82 = OpLoad %int %i | 
|  | %84 = OpSLessThan %bool %82 %int_3 | 
|  | OpSelectionMerge %85 None | 
|  | OpBranchConditional %84 %86 %87 | 
|  | %86 = OpLabel | 
|  | OpBranch %85 | 
|  | %87 = OpLabel | 
|  | OpBranch %79 | 
|  | %85 = OpLabel | 
|  | %88 = OpLoad %int %i | 
|  | %89 = OpAccessChain %_ptr_Private_int %temp %int_0 | 
|  | %90 = OpLoad %int %89 | 
|  | %91 = OpAccessChain %_ptr_Private_int %data %88 | 
|  | %93 = OpIAdd %int %90 %int_1 | 
|  | OpStore %91 %93 | 
|  | OpBranch %80 | 
|  | %80 = OpLabel | 
|  | %94 = OpLoad %int %i | 
|  | %95 = OpIAdd %int %94 %int_1 | 
|  | OpStore %i %95 | 
|  | OpBranch %78 | 
|  | %79 = OpLabel | 
|  | %96 = OpAccessChain %_ptr_Private_int %temp %int_0 | 
|  | %97 = OpLoad %int %96 | 
|  | %98 = OpIEqual %bool %97 %int_5 | 
|  | OpStore %x_116_phi %98 | 
|  | OpSelectionMerge %99 None | 
|  | OpBranchConditional %98 %100 %99 | 
|  | %100 = OpLabel | 
|  | %101 = OpAccessChain %_ptr_Private_int %data %int_0 | 
|  | %102 = OpLoad %int %101 | 
|  | %103 = OpIEqual %bool %102 %int_6 | 
|  | OpStore %x_115 %103 | 
|  | %104 = OpLoad %bool %x_115 | 
|  | OpStore %x_116_phi %104 | 
|  | OpBranch %99 | 
|  | %99 = OpLabel | 
|  | %105 = OpLoad %bool %x_116_phi | 
|  | OpSelectionMerge %106 None | 
|  | OpBranchConditional %105 %107 %108 | 
|  | %107 = OpLabel | 
|  | OpReturnValue %float_1 | 
|  | %108 = OpLabel | 
|  | OpReturnValue %float_0 | 
|  | %106 = OpLabel | 
|  | OpReturnValue %float_0 | 
|  | OpFunctionEnd | 
|  | %main_1 = OpFunction %void None %110 | 
|  | %113 = OpLabel | 
|  | %i_1 = OpVariable %_ptr_Function_int Function %29 | 
|  | %param = OpVariable %_ptr_Function_int Function %29 | 
|  | %param_1 = OpVariable %_ptr_Function_int Function %29 | 
|  | OpStore %i_1 %int_0 | 
|  | OpBranch %117 | 
|  | %117 = OpLabel | 
|  | OpLoopMerge %118 %119 None | 
|  | OpBranch %120 | 
|  | %120 = OpLabel | 
|  | %121 = OpLoad %int %i_1 | 
|  | %122 = OpSLessThan %bool %121 %int_6 | 
|  | OpSelectionMerge %123 None | 
|  | OpBranchConditional %122 %124 %125 | 
|  | %124 = OpLabel | 
|  | OpBranch %123 | 
|  | %125 = OpLabel | 
|  | OpBranch %118 | 
|  | %123 = OpLabel | 
|  | %126 = OpLoad %int %i_1 | 
|  | OpStore %param %126 | 
|  | %127 = OpFunctionCall %float %func_i1_ %param | 
|  | %129 = OpLoad %int %i_1 | 
|  | OpStore %param_1 %129 | 
|  | %130 = OpFunctionCall %float %func_i1_ %param_1 | 
|  | %132 = OpFOrdEqual %bool %130 %float_1 | 
|  | OpSelectionMerge %133 None | 
|  | OpBranchConditional %132 %134 %135 | 
|  | %134 = OpLabel | 
|  | OpStore %x_GLF_color %136 | 
|  | OpBranch %133 | 
|  | %135 = OpLabel | 
|  | OpStore %x_GLF_color %137 | 
|  | OpBranch %133 | 
|  | %133 = OpLabel | 
|  | OpBranch %119 | 
|  | %119 = OpLabel | 
|  | %138 = OpLoad %int %i_1 | 
|  | %139 = OpIAdd %int %138 %int_1 | 
|  | OpStore %i_1 %139 | 
|  | OpBranch %117 | 
|  | %118 = OpLabel | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %tint_symbol_3 = OpFunction %void None %140 | 
|  | %tint_symbol_1 = OpFunctionParameter %main_out | 
|  | %144 = OpLabel | 
|  | %145 = OpCompositeExtract %v4float %tint_symbol_1 0 | 
|  | OpStore %tint_symbol_2 %145 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %main = OpFunction %void None %110 | 
|  | %147 = OpLabel | 
|  | %148 = OpLoad %v4float %tint_symbol | 
|  | OpStore %gl_FragCoord %148 | 
|  | %149 = OpFunctionCall %void %main_1 | 
|  | %151 = OpLoad %v4float %x_GLF_color | 
|  | %152 = OpCompositeConstruct %main_out %151 | 
|  | %150 = OpFunctionCall %void %tint_symbol_3 %152 | 
|  | OpReturn | 
|  | OpFunctionEnd |