1OpCapability Shader 2%1 = OpExtInstImport "GLSL.std.450" 3OpMemoryModel Logical GLSL450 4OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise 5OpExecutionMode %_entrypoint_v OriginUpperLeft 6OpName %sk_FragColor "sk_FragColor" 7OpName %sk_Clockwise "sk_Clockwise" 8OpName %_UniformBuffer "_UniformBuffer" 9OpMemberName %_UniformBuffer 0 "I" 10OpMemberName %_UniformBuffer 1 "N" 11OpMemberName %_UniformBuffer 2 "colorGreen" 12OpMemberName %_UniformBuffer 3 "colorRed" 13OpName %_entrypoint_v "_entrypoint_v" 14OpName %main "main" 15OpName %expectedX "expectedX" 16OpName %expectedXY "expectedXY" 17OpName %expectedXYZ "expectedXYZ" 18OpName %expectedXYZW "expectedXYZW" 19OpDecorate %sk_FragColor RelaxedPrecision 20OpDecorate %sk_FragColor Location 0 21OpDecorate %sk_FragColor Index 0 22OpDecorate %sk_Clockwise BuiltIn FrontFacing 23OpMemberDecorate %_UniformBuffer 0 Offset 0 24OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 25OpMemberDecorate %_UniformBuffer 1 Offset 16 26OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 27OpMemberDecorate %_UniformBuffer 2 Offset 32 28OpMemberDecorate %_UniformBuffer 2 RelaxedPrecision 29OpMemberDecorate %_UniformBuffer 3 Offset 48 30OpMemberDecorate %_UniformBuffer 3 RelaxedPrecision 31OpDecorate %_UniformBuffer Block 32OpDecorate %10 Binding 0 33OpDecorate %10 DescriptorSet 0 34OpDecorate %expectedX RelaxedPrecision 35OpDecorate %expectedXY RelaxedPrecision 36OpDecorate %32 RelaxedPrecision 37OpDecorate %expectedXYZ RelaxedPrecision 38OpDecorate %39 RelaxedPrecision 39OpDecorate %expectedXYZW RelaxedPrecision 40OpDecorate %46 RelaxedPrecision 41OpDecorate %48 RelaxedPrecision 42OpDecorate %53 RelaxedPrecision 43OpDecorate %54 RelaxedPrecision 44OpDecorate %57 RelaxedPrecision 45OpDecorate %58 RelaxedPrecision 46OpDecorate %59 RelaxedPrecision 47OpDecorate %63 RelaxedPrecision 48OpDecorate %65 RelaxedPrecision 49OpDecorate %66 RelaxedPrecision 50OpDecorate %68 RelaxedPrecision 51OpDecorate %69 RelaxedPrecision 52OpDecorate %70 RelaxedPrecision 53OpDecorate %77 RelaxedPrecision 54OpDecorate %79 RelaxedPrecision 55OpDecorate %80 RelaxedPrecision 56OpDecorate %82 RelaxedPrecision 57OpDecorate %83 RelaxedPrecision 58OpDecorate %84 RelaxedPrecision 59OpDecorate %91 RelaxedPrecision 60OpDecorate %93 RelaxedPrecision 61OpDecorate %95 RelaxedPrecision 62OpDecorate %96 RelaxedPrecision 63OpDecorate %103 RelaxedPrecision 64OpDecorate %108 RelaxedPrecision 65OpDecorate %114 RelaxedPrecision 66OpDecorate %120 RelaxedPrecision 67OpDecorate %130 RelaxedPrecision 68OpDecorate %133 RelaxedPrecision 69OpDecorate %134 RelaxedPrecision 70%float = OpTypeFloat 32 71%v4float = OpTypeVector %float 4 72%_ptr_Output_v4float = OpTypePointer Output %v4float 73%sk_FragColor = OpVariable %_ptr_Output_v4float Output 74%bool = OpTypeBool 75%_ptr_Input_bool = OpTypePointer Input %bool 76%sk_Clockwise = OpVariable %_ptr_Input_bool Input 77%_UniformBuffer = OpTypeStruct %v4float %v4float %v4float %v4float 78%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 79%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 80%void = OpTypeVoid 81%15 = OpTypeFunction %void 82%v2float = OpTypeVector %float 2 83%float_0 = OpConstant %float 0 84%19 = OpConstantComposite %v2float %float_0 %float_0 85%_ptr_Function_v2float = OpTypePointer Function %v2float 86%23 = OpTypeFunction %v4float %_ptr_Function_v2float 87%_ptr_Function_float = OpTypePointer Function %float 88%float_n49 = OpConstant %float -49 89%float_n169 = OpConstant %float -169 90%float_202 = OpConstant %float 202 91%32 = OpConstantComposite %v2float %float_n169 %float_202 92%v3float = OpTypeVector %float 3 93%_ptr_Function_v3float = OpTypePointer Function %v3float 94%float_n379 = OpConstant %float -379 95%float_454 = OpConstant %float 454 96%float_n529 = OpConstant %float -529 97%39 = OpConstantComposite %v3float %float_n379 %float_454 %float_n529 98%_ptr_Function_v4float = OpTypePointer Function %v4float 99%float_n699 = OpConstant %float -699 100%float_838 = OpConstant %float 838 101%float_n977 = OpConstant %float -977 102%float_1116 = OpConstant %float 1116 103%46 = OpConstantComposite %v4float %float_n699 %float_838 %float_n977 %float_1116 104%false = OpConstantFalse %bool 105%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 106%int = OpTypeInt 32 1 107%int_0 = OpConstant %int 0 108%int_1 = OpConstant %int 1 109%v2bool = OpTypeVector %bool 2 110%v3bool = OpTypeVector %bool 3 111%v4bool = OpTypeVector %bool 4 112%int_2 = OpConstant %int 2 113%int_3 = OpConstant %int 3 114%_entrypoint_v = OpFunction %void None %15 115%16 = OpLabel 116%20 = OpVariable %_ptr_Function_v2float Function 117OpStore %20 %19 118%22 = OpFunctionCall %v4float %main %20 119OpStore %sk_FragColor %22 120OpReturn 121OpFunctionEnd 122%main = OpFunction %v4float None %23 123%24 = OpFunctionParameter %_ptr_Function_v2float 124%25 = OpLabel 125%expectedX = OpVariable %_ptr_Function_float Function 126%expectedXY = OpVariable %_ptr_Function_v2float Function 127%expectedXYZ = OpVariable %_ptr_Function_v3float Function 128%expectedXYZW = OpVariable %_ptr_Function_v4float Function 129%124 = OpVariable %_ptr_Function_v4float Function 130OpStore %expectedX %float_n49 131OpStore %expectedXY %32 132OpStore %expectedXYZ %39 133OpStore %expectedXYZW %46 134%49 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 135%53 = OpLoad %v4float %49 136%54 = OpCompositeExtract %float %53 0 137%55 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1 138%57 = OpLoad %v4float %55 139%58 = OpCompositeExtract %float %57 0 140%48 = OpExtInst %float %1 Reflect %54 %58 141%59 = OpLoad %float %expectedX 142%60 = OpFOrdEqual %bool %48 %59 143OpSelectionMerge %62 None 144OpBranchConditional %60 %61 %62 145%61 = OpLabel 146%64 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 147%65 = OpLoad %v4float %64 148%66 = OpVectorShuffle %v2float %65 %65 0 1 149%67 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1 150%68 = OpLoad %v4float %67 151%69 = OpVectorShuffle %v2float %68 %68 0 1 152%63 = OpExtInst %v2float %1 Reflect %66 %69 153%70 = OpLoad %v2float %expectedXY 154%71 = OpFOrdEqual %v2bool %63 %70 155%73 = OpAll %bool %71 156OpBranch %62 157%62 = OpLabel 158%74 = OpPhi %bool %false %25 %73 %61 159OpSelectionMerge %76 None 160OpBranchConditional %74 %75 %76 161%75 = OpLabel 162%78 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 163%79 = OpLoad %v4float %78 164%80 = OpVectorShuffle %v3float %79 %79 0 1 2 165%81 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1 166%82 = OpLoad %v4float %81 167%83 = OpVectorShuffle %v3float %82 %82 0 1 2 168%77 = OpExtInst %v3float %1 Reflect %80 %83 169%84 = OpLoad %v3float %expectedXYZ 170%85 = OpFOrdEqual %v3bool %77 %84 171%87 = OpAll %bool %85 172OpBranch %76 173%76 = OpLabel 174%88 = OpPhi %bool %false %62 %87 %75 175OpSelectionMerge %90 None 176OpBranchConditional %88 %89 %90 177%89 = OpLabel 178%92 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 179%93 = OpLoad %v4float %92 180%94 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1 181%95 = OpLoad %v4float %94 182%91 = OpExtInst %v4float %1 Reflect %93 %95 183%96 = OpLoad %v4float %expectedXYZW 184%97 = OpFOrdEqual %v4bool %91 %96 185%99 = OpAll %bool %97 186OpBranch %90 187%90 = OpLabel 188%100 = OpPhi %bool %false %76 %99 %89 189OpSelectionMerge %102 None 190OpBranchConditional %100 %101 %102 191%101 = OpLabel 192%103 = OpLoad %float %expectedX 193%104 = OpFOrdEqual %bool %float_n49 %103 194OpBranch %102 195%102 = OpLabel 196%105 = OpPhi %bool %false %90 %104 %101 197OpSelectionMerge %107 None 198OpBranchConditional %105 %106 %107 199%106 = OpLabel 200%108 = OpLoad %v2float %expectedXY 201%109 = OpFOrdEqual %v2bool %32 %108 202%110 = OpAll %bool %109 203OpBranch %107 204%107 = OpLabel 205%111 = OpPhi %bool %false %102 %110 %106 206OpSelectionMerge %113 None 207OpBranchConditional %111 %112 %113 208%112 = OpLabel 209%114 = OpLoad %v3float %expectedXYZ 210%115 = OpFOrdEqual %v3bool %39 %114 211%116 = OpAll %bool %115 212OpBranch %113 213%113 = OpLabel 214%117 = OpPhi %bool %false %107 %116 %112 215OpSelectionMerge %119 None 216OpBranchConditional %117 %118 %119 217%118 = OpLabel 218%120 = OpLoad %v4float %expectedXYZW 219%121 = OpFOrdEqual %v4bool %46 %120 220%122 = OpAll %bool %121 221OpBranch %119 222%119 = OpLabel 223%123 = OpPhi %bool %false %113 %122 %118 224OpSelectionMerge %127 None 225OpBranchConditional %123 %125 %126 226%125 = OpLabel 227%128 = OpAccessChain %_ptr_Uniform_v4float %10 %int_2 228%130 = OpLoad %v4float %128 229OpStore %124 %130 230OpBranch %127 231%126 = OpLabel 232%131 = OpAccessChain %_ptr_Uniform_v4float %10 %int_3 233%133 = OpLoad %v4float %131 234OpStore %124 %133 235OpBranch %127 236%127 = OpLabel 237%134 = OpLoad %v4float %124 238OpReturnValue %134 239OpFunctionEnd 240