1cb93a386Sopenharmony_ciOpCapability Shader
2cb93a386Sopenharmony_ci%1 = OpExtInstImport "GLSL.std.450"
3cb93a386Sopenharmony_ciOpMemoryModel Logical GLSL450
4cb93a386Sopenharmony_ciOpEntryPoint Fragment %main "main" %sk_FragColor %sk_Clockwise
5cb93a386Sopenharmony_ciOpExecutionMode %main OriginUpperLeft
6cb93a386Sopenharmony_ciOpName %testBlock "testBlock"
7cb93a386Sopenharmony_ciOpMemberName %testBlock 0 "m1"
8cb93a386Sopenharmony_ciOpMemberName %testBlock 1 "m2"
9cb93a386Sopenharmony_ciOpName %sk_FragColor "sk_FragColor"
10cb93a386Sopenharmony_ciOpName %sk_Clockwise "sk_Clockwise"
11cb93a386Sopenharmony_ciOpName %main "main"
12cb93a386Sopenharmony_ciOpMemberDecorate %testBlock 0 Offset 16
13cb93a386Sopenharmony_ciOpMemberDecorate %testBlock 0 ColMajor
14cb93a386Sopenharmony_ciOpMemberDecorate %testBlock 0 MatrixStride 8
15cb93a386Sopenharmony_ciOpMemberDecorate %testBlock 0 RelaxedPrecision
16cb93a386Sopenharmony_ciOpMemberDecorate %testBlock 1 Offset 32
17cb93a386Sopenharmony_ciOpMemberDecorate %testBlock 1 ColMajor
18cb93a386Sopenharmony_ciOpMemberDecorate %testBlock 1 MatrixStride 8
19cb93a386Sopenharmony_ciOpMemberDecorate %testBlock 1 RelaxedPrecision
20cb93a386Sopenharmony_ciOpDecorate %testBlock Block
21cb93a386Sopenharmony_ciOpDecorate %3 Binding 456
22cb93a386Sopenharmony_ciOpDecorate %3 DescriptorSet 0
23cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision
24cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0
25cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0
26cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing
27cb93a386Sopenharmony_ciOpDecorate %22 RelaxedPrecision
28cb93a386Sopenharmony_ciOpDecorate %23 RelaxedPrecision
29cb93a386Sopenharmony_ciOpDecorate %26 RelaxedPrecision
30cb93a386Sopenharmony_ciOpDecorate %27 RelaxedPrecision
31cb93a386Sopenharmony_ciOpDecorate %29 RelaxedPrecision
32cb93a386Sopenharmony_ciOpDecorate %30 RelaxedPrecision
33cb93a386Sopenharmony_ciOpDecorate %32 RelaxedPrecision
34cb93a386Sopenharmony_ciOpDecorate %33 RelaxedPrecision
35cb93a386Sopenharmony_ciOpDecorate %34 RelaxedPrecision
36cb93a386Sopenharmony_ci%float = OpTypeFloat 32
37cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2
38cb93a386Sopenharmony_ci%mat2v2float = OpTypeMatrix %v2float 2
39cb93a386Sopenharmony_ci%testBlock = OpTypeStruct %mat2v2float %mat2v2float
40cb93a386Sopenharmony_ci%_ptr_PushConstant_testBlock = OpTypePointer PushConstant %testBlock
41cb93a386Sopenharmony_ci%3 = OpVariable %_ptr_PushConstant_testBlock PushConstant
42cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4
43cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float
44cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output
45cb93a386Sopenharmony_ci%bool = OpTypeBool
46cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
47cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
48cb93a386Sopenharmony_ci%void = OpTypeVoid
49cb93a386Sopenharmony_ci%16 = OpTypeFunction %void
50cb93a386Sopenharmony_ci%int = OpTypeInt 32 1
51cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0
52cb93a386Sopenharmony_ci%_ptr_PushConstant_v2float = OpTypePointer PushConstant %v2float
53cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1
54cb93a386Sopenharmony_ci%main = OpFunction %void None %16
55cb93a386Sopenharmony_ci%17 = OpLabel
56cb93a386Sopenharmony_ci%20 = OpAccessChain %_ptr_PushConstant_v2float %3 %int_0 %int_0
57cb93a386Sopenharmony_ci%22 = OpLoad %v2float %20
58cb93a386Sopenharmony_ci%23 = OpCompositeExtract %float %22 0
59cb93a386Sopenharmony_ci%25 = OpAccessChain %_ptr_PushConstant_v2float %3 %int_0 %int_1
60cb93a386Sopenharmony_ci%26 = OpLoad %v2float %25
61cb93a386Sopenharmony_ci%27 = OpCompositeExtract %float %26 1
62cb93a386Sopenharmony_ci%28 = OpAccessChain %_ptr_PushConstant_v2float %3 %int_1 %int_0
63cb93a386Sopenharmony_ci%29 = OpLoad %v2float %28
64cb93a386Sopenharmony_ci%30 = OpCompositeExtract %float %29 0
65cb93a386Sopenharmony_ci%31 = OpAccessChain %_ptr_PushConstant_v2float %3 %int_1 %int_1
66cb93a386Sopenharmony_ci%32 = OpLoad %v2float %31
67cb93a386Sopenharmony_ci%33 = OpCompositeExtract %float %32 1
68cb93a386Sopenharmony_ci%34 = OpCompositeConstruct %v4float %23 %27 %30 %33
69cb93a386Sopenharmony_ciOpStore %sk_FragColor %34
70cb93a386Sopenharmony_ciOpReturn
71cb93a386Sopenharmony_ciOpFunctionEnd
72