1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor 5 OpExecutionMode %_entrypoint_v OriginUpperLeft 6 OpName %sk_FragColor "sk_FragColor" 7 OpName %t "t" 8 OpName %_entrypoint_v "_entrypoint_v" 9 OpName %main "main" 10 OpName %sksl_synthetic_uniforms "sksl_synthetic_uniforms" 11 OpMemberName %sksl_synthetic_uniforms 0 "u_skRTFlip" 12 OpDecorate %sk_FragColor RelaxedPrecision 13 OpDecorate %sk_FragColor Location 0 14 OpDecorate %sk_FragColor Index 0 15 OpDecorate %t RelaxedPrecision 16 OpDecorate %t Binding 0 17 OpDecorate %t DescriptorSet 0 18 OpDecorate %25 RelaxedPrecision 19 OpMemberDecorate %sksl_synthetic_uniforms 0 Offset 16384 20 OpDecorate %sksl_synthetic_uniforms Block 21 OpDecorate %31 Binding 0 22 OpDecorate %31 DescriptorSet 0 23 %float = OpTypeFloat 32 24 %v4float = OpTypeVector %float 4 25%_ptr_Output_v4float = OpTypePointer Output %v4float 26%sk_FragColor = OpVariable %_ptr_Output_v4float Output 27 %8 = OpTypeImage %float 2D 0 0 0 1 Unknown 28 %9 = OpTypeSampledImage %8 29%_ptr_UniformConstant_9 = OpTypePointer UniformConstant %9 30 %t = OpVariable %_ptr_UniformConstant_9 UniformConstant 31 %void = OpTypeVoid 32 %13 = OpTypeFunction %void 33 %float_0 = OpConstant %float 0 34 %v2float = OpTypeVector %float 2 35 %17 = OpConstantComposite %v2float %float_0 %float_0 36%_ptr_Function_v2float = OpTypePointer Function %v2float 37 %21 = OpTypeFunction %v4float %_ptr_Function_v2float 38%sksl_synthetic_uniforms = OpTypeStruct %v2float 39%_ptr_Uniform_sksl_synthetic_uniforms = OpTypePointer Uniform %sksl_synthetic_uniforms 40 %31 = OpVariable %_ptr_Uniform_sksl_synthetic_uniforms Uniform 41 %int = OpTypeInt 32 1 42 %int_0 = OpConstant %int 0 43%_ptr_Uniform_v2float = OpTypePointer Uniform %v2float 44%_entrypoint_v = OpFunction %void None %13 45 %14 = OpLabel 46 %18 = OpVariable %_ptr_Function_v2float Function 47 OpStore %18 %17 48 %20 = OpFunctionCall %v4float %main %18 49 OpStore %sk_FragColor %20 50 OpReturn 51 OpFunctionEnd 52 %main = OpFunction %v4float None %21 53 %22 = OpFunctionParameter %_ptr_Function_v2float 54 %23 = OpLabel 55 %25 = OpLoad %9 %t 56 %26 = OpLoad %v2float %22 57 %28 = OpLoad %v2float %22 58 %27 = OpDPdx %v2float %28 59 %30 = OpLoad %v2float %22 60 %29 = OpDPdy %v2float %30 61 %36 = OpAccessChain %_ptr_Uniform_v2float %31 %int_0 62 %38 = OpLoad %v2float %36 63 %39 = OpVectorShuffle %v2float %38 %38 1 1 64 %40 = OpFMul %v2float %29 %39 65 %24 = OpImageSampleExplicitLod %v4float %25 %26 Grad %27 %40 66 OpReturnValue %24 67 OpFunctionEnd 68