1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %main "main" %sk_FragColor 5 OpExecutionMode %main OriginUpperLeft 6 OpName %testBlockA "testBlockA" 7 OpMemberName %testBlockA 0 "x" 8 OpName %testBlockB "testBlockB" 9 OpMemberName %testBlockB 0 "y" 10 OpName %sk_FragColor "sk_FragColor" 11 OpName %main "main" 12 OpMemberDecorate %testBlockA 0 Offset 0 13 OpDecorate %testBlockA Block 14 OpDecorate %3 Binding 1 15 OpDecorate %3 DescriptorSet 0 16 OpMemberDecorate %testBlockB 0 Offset 0 17 OpDecorate %testBlockB Block 18 OpDecorate %8 Binding 2 19 OpDecorate %8 DescriptorSet 0 20 OpDecorate %sk_FragColor RelaxedPrecision 21 OpDecorate %sk_FragColor Location 0 22 OpDecorate %sk_FragColor Index 0 23 OpDecorate %22 RelaxedPrecision 24 OpDecorate %23 RelaxedPrecision 25 OpDecorate %26 RelaxedPrecision 26 OpDecorate %27 RelaxedPrecision 27 OpDecorate %28 RelaxedPrecision 28 %float = OpTypeFloat 32 29 %v2float = OpTypeVector %float 2 30 %testBlockA = OpTypeStruct %v2float 31%_ptr_Uniform_testBlockA = OpTypePointer Uniform %testBlockA 32 %3 = OpVariable %_ptr_Uniform_testBlockA Uniform 33 %testBlockB = OpTypeStruct %v2float 34%_ptr_Uniform_testBlockB = OpTypePointer Uniform %testBlockB 35 %8 = OpVariable %_ptr_Uniform_testBlockB Uniform 36 %v4float = OpTypeVector %float 4 37%_ptr_Output_v4float = OpTypePointer Output %v4float 38%sk_FragColor = OpVariable %_ptr_Output_v4float Output 39 %void = OpTypeVoid 40 %15 = OpTypeFunction %void 41 %int = OpTypeInt 32 1 42 %int_0 = OpConstant %int 0 43%_ptr_Uniform_v2float = OpTypePointer Uniform %v2float 44 %main = OpFunction %void None %15 45 %16 = OpLabel 46 %19 = OpAccessChain %_ptr_Uniform_v2float %3 %int_0 47 %21 = OpLoad %v2float %19 48 %22 = OpCompositeExtract %float %21 0 49 %23 = OpCompositeExtract %float %21 1 50 %24 = OpAccessChain %_ptr_Uniform_v2float %8 %int_0 51 %25 = OpLoad %v2float %24 52 %26 = OpCompositeExtract %float %25 0 53 %27 = OpCompositeExtract %float %25 1 54 %28 = OpCompositeConstruct %v4float %22 %23 %26 %27 55 OpStore %sk_FragColor %28 56 OpReturn 57 OpFunctionEnd 58