1cb93a386Sopenharmony_ciOpCapability Shader 2cb93a386Sopenharmony_ci%1 = OpExtInstImport "GLSL.std.450" 3cb93a386Sopenharmony_ciOpMemoryModel Logical GLSL450 4cb93a386Sopenharmony_ciOpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise 5cb93a386Sopenharmony_ciOpExecutionMode %_entrypoint_v OriginUpperLeft 6cb93a386Sopenharmony_ciOpName %sk_FragColor "sk_FragColor" 7cb93a386Sopenharmony_ciOpName %sk_Clockwise "sk_Clockwise" 8cb93a386Sopenharmony_ciOpName %_UniformBuffer "_UniformBuffer" 9cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 0 "testInput" 10cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 1 "testMatrix2x2" 11cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 2 "colorGreen" 12cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 3 "colorRed" 13cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v" 14cb93a386Sopenharmony_ciOpName %main "main" 15cb93a386Sopenharmony_ciOpName %inputVal "inputVal" 16cb93a386Sopenharmony_ciOpName %expectedB "expectedB" 17cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision 18cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0 19cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0 20cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing 21cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0 22cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 Offset 16 23cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 ColMajor 24cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 MatrixStride 16 25cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 2 Offset 48 26cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 2 RelaxedPrecision 27cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 3 Offset 64 28cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 3 RelaxedPrecision 29cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block 30cb93a386Sopenharmony_ciOpDecorate %10 Binding 0 31cb93a386Sopenharmony_ciOpDecorate %10 DescriptorSet 0 32cb93a386Sopenharmony_ciOpDecorate %95 RelaxedPrecision 33cb93a386Sopenharmony_ciOpDecorate %98 RelaxedPrecision 34cb93a386Sopenharmony_ciOpDecorate %99 RelaxedPrecision 35cb93a386Sopenharmony_ci%float = OpTypeFloat 32 36cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4 37cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float 38cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output 39cb93a386Sopenharmony_ci%bool = OpTypeBool 40cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool 41cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input 42cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2 43cb93a386Sopenharmony_ci%mat2v2float = OpTypeMatrix %v2float 2 44cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %float %mat2v2float %v4float %v4float 45cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 46cb93a386Sopenharmony_ci%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 47cb93a386Sopenharmony_ci%void = OpTypeVoid 48cb93a386Sopenharmony_ci%17 = OpTypeFunction %void 49cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0 50cb93a386Sopenharmony_ci%20 = OpConstantComposite %v2float %float_0 %float_0 51cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float 52cb93a386Sopenharmony_ci%24 = OpTypeFunction %v4float %_ptr_Function_v2float 53cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float 54cb93a386Sopenharmony_ci%_ptr_Uniform_mat2v2float = OpTypePointer Uniform %mat2v2float 55cb93a386Sopenharmony_ci%int = OpTypeInt 32 1 56cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1 57cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1 58cb93a386Sopenharmony_ci%float_n1 = OpConstant %float -1 59cb93a386Sopenharmony_ci%41 = OpConstantComposite %v4float %float_1 %float_1 %float_n1 %float_n1 60cb93a386Sopenharmony_ci%v4int = OpTypeVector %int 4 61cb93a386Sopenharmony_ci%_ptr_Function_v4int = OpTypePointer Function %v4int 62cb93a386Sopenharmony_ci%int_1065353216 = OpConstant %int 1065353216 63cb93a386Sopenharmony_ci%int_1073741824 = OpConstant %int 1073741824 64cb93a386Sopenharmony_ci%int_n1069547520 = OpConstant %int -1069547520 65cb93a386Sopenharmony_ci%int_n1065353216 = OpConstant %int -1065353216 66cb93a386Sopenharmony_ci%50 = OpConstantComposite %v4int %int_1065353216 %int_1073741824 %int_n1069547520 %int_n1065353216 67cb93a386Sopenharmony_ci%false = OpConstantFalse %bool 68cb93a386Sopenharmony_ci%v2int = OpTypeVector %int 2 69cb93a386Sopenharmony_ci%62 = OpConstantComposite %v2int %int_1065353216 %int_1073741824 70cb93a386Sopenharmony_ci%v2bool = OpTypeVector %bool 2 71cb93a386Sopenharmony_ci%v3float = OpTypeVector %float 3 72cb93a386Sopenharmony_ci%v3int = OpTypeVector %int 3 73cb93a386Sopenharmony_ci%74 = OpConstantComposite %v3int %int_1065353216 %int_1073741824 %int_n1069547520 74cb93a386Sopenharmony_ci%v3bool = OpTypeVector %bool 3 75cb93a386Sopenharmony_ci%v4bool = OpTypeVector %bool 4 76cb93a386Sopenharmony_ci%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 77cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2 78cb93a386Sopenharmony_ci%int_3 = OpConstant %int 3 79cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %17 80cb93a386Sopenharmony_ci%18 = OpLabel 81cb93a386Sopenharmony_ci%21 = OpVariable %_ptr_Function_v2float Function 82cb93a386Sopenharmony_ciOpStore %21 %20 83cb93a386Sopenharmony_ci%23 = OpFunctionCall %v4float %main %21 84cb93a386Sopenharmony_ciOpStore %sk_FragColor %23 85cb93a386Sopenharmony_ciOpReturn 86cb93a386Sopenharmony_ciOpFunctionEnd 87cb93a386Sopenharmony_ci%main = OpFunction %v4float None %24 88cb93a386Sopenharmony_ci%25 = OpFunctionParameter %_ptr_Function_v2float 89cb93a386Sopenharmony_ci%26 = OpLabel 90cb93a386Sopenharmony_ci%inputVal = OpVariable %_ptr_Function_v4float Function 91cb93a386Sopenharmony_ci%expectedB = OpVariable %_ptr_Function_v4int Function 92cb93a386Sopenharmony_ci%88 = OpVariable %_ptr_Function_v4float Function 93cb93a386Sopenharmony_ci%29 = OpAccessChain %_ptr_Uniform_mat2v2float %10 %int_1 94cb93a386Sopenharmony_ci%33 = OpLoad %mat2v2float %29 95cb93a386Sopenharmony_ci%34 = OpCompositeExtract %float %33 0 0 96cb93a386Sopenharmony_ci%35 = OpCompositeExtract %float %33 0 1 97cb93a386Sopenharmony_ci%36 = OpCompositeExtract %float %33 1 0 98cb93a386Sopenharmony_ci%37 = OpCompositeExtract %float %33 1 1 99cb93a386Sopenharmony_ci%38 = OpCompositeConstruct %v4float %34 %35 %36 %37 100cb93a386Sopenharmony_ci%42 = OpFMul %v4float %38 %41 101cb93a386Sopenharmony_ciOpStore %inputVal %42 102cb93a386Sopenharmony_ciOpStore %expectedB %50 103cb93a386Sopenharmony_ci%53 = OpLoad %v4float %inputVal 104cb93a386Sopenharmony_ci%54 = OpCompositeExtract %float %53 0 105cb93a386Sopenharmony_ci%52 = OpBitcast %int %54 106cb93a386Sopenharmony_ci%55 = OpIEqual %bool %52 %int_1065353216 107cb93a386Sopenharmony_ciOpSelectionMerge %57 None 108cb93a386Sopenharmony_ciOpBranchConditional %55 %56 %57 109cb93a386Sopenharmony_ci%56 = OpLabel 110cb93a386Sopenharmony_ci%59 = OpLoad %v4float %inputVal 111cb93a386Sopenharmony_ci%60 = OpVectorShuffle %v2float %59 %59 0 1 112cb93a386Sopenharmony_ci%58 = OpBitcast %v2int %60 113cb93a386Sopenharmony_ci%63 = OpIEqual %v2bool %58 %62 114cb93a386Sopenharmony_ci%65 = OpAll %bool %63 115cb93a386Sopenharmony_ciOpBranch %57 116cb93a386Sopenharmony_ci%57 = OpLabel 117cb93a386Sopenharmony_ci%66 = OpPhi %bool %false %26 %65 %56 118cb93a386Sopenharmony_ciOpSelectionMerge %68 None 119cb93a386Sopenharmony_ciOpBranchConditional %66 %67 %68 120cb93a386Sopenharmony_ci%67 = OpLabel 121cb93a386Sopenharmony_ci%70 = OpLoad %v4float %inputVal 122cb93a386Sopenharmony_ci%71 = OpVectorShuffle %v3float %70 %70 0 1 2 123cb93a386Sopenharmony_ci%69 = OpBitcast %v3int %71 124cb93a386Sopenharmony_ci%75 = OpIEqual %v3bool %69 %74 125cb93a386Sopenharmony_ci%77 = OpAll %bool %75 126cb93a386Sopenharmony_ciOpBranch %68 127cb93a386Sopenharmony_ci%68 = OpLabel 128cb93a386Sopenharmony_ci%78 = OpPhi %bool %false %57 %77 %67 129cb93a386Sopenharmony_ciOpSelectionMerge %80 None 130cb93a386Sopenharmony_ciOpBranchConditional %78 %79 %80 131cb93a386Sopenharmony_ci%79 = OpLabel 132cb93a386Sopenharmony_ci%82 = OpLoad %v4float %inputVal 133cb93a386Sopenharmony_ci%81 = OpBitcast %v4int %82 134cb93a386Sopenharmony_ci%83 = OpLoad %v4int %expectedB 135cb93a386Sopenharmony_ci%84 = OpIEqual %v4bool %81 %83 136cb93a386Sopenharmony_ci%86 = OpAll %bool %84 137cb93a386Sopenharmony_ciOpBranch %80 138cb93a386Sopenharmony_ci%80 = OpLabel 139cb93a386Sopenharmony_ci%87 = OpPhi %bool %false %68 %86 %79 140cb93a386Sopenharmony_ciOpSelectionMerge %91 None 141cb93a386Sopenharmony_ciOpBranchConditional %87 %89 %90 142cb93a386Sopenharmony_ci%89 = OpLabel 143cb93a386Sopenharmony_ci%92 = OpAccessChain %_ptr_Uniform_v4float %10 %int_2 144cb93a386Sopenharmony_ci%95 = OpLoad %v4float %92 145cb93a386Sopenharmony_ciOpStore %88 %95 146cb93a386Sopenharmony_ciOpBranch %91 147cb93a386Sopenharmony_ci%90 = OpLabel 148cb93a386Sopenharmony_ci%96 = OpAccessChain %_ptr_Uniform_v4float %10 %int_3 149cb93a386Sopenharmony_ci%98 = OpLoad %v4float %96 150cb93a386Sopenharmony_ciOpStore %88 %98 151cb93a386Sopenharmony_ciOpBranch %91 152cb93a386Sopenharmony_ci%91 = OpLabel 153cb93a386Sopenharmony_ci%99 = OpLoad %v4float %88 154cb93a386Sopenharmony_ciOpReturnValue %99 155cb93a386Sopenharmony_ciOpFunctionEnd 156