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